As I am new to Telerik controls I am hoping that you might be able to help me avoid some common missteps. I have a web page which upon user selection dynamically loads 1 to "n" tabs. Each tab may have a child set of tabs. At the final level of tabs the pageview control has a grid control along with several other controls.
So far things appear to be working. I have a page full of tabs and on each tab I have the required number of tabs and grids each populated with data. As each of these controls are dynamic in nature I understand that I must recreate the child controls (not the tabs) on each post back. I am currently doing this and things appears to survive postbacks now.
In my testing I notice that I seem to be repopulating each grid on each tab on every postback. It would seem more efficient to only populate the currently selected tab. How to do this eludes me.
Given the dynamic nature of my controls, I do not necessarily know the "ClientID" of the controls at design time. This makes it rather hard to use $find to find a given grid control. I am going to have to run some Client side events which given the selected tab, traverses the control collection on the associated PageView control, and finds the Grid Control located on the pageview. If I knew the Control ID I know how to do this. Given that I do not know the ID of the control, how to do this eludes me. Pointers would be appreciated.
Finally I suspect I need to hookup my dynamic grids into the Ajax system. How do I do this given their dynamic nature?
Thank you for any suggestions you might have.
So far things appear to be working. I have a page full of tabs and on each tab I have the required number of tabs and grids each populated with data. As each of these controls are dynamic in nature I understand that I must recreate the child controls (not the tabs) on each post back. I am currently doing this and things appears to survive postbacks now.
In my testing I notice that I seem to be repopulating each grid on each tab on every postback. It would seem more efficient to only populate the currently selected tab. How to do this eludes me.
Given the dynamic nature of my controls, I do not necessarily know the "ClientID" of the controls at design time. This makes it rather hard to use $find to find a given grid control. I am going to have to run some Client side events which given the selected tab, traverses the control collection on the associated PageView control, and finds the Grid Control located on the pageview. If I knew the Control ID I know how to do this. Given that I do not know the ID of the control, how to do this eludes me. Pointers would be appreciated.
Finally I suspect I need to hookup my dynamic grids into the Ajax system. How do I do this given their dynamic nature?
Thank you for any suggestions you might have.