best strategy?

2 posts, 0 answers
  1. Jeff Dabulis
    Jeff Dabulis avatar
    1 posts
    Member since:
    Nov 2009

    Posted 07 Dec 2009 Link to this post

    I have a RadGrid which shows many columns.  Selecting a row causes a client event that writes the record id of the selected row to a cookie.  This works.  Now, I would like to set up a master/details scenario such that below the grid are multiple tabs-- that is, the content displayed below the grid and tabstrip is dependent on both which row in the grid was selected, and also upon which tab is currently selected.  Thus, if the tab selection changes, I would like to dynamically load a usercontrol which should render the content for that tab.  These usercontrols can read the cookie, perform databinding and render themselves.  If the row selection changes, I would similarly like the last loaded control to reload itself.

    I have tried a number of things and can't seem to get things right with the page lifecycle and the order in which events fire.  Any suggestions on a general approach?
  2. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 10 Dec 2009 Link to this post

    Hello Jeff,

    To see more information along the lines of the requested functionality, please refer to the following resources:

    http://demos.telerik.com/aspnet-ajax/grid/examples/programming/selectedvalue/defaultcs.aspx
    http://www.telerik.com/help/aspnet-ajax/grdusercontrolruntimeload.html

    This can be coupled with parameters (such as the cookie which you mentioned), to reflect the selection of the main grid, and/or any tabs, but the general approach and logic remains the same.

    Greetings,

    Yavor
    the Telerik team

     


    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top