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

Open a window on row double click

1 Answer 70 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Joslyn
Top achievements
Rank 1
Joslyn asked on 18 Dec 2013, 12:45 PM
hi ..
how to open a window on row double click?i want to get the selected row id along with it.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 18 Dec 2013, 01:09 PM
Hi Joslyn,

Please try the following code snippet.

ASPX:
<ClientSettings>
    <Selecting AllowRowSelect="true"></Selecting>
    <ClientEvents OnRowDblClick="RowDblClick"></ClientEvents>
</ClientSettings>
. . . . . .
<telerik:RadWindowManager ID="RadWindowManager1" runat="server">
    <Windows>
        <telerik:RadWindow ID="RadWindow1" runat="server">
        </telerik:RadWindow>
    </Windows>
</telerik:RadWindowManager>

JS:
<script type="text/javascript">
    function RowDblClick(sender, eventArgs) {
        window.radopen("page.aspx?OrderID=" + eventArgs.getDataKeyValue("ID"), "RadWindow1");
    }
</script>


Thanks,
Princy
Tags
Grid
Asked by
Joslyn
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or