| 
                                                                        
                                                                         
                                                                            
                                                                                whiplash
                                                                            - 
                                                                                6/15/2012 8:57:47 AM
                                                                            
                                                                         
                                                                         
                                                                            
                                                                        
                                                                        
                                                                         
                                                                        
                                                                        
                                                                        
                                                                        
                                                                        
                                                                         
                                                                        
                                                                            Apply CMS Document Content to ASP.Net Panel
                                                                        
                                                                            Hi Guys
  Does anyone know of a way to get the Document Content from the CMS Tree?
  I want to apply the page content to an asp:Panel, I have tried using the Tree Provider and using the TreeNode to access the particular Document.  I have applied the tn.DocumentContent.GetContentXml() to a string and display this through a label on the Panel.  The panel has been extended using ajaxToolkit:ModalPopupExtender
  It works, but it doesn't seem 100% right.  It displays ']]> ' at the end of the content rendered in the panel.
 
  Any suggestions would be great
 
  Thanks
                                                                         
                                                                        
                                                                            
                                                                         
                                                                        
                                                                         
                                                                        
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                         
                                                                        
                                                                            
                                                                            
                                                                            
                                                                            
                                                                         
                                                                        
                                                                         
                                                                     |