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

[Solved] RadGrid OnRowDoubleClick DataKeyValue

1 Answer 258 Views
Grid
This is a migrated thread and some comments may be shown as answers.
CHU Sainte-Justine
Top achievements
Rank 1
CHU Sainte-Justine asked on 11 Jun 2008, 04:47 PM
Using a RadGrid I'd like to raise a postback  from the client side on the event RowDblClick.

My difficulty is to pass the DataKey value of the row who was raise by dbl click and should be pass as argument to the postback.

Thanks for help

<ClientSettings AllowKeyboardNavigation="true">

<ClientEvents OnRowDblClick="ctrlListeSejourGV_RowDblClick"/>

</ClientSettings>

function

ctrlListeSejourGV_RowDblClick(rowIndex){

var  dataKeyValue  = {....} <<< the code i'm looking for

_doPostBack(

"<%= ctrlListeSejourGV.UniqueID %>", "RowDblClick:"dataKeyValue );

}

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 12 Jun 2008, 10:21 AM
Hi,

You can use args.getDataKeyValue("CustomerID") for example. More info here:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Client/Keys/DefaultCS.aspx

Greetings,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
CHU Sainte-Justine
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or