cascading drop down in javascript
<p>I am using JavaScript for a cascading drop down, I was using Rad controls on my page, but now the managers are asking me to move away from radcontrol. My cascading drop down was working with radcontrol, but now that I changed to asp.net controls It stopped working and is throwing tons of error. I was wondering if someone can help me to write in non radcontrols JavaScript. Below is my JavaScript code and asp.net code. </p>

<p>I am getting an error on </p>

<p><code>EINCombo.set_text("Loading..."); EINCombo.set_text("Loading...");</code> </p>

<p>and also on </p>

<p><code>EINCombo.requestItems(item.get_textElement().innerText, false);</code></p>

<pre><code>&lt;script type="text/javascript"&gt;
    var EINCombo;

    function pageLoad() {

        debugger;
        EINCombo = document.getElementById('&lt;%=RadComboBox_IN.ClientID %&gt;');
    }

    function RadComboBox_EIN_Load(combo, eventArgs) {

        var item = eventArgs.get_item();



        EINCombo.set_text("Loading...");
        if (item._properties._data.value != "") {

            EINCombo.requestItems(item.get_textElement().innerText, false);
            // EINCombo.requestItems(item.get_value(), false) 
        }
        //   else {
        //  
        //    

        //        EINCombo.set_text(" ");
        //        EINCombo.clearItems();

        //    }
    }
    function ItemsLoaded(combo, eventArqs) {


        if (combo.get_items().get_count() &gt; 0) {
            // pre-select the first item
            combo.set_text(combo.get_items().getItem(0).get_text());
            combo.get_items().getItem(0).highlight();
            combo.showDropDown();
        }

    }

    function clearBox() {

        var EINCombo1 = document.getElementById('&lt;%=RadComboBox_IN.ClientID %&gt;');
        EINCombo1.clearSelection();

    }

&lt;/script&gt;
&lt;style type="text/css"&gt;

.applyBackground
{
    background-color:#E7DEB7 !important;
}

&lt;/style&gt;


                        &lt;table width="20%" cellpadding="0" cellspacing="0" style="background-color:#E7DEB7"&gt;
                            &lt;tr&gt;
                                &lt;td style="width: 10%"&gt;
                                    &lt;div class="cis_edit_label_tiny"&gt;
                                        Filters:&lt;/div&gt;

                                    &lt;asp:DropDownList ID="RadComboBox_filters" runat="server" Width="290px" Height="300px"&gt;&lt;/asp:DropDownList&gt;
                                &lt;/td&gt;
                                &lt;td&gt;
                                    &amp;nbsp;
                                &lt;/td&gt;
                                &lt;td style="width: 10%"&gt;
                                    &lt;div class="cis_edit_label_tiny"&gt;
                                        EIN:&lt;/div&gt;

                                        &lt;asp:DropDownList ID="RadComboBox_IN" runat="server" &gt;&lt;/asp:DropDownList&gt;
                                &lt;/td&gt;
                                &lt;td&gt;
                                    &amp;nbsp;
                                &lt;/td&gt;
                                &lt;td&gt;
                                    &amp;nbsp;
                                &lt;/td&gt;
                                &lt;td&gt;
                                    &amp;nbsp;
                                &lt;/td&gt;
                                &lt;td style="width: 10%"&gt;
                                    &lt;br /&gt;

                                    &lt;asp:ImageButton ID="RadButton_Add" runat="server" ImageUrl="~/images/add_button.jpg" OnClick="RadButton_Add_Click" /&gt;
                                &lt;/td&gt;
                                &lt;td style="width: 10%"&gt;
                                    &lt;telerik:RadListBox runat="server" ID="RadListBox_ICFilters" AutoPostBack="false"
                                        SelectionMode="Single" Width="600px" Height="60px" AllowDelete="true" AllowTransferDuplicates="false"&gt;
                                    &lt;/telerik:RadListBox&gt;
                                &lt;/td&gt;
                                &lt;td style="width: 80%"&gt;
                                    &amp;nbsp;
                                &lt;/td&gt;

                            &lt;/tr&gt;
                        &lt;/table&gt;
                   &lt;%-- &lt;/ItemTemplate&gt;
                &lt;/telerik:RadPanelItem&gt;
            &lt;/Items&gt;
        &lt;/telerik:RadPanelItem&gt;
    &lt;/Items&gt;
&lt;/telerik:RadPanelBar&gt;
--%&gt;
</code></pre>
