This is a migrated thread and some comments may be shown as answers.

Access Controls in a RadTabStrip

2 Answers 73 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Todd
Top achievements
Rank 1
Todd asked on 10 Aug 2011, 08:34 PM
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 Answers, 1 is accepted

Sort by
0
Todd
Top achievements
Rank 1
answered on 12 Aug 2011, 08:46 PM
Can anyone else with this?
0
Maria Ilieva
Telerik team
answered on 16 Aug 2011, 10:59 AM
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.

Tags
TabStrip
Asked by
Todd
Top achievements
Rank 1
Answers by
Todd
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or