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

Client side edit server update with dynamic drop down

1 Answer 55 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 04 Apr 2011, 01:46 PM
Hi,

I'm trying to implement the client side editing with server side updating but I'm running into a problem.  Our grid has two drop downs which need to be loaded with data from the database if the cell that contains the drop down is double clicked.  Are there any events that can be captured client side, or is there a way we can raise an event of our own to populate the drop down?

Another problem is that the second drop down's data is dependent on what is selected from the first drop down.  Would there be a way to load data from the database when an item is selected from the first drop down?  If we can't do this is there another way we can do batch that will fix all of these problems?

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 07 Apr 2011, 03:49 PM
Hello Chris,

You can populate the first combo using the requestItems client-side method.
ShowColumnEditor function will be invoked on double click, so this would be suitable place to add your code.

I believe that the following resources will be a good starting point for you:
ComboBox / Grid with TreeView/ComboBox editors
Load On Demand RadComboBox inside an EditItemTemplate of RadGrid

I hope this helps. Let me know if I can assist you further.

Kind regards,
Daniel
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Chris
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or