Hi Guys,
I'm having some performance issues with a very complex page. It has about 20 tabs and each page view is very complex. Now I have been using the AutoPostBack/RenderSelectedPageViewOnly settings for a while but I still have some servious performance issues just because of a lot of uneccessary database calls and dynamic control creations in Init and Load.
So I was thinking: Why not use the query string to determine the current selected tab? And then override the PageView component and not InitRecursive when its index is not the one currently being shown.
This has several advantages.
- Client side redirect to the next tab (instead of having a redundant post back when simply changing tabs)
- No controls get added to the control tree when they are not in the visible tab (Perforrmance!!)
- No large rewrite required to separate each page view into its own page
Several Drawbacks
- Its a kind of dirty hack
- Will make it harder to change to client side tab navigation in the future
- No ajax navigation between tabs as each tab navigation is a whole new page request
So. Do you telerik guys think this is a good idea? Possible? How do you think I should approach this? Override InitRecursive in a custom PageView control?
Thanks
Guido Tapia
I'm having some performance issues with a very complex page. It has about 20 tabs and each page view is very complex. Now I have been using the AutoPostBack/RenderSelectedPageViewOnly settings for a while but I still have some servious performance issues just because of a lot of uneccessary database calls and dynamic control creations in Init and Load.
So I was thinking: Why not use the query string to determine the current selected tab? And then override the PageView component and not InitRecursive when its index is not the one currently being shown.
This has several advantages.
- Client side redirect to the next tab (instead of having a redundant post back when simply changing tabs)
- No controls get added to the control tree when they are not in the visible tab (Perforrmance!!)
- No large rewrite required to separate each page view into its own page
Several Drawbacks
- Its a kind of dirty hack
- Will make it harder to change to client side tab navigation in the future
- No ajax navigation between tabs as each tab navigation is a whole new page request
So. Do you telerik guys think this is a good idea? Possible? How do you think I should approach this? Override InitRecursive in a custom PageView control?
Thanks
Guido Tapia