I am currently using a column with a boolean value to determine whether to enable/disable certain buttons on the itemselected event client side. The problem I have is that I do not want to display this column to the user but I can't set visible=false as then the javascript will fail. For a radgrid I can set Display=false, but that option does not seem to exist with a treeList?
<telerik:RadTreeList ID="radTreeList" runat="server" AutoGenerateColumns="false" AllowPaging="false" PageSize="5" DataKeyNames="ID" ParentDataKeyNames="ParentTemplateId" OnNeedDataSource="radTreeList_NeedDataSource" Skin="Web20"> <ClientSettings AllowPostBackOnItemClick="false"> <Selecting AllowItemSelection="True" /> <ClientEvents OnItemSelected="itemSelected" /> </ClientSettings> <Columns> <telerik:TreeListBoundColumn DataField="Name" HeaderText="Name" UniqueName="Name" /> <telerik:TreeListBoundColumn DataField="ModifiedTime" HeaderText="ModifiedTime" UniqueName="ModifiedTime" /> <telerik:TreeListCheckBoxColumn UniqueName="chkHasChildren" DataField="HasChildren" HeaderText="HasChildren" /> </Columns> </telerik:RadTreeList>