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?
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?