This is a migrated thread and some comments may be shown as answers.

editing with a pop-up window

1 Answer 52 Views
Grid
This is a migrated thread and some comments may be shown as answers.
mww
Top achievements
Rank 1
mww asked on 14 Dec 2010, 05:55 PM
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 ?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 15 Dec 2010, 05:26 AM
Hello,


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">
    <DetailTables>
        <telerik:GridTableView EditMode="PopUp" HierarchyDefaultExpanded="false" Caption="Details"
              . . .


Hope this helps.


-Shinu.
Tags
Grid
Asked by
mww
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or