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

RadGrid DoublClick

5 Answers 114 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Wicus
Top achievements
Rank 1
Wicus asked on 17 Jul 2008, 12:07 PM
Hi All...can anyone assist me...i would like to know if its possible to open a new window with the radgrid doubleclick event?

5 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 17 Jul 2008, 12:26 PM
Hi,

Go through the following forum discussion and see whether it helps.
Double Click Row posts data to querystring in RadWindow

Thanks
Shinu.
0
Wicus
Top achievements
Rank 1
answered on 17 Jul 2008, 12:54 PM
Hi...that doesnt actually help me...im tryingt to get it for my code behind coz i need to extract my id and then send it as a parameter...is there a way to do it via..code behind?
0
Yavor
Telerik team
answered on 17 Jul 2008, 12:58 PM
Hello Wicus,

You can make an Ajax request, to get to the server, as shown in the following article, if handling the functionality from the client is not an option.

Regards,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Wicus
Top achievements
Rank 1
answered on 17 Jul 2008, 02:21 PM
Hi Shinu and Yavor,

ok...i have tried it all and to no success so...can you please tell me wat im doing wrong here..

<script type="text/javascript">  
 
    function OnRowDblClick()  
    {  
    var gridRow = this.Rows[index];                     
    var ID = rddgData.MasterTableView.GetCellByColumnUniqueName(gridRow, "ID");  
 
    window.open = 'frmAccounts.aspx?ID='+ ID;     
    }  
 
</script> 
and my HTML:

<ClientEvents OnRowDblClick="OnRowDblClick" /> 
i get an error: page built with errors...wat is the problem?
0
Yavor
Telerik team
answered on 18 Jul 2008, 08:02 AM
Hi Wicus,

Here is another working implementation of a similar functionality.
Let me know if this helps.

Regards,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Wicus
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Wicus
Top achievements
Rank 1
Yavor
Telerik team
Share this question
or