I've had a look through the forum posts but haven't managed to find the solution. I want to populate my grid(s) inside the panelbar from the vb page (rather than using the DataSourceID) - I have used the following code in the Page_Load fuction to access the grid but I'm not sure how to bind the data to it:
StagesGrid As RadGrid = DirectCast(RadPanelBar1.FindItemByValue("PanelItem1").FindControl("RadGrid1"), RadGrid)
InvoicesGrid As RadGrid = DirectCast(RadPanelBar1.FindItemByValue("PanelItem2").FindControl("RadGrid2"), RadGrid)
Can you help? I usually populate data using the NeedDataSource function but it's not available in a nested control.
Many thanks in advance.