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

Rad Grid Row double Clcik Event

1 Answer 58 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ashok
Top achievements
Rank 1
Ashok asked on 07 Sep 2010, 12:42 PM
Hi Team

I have rad grid in that i have six colums i need to edit the last two colums only when i click the rad grid row on double click i on that time these two colums only in edit mode. i have to update the using the datakey names, in asp.net code behind page.

Please Kindly send me examples or Solutions as soon as possible.


Regards,
Ashok Anbarasu.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 07 Sep 2010, 01:33 PM
Hello Ashok,


You could set the property ReadOnly="True" for the columns which you do not want to update.

Now use the following client code if you want to open edit form when double-clicking the row.
function RowDblClick(sender, eventArgs)
{
    editedRow = eventArgs.get_itemIndexHierarchical();
    $find("<%= RadGrid1.MasterTableView.ClientID %>").editItem(editedRow);
}


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