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

Cancel Edit of RadGrid at the click on Toolbar

6 Answers 567 Views
Grid
This is a migrated thread and some comments may be shown as answers.
ps
Top achievements
Rank 1
ps asked on 30 Oct 2008, 03:10 PM
I have radgrid on my page. When user clicks "Edit" on the grid item and never click "Cancel"/"Update", when page is loaded next time the row is still in edit mode. ..

I have a toolbar at the top of my page having 2 items -- save and cancel. When Cancel on tollbar is clicked is there some way to cancel the edit mode of the radgrid row...

6 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 30 Oct 2008, 03:49 PM
0
ps
Top achievements
Rank 1
answered on 30 Oct 2008, 04:15 PM
Thanks ! The first link worked for me :)
0
Chase Florell
Top achievements
Rank 1
answered on 06 Dec 2008, 05:35 AM
Just a note, most of those links are broken after the launch of the new Telerik site.  ...  Very Sad
0
Daniel
Telerik team
answered on 08 Dec 2008, 07:48 AM
0
tabish
Top achievements
Rank 1
answered on 16 Jul 2014, 09:32 AM
Cancel edit mode for all grid rows  - link is broken
kindly post a new link.
this link address the issue which i have encountered.
0
Princy
Top achievements
Rank 2
answered on 16 Jul 2014, 10:24 AM
Hi Tabish,

If you want to close all the EditForm you can try the following code snippet, if this doesn't help, provide your code snippet.

C#:
RadGrid1.MasterTableView.ClearEditItems(); 
RadGrid1.Rebind();

Thanks,
Princy
Tags
Grid
Asked by
ps
Top achievements
Rank 1
Answers by
Daniel
Telerik team
ps
Top achievements
Rank 1
Chase Florell
Top achievements
Rank 1
tabish
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or