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

[Solved] Access Combo box input style

2 Answers 105 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 25 Jun 2008, 09:52 PM
Hi,

I am wondering how I can access the combo box input text box?  The reason is I would like to add some custom attribute to the input text box.  Please let me know if anyone has clue.  It looks like they protected the input text box from public access.

Chris

2 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 26 Jun 2008, 07:20 AM
Hello Chris,

You can access the input DOM element by the following way:

var combo = $find("<%= RadComboBox1.ClientID %>");
var inputElement = combo.get_inputDomElement();

Here you can find more information on the matter: RadComboBox client-side object

I hope this helps.

Sincerely yours,
Veskoni
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Chris
Top achievements
Rank 1
answered on 26 Jun 2008, 01:48 PM
Veskoni,

Thanks!
Tags
ComboBox
Asked by
Chris
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Chris
Top achievements
Rank 1
Share this question
or