Hi,
I have a RadGrid which has NestedHierarchy set up. I also have edit functionality associated to grid rows.
<Columns>
<telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn" EditText="Rename Favourite" HeaderStyle-Width="15px">
<ItemStyle CssClass="edit-grid-controls" />
</telerik:GridEditCommandColumn>
<telerik:GridTemplateColumn HeaderText="Name" UniqueName="Name">
<ItemTemplate>
<%# Eval("Name") %>
</ItemTemplate>
<EditItemTemplate><asp:TextBox ID="txtFavouriteName" runat="server" Text='<%# Eval("Name") %>' Width="100%" MaxLength="256" />
</EditItemTemplate>
</telerik:GridTemplateColumn>
... more columns ...
</Columns>
1. Since the time this grid was converted to a nested self referencing hierarchy table, the Name is displayed twice!
2. If I remove UniqueName attribute, the data wont show up.
3. If I remove ItemTemplate, things are fine until I attempt for an edit thru "GridEditCommandColumn
".
4. Please have a look at the attached images. Image ending with right is for "normal" radgrid. Image ending with "wrong" is for nested hierarchy grid. When in edit mode, I don't want to display values twice.