I have read posts about the design of asp.net web pages. From what I hear, one of the "current" or "best" designs is to use a single page and use pannels.
I am attempting to use this technique for my page. A user can enter into my page and see one of three different pannels. One of my pannels contains a user control. This user control's page_load event gets fired even if the pannel visible property is set to false. There is background data processing logic that gets fired within the page_load event of the user control. I do not wish for this processing to occur except when that particular pannel is displayed.
Any idea on how to prevent this?
I am attempting to use this technique for my page. A user can enter into my page and see one of three different pannels. One of my pannels contains a user control. This user control's page_load event gets fired even if the pannel visible property is set to false. There is background data processing logic that gets fired within the page_load event of the user control. I do not wish for this processing to occur except when that particular pannel is displayed.
Any idea on how to prevent this?