How can I Change/Display value into RadTextBox with RadComboBox Selection?

2 posts, 0 answers
  1. Shirani
    Shirani avatar
    24 posts
    Member since:
    Nov 2011

    Posted 02 Dec 2011 Link to this post

    Hello
    I am using RelatedLoDRadComboboxesinAdvForm. In my RadScheduler if I select a RadcomboBox list's value then some data according to this value should be displayed in my RadTextBox but not editable.
     suppose Client  First  name is selected then Last Name should be displayed in textbox.
    Any help
    Thanks
  2. Ivana
    Admin
    Ivana avatar
    657 posts

    Posted 07 Dec 2011 Link to this post

    Hi Shirani,

    If you want only the first name of a person set as a text of an item, you could use custom attributes to store the person's family name. Then, on ClientSelectedIndexChanged event of the RadComboBox, you could get the corresponding attribute for the currently selected item, and show its value in the RadTextBox control.
    You could refer to the following help article, to see how to access the elements / controls in the Advanced Form using JavaScript / jQuery: Customizing the Advanced Form using JS / JQuery.

    For more information about accessing RadComboBox item's attributes on the client, you could refer to the following help article: RadComboBoxItem Client Object.

    I hope this helps.

    Best wishes,
    Ivana
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top