Access Controls in a RadTabStrip

3 posts, 0 answers
  1. Todd
    Todd avatar
    25 posts
    Member since:
    Mar 2011

    Posted 10 Aug 2011 Link to this post

    I am trying to setup a hierarchical grid where the master data is summary contact data and the detail is a tabstrip containing one tab for detailed contact information and the other tab containing a grid for the order information.  To me this seems like a very straightforward use for the tabstrip control inside a nestedviewtemplate.  I want to be able to handle all of the databinding in the code-behind, but I can't seem to figure out how to bind the inner-grid to the appropriate datasource.  All of my datasources are retrieved with calls to classes that return datasets.  

    Is there an example that I can look at that works this way?  The ones I've found online seem to do the binding to the asp:sqldatasource control, which doesn't work in my scenario.

    This is pretty much the structure of what I want to accomplish:

    (Master)
       Contact Summary
         (Detail)
       Tab 1
             Contact Detail (just bound asp fields)
         Tab 2
              Order Details (in a grid)
  2. Todd
    Todd avatar
    25 posts
    Member since:
    Mar 2011

    Posted 12 Aug 2011 Link to this post

    Can anyone else with this?
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 16 Aug 2011 Link to this post

    Hello Todd,

    In order to have the inner Grid properly bind to its dataset you should call rebind for that Grid in the ItemDataBound of the parent Grid control.
    I also recommend that you examine the online example below which demonstrates a similar functionality and let me know if it helps:
    http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplate/defaultcs.aspx

    Give this a try and let me know if this works in your case.

    Greetings,
    Maria Ilieva
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top