Create RadComboBox using javascript

2 posts, 0 answers
  1. Prava kafle
    Prava kafle avatar
    217 posts
    Member since:
    Apr 2010

    Posted 23 Aug 2011 Link to this post


    I want to create a RadComboBox using javascript and add it to the div. Is it possible to create it dynamically at client site?
     if (columnName.toUpperCase() == "ORDER") {
                    //Create ComboBox
                    var radComboBox = new RadComboBox();
           = "RadCBox" + ID;
                    AddItemsToComboBox(radComboBox, orders);

                   var divTag = document.getElementById("dynID");

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 23 Aug 2011 Link to this post

    Hello Prava,

    Since these controls are server controls, we cannot create these on the client. But you can create or delete its items client-side (for combobox). Check the following forum thread which explains the same.
    how to create radcombobox and datepicker from clientside

Back to Top