Hello,
Quite accidentally, I've found an interesting behavior with the RadGrid's GridTemplateColumn:
In normal mode, the GridTemplateColumn will be visible, but when in edit mode, it's the GridBoundColumn that's visible. You can tell by the HeaderText that's displayed in the edit form.
Out of curiosity, is this an intended behavior?
Quite accidentally, I've found an interesting behavior with the RadGrid's GridTemplateColumn:
<
telerik:RadGrid
runat
=
"server"
ID
=
"radgrid"
AutoGenerateColumns
=
"false"
OnNeedDataSource
=
"radgrid_NeedDataSource"
>
<
MasterTableView
>
<
Columns
>
<
telerik:GridTemplateColumn
DataField
=
"Text"
HeaderText
=
"foo"
>
<
ItemTemplate
>
<%# Eval("Text") %>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridBoundColumn
DataField
=
"Text"
HeaderText
=
"bar"
Visible
=
"false"
/>
<
telerik:GridEditCommandColumn
HeaderText
=
"Edit"
/>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
In normal mode, the GridTemplateColumn will be visible, but when in edit mode, it's the GridBoundColumn that's visible. You can tell by the HeaderText that's displayed in the edit form.
Out of curiosity, is this an intended behavior?