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

Batch Edit: how to bind edit dropdown serverside?

3 Answers 97 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 08 Sep 2014, 06:13 PM
I'm looking to implement a batch-edit grid, and one of the fields is going to need a dropdown as the edit control.

The demo (http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx) uses declarative databinding.  Based on the architecture of my project, I'd prefer to bind the dropdown serverside.  However, I can't seem to figure out the server-side events needed to get at the control in the code-behind.

Can someone point me in the right direction?

Thanks.

j

3 Answers, 1 is accepted

Sort by
0
Accepted
Kostadin
Telerik team
answered on 11 Sep 2014, 12:06 PM
Hi John,

A possible solution is to access the control on PreRender event handler and bind it. Please check out the Server-side API section of the following help article which elaborates more on this matter.

Regards,
Kostadin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
John
Top achievements
Rank 1
answered on 12 Sep 2014, 08:23 PM
You know... didn't quite understand what you meant, stumbled my way around, and ended up implementing it exactly as you said.

Thanks!

j
0
Clyde
Top achievements
Rank 1
answered on 14 Sep 2014, 05:25 PM
John, it would be awesome if you could post what you ended up doing as I have the same issue and am struggling my way through it.

Thanks
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
John
Top achievements
Rank 1
Clyde
Top achievements
Rank 1
Share this question
or