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

Object expected when inserting new RadComboBoxItem client side

1 Answer 54 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
mdanna
Top achievements
Rank 1
mdanna asked on 24 Jan 2011, 07:32 PM
Hi,

I am trying to add a RadComboBoxItem client side, but am receiving the Object expected error.  This is the line of code that fails:

var

 

 

comboItem = new Telerik.Web.UI.RadComboBoxItem();

When I debug the javascript, I notice that Telerik.Web.UI does not contain RadComboBoxItem which is why the exception is being thrown.  Is there a reference of some sort that I need to include to use this class?

Matt

1 Answer, 1 is accepted

Sort by
0
Kalina
Telerik team
answered on 24 Jan 2011, 11:04 PM
Hello mdanna,

Please take a look at this online demo.
The example shows how to add/remove and disable items at client-side.

Kind regards,
Kalina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
ComboBox
Asked by
mdanna
Top achievements
Rank 1
Answers by
Kalina
Telerik team
Share this question
or