I have a simple RadTreeList containing a BoundColumn and a TemplateColumn of type dropdownlist. I've populated the DDL dynamically for each row. The treelist displays perfectly, but when I select a value from the dropdown list on one or more rows, then collapse/expand the tree node, the values selected in the DDLs are lost. I think it is probably due to data binding.
The intent is for the user to a select a value from the DDL for each row in the TreeList then save the values to the database once they are finished. I want them to be able to expand/collapse tree nodes during this process without losing the values. I've searched through the forum and read much of the documentation online, but I would appreciate some insight into the best approach for solving this issue. Thanks in advance.
The intent is for the user to a select a value from the DDL for each row in the TreeList then save the values to the database once they are finished. I want them to be able to expand/collapse tree nodes during this process without losing the values. I've searched through the forum and read much of the documentation online, but I would appreciate some insight into the best approach for solving this issue. Thanks in advance.
<telerik:RadTreeList ID="RadTreeList1" runat="server" AutoGenerateColumns="False" DataKeyNames="Node" ParentDataKeyNames="ParentNode" OnItemDataBound="RadTreeList1_ItemDataBound" OnItemCommand="RadTreeList1_ItemCommand" EditMode="InPlace" OnItemCreated="RadTreeList1_ItemCreated" ViewStateMode="Enabled"> <Columns> <telerik:TreeListBoundColumn DataField="Description" UniqueName="Description" HeaderStyle-Width="500px"> </telerik:TreeListBoundColumn> <telerik:TreeListTemplateColumn UniqueName="Response" > <ItemTemplate> <asp:DropDownList ID="ddl" runat="server"> </asp:DropDownList> </ItemTemplate> </telerik:TreeListTemplateColumn> </Columns> </telerik:RadTreeList>