Hi Sir/Ma'am
I have a problem when adding and editing in the treelist, the column automatically shrink and giving me a empty white space in the right side, see the attached image
Thanks and Regards,
I have a problem when adding and editing in the treelist, the column automatically shrink and giving me a empty white space in the right side, see the attached image
Thanks and Regards,
<telerik:RadAjaxPanel ID="pnl" runat="server"> <telerik:RadTreeList ID="rdlMenu" Skin="Office2007" runat="server" DataKeyNames="Id" ParentDataKeyNames="ParentId" AutoGenerateColumns="false" OnItemCommand="rdlMenu_ItemCommand" OnNeedDataSource="rdlMenu_NeedDataSource" OnInsertCommand="rdlMenu_InsertCommand" OnItemCreated="rdlMenu_ItemCreated"> <Columns> <telerik:TreeListEditCommandColumn UniqueName="InsertCommandColumn" ButtonType="ImageButton" ShowEditButton="false" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="80px"></telerik:TreeListEditCommandColumn> <telerik:TreeListBoundColumn DataField="Id" UniqueName="Id" HeaderText="Id" Display="false"> </telerik:TreeListBoundColumn> <telerik:TreeListBoundColumn DataField="ParentId" UniqueName="ParentId" HeaderText="ParentId" Display="false"> </telerik:TreeListBoundColumn> <telerik:TreeListBoundColumn DataField="Position" UniqueName="Position" HeaderText="Position"> </telerik:TreeListBoundColumn> <telerik:TreeListBoundColumn DataField="Description" UniqueName="Description" HeaderText="Descriptionn"> </telerik:TreeListBoundColumn> <telerik:TreeListBoundColumn DataField="URL" UniqueName="URL" HeaderText="URL"> </telerik:TreeListBoundColumn> <telerik:TreeListBoundColumn DataField="Division" UniqueName="Division" HeaderText="Division"> </telerik:TreeListBoundColumn> <telerik:TreeListBoundColumn DataField="Escalation" UniqueName="Escalation" HeaderText="Escalation"> </telerik:TreeListBoundColumn> <telerik:TreeListBoundColumn DataField="IsPortalAdmin" UniqueName="IsPortalAdmin" HeaderText="IsPortalAdmin"> </telerik:TreeListBoundColumn> <telerik:TreeListButtonColumn CommandName="Edit" Text="Edit" UniqueName="EditCommandColumn" ButtonType="ImageButton" ItemStyle-HorizontalAlign="Center" HeaderStyle-Width="80px"></telerik:TreeListButtonColumn> <telerik:TreeListButtonColumn UniqueName="DeleteCommandColumn" Text="Delete" CommandName="Delete" ButtonType="ImageButton" ItemStyle-HorizontalAlign="Center" HeaderStyle-Width="80px"></telerik:TreeListButtonColumn> </Columns> <EditFormSettings EditFormType="Template"> <FormTemplate> <div class="editTemplate"> <asp:HiddenField ID="hdnId" runat="server" Value='<%# Bind("Id") %>' /> <asp:HiddenField ID="hdnParentId" runat="server" Value='<%# Bind("ParentId") %>' /> <table> <tr> <td>Position</td> <td> <asp:TextBox ID="txtPosition" Text='<%# Bind("Position") %>' runat="server" Width="30px"> </asp:TextBox></td> </tr> <tr> <td>Description: </td> <td colspan="2"> <asp:TextBox ID="txtDescription" Text='<%# Bind("Description") %>' runat="server" Width="100%"> </asp:TextBox> </td> <td></td> </tr> <tr> <td>URL: </td> <td colspan="3"> <asp:TextBox ID="txtURL" Text='<%# Bind("URL") %>' runat="server" Width="100%"> </asp:TextBox> </td> <td></td> <td></td> </tr> <tr> <td>Division: </td> <td> <asp:TextBox ID="txtDivision" Text='<%# Bind("Division") %>' runat="server" Width="100%"> </asp:TextBox> </td> <td>Escalation: </td> <td> <asp:TextBox ID="TextBox4" Text='<%# Bind("Escalation") %>' runat="server"> </asp:TextBox> </td> </tr> <tr> <td></td> <td>IsPortalAdmin: <asp:CheckBox ID="chkAdmin" runat="server" /> </td> <td></td> <td> <telerik:RadButton ID="btnUpdate" Text='<%# (Container is TreeListEditFormInsertItem) ? "Insert" : "Update" %>' runat="server" CommandName='<%# (Container is TreeListEditFormInsertItem) ? "PerformInsert" : "Update" %>' Icon-PrimaryIconCssClass="rbOk"> </telerik:RadButton> <telerik:RadButton ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel" Icon-PrimaryIconCssClass="rbCancel"> </telerik:RadButton> </td> </tr> </table> </div> </FormTemplate> </EditFormSettings> </telerik:RadTreeList>