Hi all,
During the OnItemDataBound, I'm using the GridDataItem to retrieve values from the grid. I'm able to do this without the regular columns. The instructions for the Template column said: For template columns you must find the control in the grid cell and extract its value.please give an example.
Following is the aspx code for the column :
<telerik: GridTemplateColumn HeaderText="Unloading Type" UniqueName="UnloadTypeColumn">
<ItemTemplate>
<%#DataBinder.Eval(Container.Dataitem, "_UnloadTypeName")%>
</ItemTemplate>
</telerik:GridTemplateColumn>
Thanks in advance.
During the OnItemDataBound, I'm using the GridDataItem to retrieve values from the grid. I'm able to do this without the regular columns. The instructions for the Template column said: For template columns you must find the control in the grid cell and extract its value.please give an example.
Following is the aspx code for the column :
<telerik: GridTemplateColumn HeaderText="Unloading Type" UniqueName="UnloadTypeColumn">
<ItemTemplate>
<%#DataBinder.Eval(Container.Dataitem, "_UnloadTypeName")%>
</ItemTemplate>
</telerik:GridTemplateColumn>
Thanks in advance.