Hi There,
The issue I am having is related to these next two threads but was never really answered.
http://www.telerik.com/community/forums/aspnet-ajax/tabstrip/trying-to-understand-quot-pageviewcreated-quot-functionality.aspx
http://www.telerik.com/community/forums/aspnet-ajax/tabstrip/pageviewcreated-fires-before-tabclick.aspx
I completely understand that it is by design that the RadMultiPage PageViewCreated event fires (it seems) on every postback before Page_Load even occurs.
My problem is this:
I am building a sort of survey application that will have a dynamic number of pages (tabs) that follows the wizard format in the Telerik online demos for the RadTabStrip. As a part of the page view creation for each page, I am loading a user control and doing an initialization routine where I dynamically load other user controls depending on the type of page that I am loading.
As a result, whenever I do a postback (e.g. a button click on a user control within a page that does a search) it takes a really long time to finish the request. I thought about doing some sort of conditional initialization of the controls to cut out some of the over head but I find the fact that PageViewCreated fires before everything else a bit difficult.
Also, if I don't fully intialise and load the controls (using LoadControl) on first page load, it seems the RadTabStrip and RadMultiPage lose state and the controls are no longer there.
Can anyone suggest an approach?
Thanks for any suggestions or input.
Kevin Parkinson
The issue I am having is related to these next two threads but was never really answered.
http://www.telerik.com/community/forums/aspnet-ajax/tabstrip/trying-to-understand-quot-pageviewcreated-quot-functionality.aspx
http://www.telerik.com/community/forums/aspnet-ajax/tabstrip/pageviewcreated-fires-before-tabclick.aspx
I completely understand that it is by design that the RadMultiPage PageViewCreated event fires (it seems) on every postback before Page_Load even occurs.
My problem is this:
I am building a sort of survey application that will have a dynamic number of pages (tabs) that follows the wizard format in the Telerik online demos for the RadTabStrip. As a part of the page view creation for each page, I am loading a user control and doing an initialization routine where I dynamically load other user controls depending on the type of page that I am loading.
As a result, whenever I do a postback (e.g. a button click on a user control within a page that does a search) it takes a really long time to finish the request. I thought about doing some sort of conditional initialization of the controls to cut out some of the over head but I find the fact that PageViewCreated fires before everything else a bit difficult.
Also, if I don't fully intialise and load the controls (using LoadControl) on first page load, it seems the RadTabStrip and RadMultiPage lose state and the controls are no longer there.
Can anyone suggest an approach?
Thanks for any suggestions or input.
Kevin Parkinson