Private Sub rg_EditCommand(sender As Object, e As Telerik.Web.UI.GridCommandEventArgs) Handles rg.EditCommand
Dim uc As UserControl = CType(e.Item.FindControl(GridEditFormItem.EditFormUserControlID), UserControl)
lbl_test.Text =
CType(uc, uc_Steps_Party).ID 'this is where the error occurs because uc == Nothing
End Sub
I have also tried:
ItemDataBound
ItemCreated
ItemCommand
Always a null exception refering tot he usercontrol.
The Telerick examples seem to only show finding the usercontrol (after) it has renedered like in the UpdateCommand or InsertCommand. I need to find the user control and set its properties before it gets to those events, when the usercontrol is first shown.
We're experiencing this on our own site, but I also reproduced it in the Default Example for RadEditor. Steps to take:


