Hi
I am in the grid Command event and I can not cast to GridBoundControl:
Says: Value of type 'System.Web.UI.Control' cannot be converted to 'Telerik.Web.UI.GridBoundColumn'. I am able to find templated controls this way but how do I find the Bound controls?
I am in the grid Command event and I can not cast to GridBoundControl:
Protected Sub RadGrid1_UpdateCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) |
Dim _flg As GridBoundColumn = CType(e.Item.FindControl("flgColumn"), GridBoundColumn) |
End Sub |