Popup form not opening Radtreelist edit mode

2 posts, 0 answers
  1. mahesh
    mahesh avatar
    14 posts
    Member since:
    Jun 2011

    Posted 06 Dec 2011 Link to this post

    I have the following code for radtreelist control , due to some issue my usercontrol popup form is not opening up in edit mode, please can i know is their any thing missing in the code thats avoiding pop up to open up.

     
    <telerik:RadTreeList ID="RadTreeList1" AllowLoadOnDemand="true" AllowSorting="true" AllowPaging="true"<br>            PageSize="15" AutoGenerateColumns="false" OnChildItemsDataBind="RadTreeList1_ChildItemsDataBind"<br>            OnNeedDataSource="RadTreeList1_NeedDataSource" DataKeyNames="PId" ParentDataKeyNames="P1Id" runat="server" EditMode ="PopUp"><br>             <Columns><br>                <telerik:TreeListEditCommandColumn UniqueName="InsertCommandColumn" ButtonType="ImageButton"<br>                HeaderStyle-Width="60px" ItemStyle-HorizontalAlign="Center" /><br>               <telerik:TreeListButtonColumn UniqueName="DeleteCommandColumn" Text="Delete" CommandName="Delete"<br>                ButtonType="ImageButton" HeaderStyle-Width="30px" /><br>                <telerik:TreeListBoundColumn UniqueName="EmpCode"  HeaderText="Emp Code"<br>                            DataField="EmpCode" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"<br>                            ItemStyle-Width="100px" Visible="true"   /><br>               <telerik:TreeListBoundColumn ReadOnly="true" UniqueName="Status" DataField="Status" HeaderText="Status"<br>                            ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="100px" Visible="true"><br>                 </telerik:TreeListBoundColumn><br>                <telerik:TreeListBoundColumn ReadOnly="true" UniqueName="Id" DataField="Id" <br>                            ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left" Visible="false"><br>                   </telerik:TreeListBoundColumn><br>              </Columns><br>            <EditFormSettings EditFormType="WebUserControl" UserControlPath="~/Controls/Example.ascx" PopUpSettings-Modal="true" <br>            PopUpSettings-Width="700px"><br>        </EditFormSettings><br>        </telerik:RadTreeList>
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 06 Dec 2011 Link to this post

    Hello,

    I have tried to reproduce the same but no avail. Here is the sample code.
    ASPX:
    <EditFormSettings EditFormType="WebUserControl" PopUpSettings-Modal="true" UserControlPath="edit_WebUserControl.ascx" ></EditFormSettings>

    Also take a look into the following demo.
    TreeList / Form Template/User Control Edit Form

    Thanks,
    Princy.
Back to Top