Hi All,
I've got a RadGrid inside a formview. In the DataBound event of the formview I need to add the ItemDataBound event handler for the RadGrid. I can find the grid just fine using the formview.FindControl method but once done I cannot see the event in the list of properties and methods for a RadGrid. I was thinking that the below should work:
From c# examples it appears to work but in VB.Net you can't access the event view uxRadGrid.ItemDataBound. How do I work around this? You can't even access the event when trying this outside of a formview.
Regards,
Jon
I've got a RadGrid inside a formview. In the DataBound event of the formview I need to add the ItemDataBound event handler for the RadGrid. I can find the grid just fine using the formview.FindControl method but once done I cannot see the event in the list of properties and methods for a RadGrid. I was thinking that the below should work:
Dim uxRadGrid As Telerik.Web.UI.RadGrid = DirectCast(uxFormView.FindControl("uxRadGrid"), RadGrid)uxRadGrid.ItemDataBound += New GridItemEventHandler(uxRadGrid_ItemDataBound)From c# examples it appears to work but in VB.Net you can't access the event view uxRadGrid.ItemDataBound. How do I work around this? You can't even access the event when trying this outside of a formview.
Regards,
Jon