Enable/Disable combobox using javascript

3 posts, 0 answers
  1. prayag ganoje
    prayag ganoje avatar
    127 posts
    Member since:
    Feb 2010

    Posted 19 Mar 2010 Link to this post


    How can i enable / disable combobox using javascript ?

  2. robertw102
    robertw102 avatar
    265 posts
    Member since:
    Jul 2007

    Posted 19 Mar 2010 Link to this post

    Just call the enable or disable functions of the RadComboBox object.

    Like so:


    I hope that helps.
  3. DevCraft R3 2016 release webinar banner
  4. Kalina
    Kalina avatar
    918 posts

    Posted 19 Mar 2010 Link to this post

    Hello prayag ganoje,

    You can disable/enable RadComboBox calling the "disable" or "enable" client side methods.

    I made a basic sample for you to illustrate the approach:
    <head runat="server">
        <script type="text/javascript" language="javascript">
            function OnClientLoadHandler(sender) {
        <form id="form1" runat="server">
            <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
            <telerik:RadComboBox ID="RadComboBox1" runat="server"
                    <telerik:RadComboBoxItem Text="item1" Value="1" />
                    <telerik:RadComboBoxItem Text="item2" Value="2" />
                    <telerik:RadComboBoxItem Text="item3" Value="3" />

    Please find more details about RadComboBox client-side properties and methods here.

    Kind regards,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top