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

edit mode in clientside.

1 Answer 13 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ryann
Top achievements
Rank 1
Ryann asked on 19 Dec 2013, 01:40 PM
HI
i want to do some operation when grid is in edit mode. How to know when the grid goes to edit in clientside. Which is the suitable event?

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 19 Dec 2013, 01:45 PM
Hi Ryann,

You can get the Grid in EditMode using OnCommand event.

ASPX:
<ClientSettings>
 <ClientEvents OnCommand="RadGridCommand" />
</ClientSettings>

C#:
<script type="text/javascript">
function RadGridCommand(sender, args) {
    if (args.get_commandName() == "Edit") {
        alert("Edit");
    
}
</script>

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