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

Insert item to RadComboBox via Javascript error

1 Answer 18 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Gabriel
Top achievements
Rank 2
Gabriel asked on 11 Dec 2012, 05:06 PM
I'm trying to add a new item to a RadComboBox via javascript and I'm getting a weird error.

it says "The object does not support such property or method" when doing "new Telerik.Web.UI.RadComboBoxItem()" 
It is really weird so I decided to open a "quiick watch" window and started to evaluate the Telerik.Web.UI object. As I expected, the "RadComboBoxItem" is not present.

How do I add an item to a RadComboBox via Javascript?

thanks

1 Answer, 1 is accepted

Sort by
0
Gabriel
Top achievements
Rank 2
answered on 11 Dec 2012, 05:19 PM
Don't worry, I figured out why this happened. I had visible=false on the control xD
Tags
ComboBox
Asked by
Gabriel
Top achievements
Rank 2
Answers by
Gabriel
Top achievements
Rank 2
Share this question
or