Author: Jungalist | Posted on: 1/25/2009 8:27:29 AM | Views : 2535

How do I get the contents (ie what appears between the opening and closing tags) of a Panel control?

Example:

 <asp:Panel runat="server" id="myPanel">
   A bunch of stuff - maybe a form, maybe some text and images
</asp:Panel>

 During the Page_Load, I would like to access "A bunch of stuff - maybe a form, maybe some text and images", do some work to it, then replace it. I can't seem to figure out what property will do this. Shouldn't there be an "innerhtml" property or something like that? I can't find it.
 
Any help is appreciated. ...

Go to the complete details ...