Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Panel Control Question

Status
Not open for further replies.

IndyGill

Technical User
Jan 15, 2001
191
GB
Hi

I have a page which has several panel controls which are hidden and revealed from variouse buttons, depending on user clicks.

In side each panel control I have placed a user control which pulls data a database and display different bits of information, However I was wondering when a panel is hidden does teh user control still get rendered (increase downlaod time) to the page? As I think I read somewhere that anything inside a panel control does not get rendered until its visable. However Im not to is this applies to a user control which is inside a panel?

Any ideas

Thanks in advance
 
I'm not sure, but can you put a breakpoint on your Page_load within the user control and use the debugger to see if you hit it if the panel is hidden?
 
That is correct: if you hide the panel it does not get rendered. Nor do the controls within the panel.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top