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

Populate Dropdown list value in a textbox

1 Answer 321 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Uma
Top achievements
Rank 1
Uma asked on 04 Aug 2014, 05:46 PM
Hi,

I have a telerik asp.net mvc dropdown list. When user selects an item from the list, I would like to populate a textbox with the selected value. I am not sure how I can get this to work using telerik controls. Please help.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 06 Aug 2014, 11:07 AM
Hello Uma,

You can use the change event of the widget, which will notify you when use makes the selection, and then use the value method to get the widget value and populate the textbox. Here is more information about:

change event - http://docs.telerik.com/kendo-ui/api/web/dropdownlist#events-change

value method  - http://docs.telerik.com/kendo-ui/api/web/dropdownlist#methods-value

Regards,
Kiril Nikolov
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
DropDownList
Asked by
Uma
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or