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

[Solved] Check whether grid is in Editmode clientside

1 Answer 68 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mohan
Top achievements
Rank 1
Mohan asked on 22 Feb 2010, 02:59 PM
I want to check if the grid is in editmode on the client side.  I want to be able to prompt a message asking the user to save the changes on the grid before hitting the save button on the form.




1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 23 Feb 2010, 04:53 AM
Hi,

You can check for the EditIndexes length on the client side as shown below and display a prompt message accordingly:

if($find("RadGrid1")._editIndexes.length>0)
{
alert("");
}

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