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

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

1 Answer 181 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Shirani
Top achievements
Rank 1
Shirani asked on 02 Dec 2011, 05:58 PM
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

1 Answer, 1 is accepted

Sort by
0
Ivana
Telerik team
answered on 07 Dec 2011, 04:10 PM
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
Tags
Scheduler
Asked by
Shirani
Top achievements
Rank 1
Answers by
Ivana
Telerik team
Share this question
or