editing with a pop-up window

2 posts, 0 answers
  1. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 14 Dec 2010 Link to this post

    I have a grid with 1 master table and 1 detail table.  The master table is edited in-line, but for the detail table I want to use a pop-up window to insert and edit items.  All the examples I can find show a pop-up window with the master table only, are there any examples anywhere that show how to use a pop-up window in the detail table of a hierarchical grid ?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 14 Dec 2010 Link to this post


    Set the EditMode property of the GridTableView to "PopUp" to show popup window for inserting/editing the grid.

    Sample code:
            . . .
    <MasterTableView HierarchyDefaultExpanded="false" TableLayout="Fixed" AllowMultiColumnSorting="True"
        CommandItemDisplay="Top" DataKeyNames="CustomerID" DataSourceID="SqlDataSource1" EditMode="InPlace"
        Width="100%" Name="Master" HierarchyLoadMode="Client" ClientDataKeyNames="CustomerID">
            <telerik:GridTableView EditMode="PopUp" HierarchyDefaultExpanded="false" Caption="Details"
                  . . .

    Hope this helps.

Back to Top