Dynamically added RadComboBox throw JS error

1 posts, 0 answers
  1. Datamex
    Datamex avatar
    161 posts
    Member since:
    Jun 2012

    Posted 05 Aug 2009 Link to this post


    I'm adding several RadComboBoxes into a custom made user control. The controls are contained in a panel. When I view the page, I get a JS error on the line 


    The error is "this.get_inputDomElement() has no properties". So apparantly the get_inputDomElement method return null? The first RadComboBox on the form is working as expected, the second one isn't doing anything; it doesn't even expand.

    Any idea what I could be missing here? The version I'm running is 2009.2.701.35.

    The code I'm using to add the dropdown (in simplified form, it's not working as such):


    protected override void OnInit(EventArgs e)




        Panel newPanel = new Panel();


        dropdown =

    new RadComboBox();


        dropdown.ID =






    EDIT: sorry, already fixed it. There were some other things going wrong in the user control which probably messed up the RadComboBox. This post may be deleted.


Back to Top