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

Catch BachEdit event (Editing on Cell)

2 Answers 51 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Marc asked on 13 Oct 2016, 10:10 AM

Hi all,

I have a RadGridView with BachEdit. I start editing when click on cell and save changes with a save button of radgrid.

I need 2 things and i cant reach how.

1º I need reject the edit mode of cell in some cells (Ex cell 2 column 3).

2º I need get whole information of cells/columns when i click Save changes.I think BachEdit mode are some different...

 

Thz for your time

2 Answers, 1 is accepted

Sort by
0
Marc
Top achievements
Rank 1
answered on 13 Oct 2016, 11:28 AM

In a fact I need get Client values of whole cells. How i can get client values of cells in OnBatchEdit Event?

 

Please HELP!

 

Thz for your time ;).

0
Eyup
Telerik team
answered on 18 Oct 2016, 07:05 AM
Hello Marc,

You can check the following post for further clarification on Batch editing. There is also sample for external save button implementation:
http://www.telerik.com/forums/radgrid-within-dataform#n5vi8Bq46UaeI2H-tURExg


You can prevent the cell from opening in edit mode using the following event handler:
http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/client-side-programming/events/onbatcheditopening

Once you have the row reference in client-side, you can use the approaches demonstrated in the following section to get any additional info:
http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/rows/accessing-cells-and-rows#accessing-cells-and-values-in-client-side-code

I hope this will prove helpful.

Regards,
Eyup
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Grid
Asked by
Marc
Top achievements
Rank 1
Answers by
Marc
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or