Populate Dropdown list value in a textbox

2 posts, 0 answers
  1. Uma
    Uma avatar
    3 posts
    Member since:
    Jun 2014

    Posted 04 Aug 2014 Link to this post


    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.

  2. Kiril Nikolov
    Kiril Nikolov avatar
    2598 posts

    Posted 06 Aug 2014 Link to this post

    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

    Kiril Nikolov

    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.

Back to Top