Hi,
I'm having problem finding the correct syntax to reference a GridBoundColumn in the aspx. the following is my syntax.
this is the aspx code
this is the c# code
I'm having problem finding the correct syntax to reference a GridBoundColumn in the aspx. the following is my syntax.
this is the aspx code
<telerik:GridBoundColumn FilterControlAltText="Filter Equipmentcolumn column"
HeaderText="Equipment" UniqueName="Equipmentcolumn" DataField="_Equipment">
</telerik:GridBoundColumn>
this is the c# code
GridDataInsertItem insertedItem = (GridDataInsertItem)e.Item;
GridBoundColumn
Equipment = insertedItem.FindControl("Equipmentcolumn") as GridBoundColumn;
the error is
Error 322 Cannot convert type 'System.Web.UI.Control' to 'Telerik.Web.UI.GridBoundColumn' via a reference conversion, boxing conversion, unboxing conversion, wrapping conversion, or null type conversion C:\Development\GHG-MCA\GHG-MCA\ChevronPortEquip.aspx.cs 300 45 GHG-MCA
thanks,
Minh Bui