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

Inline Edit with DropdownList as Editor Template - updating other fields in edit line

1 Answer 42 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Stuart
Top achievements
Rank 1
Stuart asked on 07 Nov 2014, 10:29 AM
Hi 

our business requirement is to have a grid which when we choose to add a new record the first column will have a dropdown list with a collection of providers listed.  On selecting the required provider we want to update a number of the other columsn in the new record being added leaving 2 other fields to be entered before saving.

I have the dropdown working in the list but cannot work out how to update the other columns withinn the edit row

is this possible?

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 11 Nov 2014, 11:54 AM
Hello Stuart,

It is possible to achieve the desired functionality, but the actual implementation will highly depend on the edit mode that you are using in your RadGrid and the RadGrid structure as well.

Despite the edit mode, what you will need for your requirement is to handle a client-side event of the DropDownList control when the selection is changed. Within that event you will have to get reference to the other controls which values you want to change. 

If you need any further assistance with this and for a more relevant to your exact scenario suggestion, please provide the markup of your RadGrid.


Regards,
Konstantin Dikov
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.

 
Tags
Grid
Asked by
Stuart
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or