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

GridClientSelection columns Problem

2 Answers 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mandy
Top achievements
Rank 2
Mandy asked on 15 Dec 2011, 11:40 AM
Hello Admin,

I am using GridClientSelection in radgrid.and i am calling onrowseleted client side to making some columns of the grid to the textbox so that user can edit the values and then by making a webservice call we will save the selected values.But when i click on checkbox column the same row goes in edit mode as well.But in my scenario i just wanted to go in the edit mode when a row is selected ,but not by clicking on checkbox column .

Please provide me the solution ASAP as it is very urgent.

Thanks,
Mandeep Singh

2 Answers, 1 is accepted

Sort by
0
Mandy
Top achievements
Rank 2
answered on 21 Dec 2011, 03:29 PM
Hello Admin,

Any reply on this ?

Thanks
0
Shinu
Top achievements
Rank 2
answered on 22 Dec 2011, 04:51 AM
Hello Mandeep,

Try the following javascript.
JS:
function OnRowSelected(sender, eventArgs)
{
 editedRow = eventArgs.get_itemIndexHierarchical();
 $find("<%= RadGrid1.ClientID %>").get_masterTableView().editItem(editedRow);
}

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