Hello,
In a typical grid I would declare a column like this to call a codebehind function. (eg pass a string, and return a color trough a codebehind function)
I want to do something similar in a nested grid. (using GridTableView),
However, If I do this, I get an "object reference not set error" on the label where I try to call the codebehind functon.
Any ideas how to solve this ?
Thanks,
Nicolas
In a typical grid I would declare a column like this to call a codebehind function. (eg pass a string, and return a color trough a codebehind function)
<telerik:GridTemplateColumn ItemStyle-Width="15px" HeaderText="Workflow Status"> |
<ItemTemplate> |
<asp:Label ID="Label1" runat="server" Width="15px" BackColor='<%# translateColor(Eval("K2Status").ToString()) %>' /> |
</ItemTemplate> |
</telerik:GridTemplateColumn> |
I want to do something similar in a nested grid. (using GridTableView),
However, If I do this, I get an "object reference not set error" on the label where I try to call the codebehind functon.
Any ideas how to solve this ?
Thanks,
Nicolas