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

reference nested grid within main grid form template

1 Answer 66 Views
Grid
This is a migrated thread and some comments may be shown as answers.
bosseman
Top achievements
Rank 1
bosseman asked on 13 Aug 2011, 02:35 AM
I have a radgrid with a form template for edits and inserts. In the form template I have a tab control with 3 tabs - 1 of which contains another radgrid. I need to use advanced databinding in the code-behind on the 2nd radgrid but cannot figure out exactly how to wire up the NeedDataSource event.

The 2nd grid is not exposed at design time so I can't put a Handles gdFFP.NeedDataSouce in the code behind.

I also tried to wire the event in the .ascx file using the declarative syntax within the grid definition: OnNeedDataSouce="gdCharges_NeedDataSouce". This compiles but I get an exception at run-time saying the sub does not exist.

Can you point me in the right direction?

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 18 Aug 2011, 09:49 AM
Hello Bosseman,

I have attached a sample project. Please modify it to reproduce the problem and send it back to us.

All the best,
Andrey
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
Grid
Asked by
bosseman
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or