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

Rad Grid Batch update with cutome user controls and button

1 Answer 123 Views
Grid
This is a migrated thread and some comments may be shown as answers.
nnn
Top achievements
Rank 1
nnn asked on 06 Mar 2016, 08:54 PM

Hi,

I have Rad Grid with batch updates. Edit template column has a custom user control with multiple buttons used to check if the user entered exists within Active directory and a cancel. These buttons cause a post back and causing the grid to reload. Is there a way to persist the edit mode of the grid ??

Please help

Thanks

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 07 Mar 2016, 09:05 AM
Hello,

The Batch editing is client-side edit mode and any full postback will clear all changes in the grid and will close any cell/row that is currently in edit mode. 

The only thing that I could suggest for achieving such functionality is to prevent the postback of the buttons and handle the client-side click event, where you could use an external RadAjaxPanel for example for firing custom command. The retrieved from the server-side information could be passed through a HiddenField control. However, I would personally recommend that you switch to server-side edit mode if you need such server-side validation.


Regards,
Konstantin Dikov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
nnn
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or