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

Radwindow is not appearing

1 Answer 19 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dawson
Top achievements
Rank 1
Dawson asked on 10 Sep 2013, 02:11 PM
Hi.
Im trying to open a radwindow on the OnRowDbClick event,but the window is not appearing.
Any idea, why it doesn't show.

Thanks,
Dawson

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 10 Sep 2013, 02:16 PM
Hi Dawson,

It's not clear as to what may be causing the issue,please try the following code snippet,which works fine at my end.If this doesn't help,please provide your full code snippet.

ASPX:
<telerik:RadGrid ID="RadGrid1" runat="server" >
    <MasterTableView ClientDataKeyNames="OrderID">
        <Columns>
            <telerik:GridBoundColumn UniqueName="OrderID" DataField="OrderID" HeaderText="OrderID" />
            <telerik:GridBoundColumn DataField="ShipCity" HeaderText="ShipCity" UniqueName="ShipCity" />
        </Columns>
    </MasterTableView>
    <ClientSettings>
        <Selecting AllowRowSelect="true"></Selecting>
        <ClientEvents OnRowDblClick="RowDblClick"></ClientEvents>    
    </ClientSettings>
</telerik:RadGrid>
<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("OrderID"), "RadWindow1");
    }
</script>

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