Skip Navigation LinksHome / Community & Support / Code Library / ASP.NET and ASP.NET AJAX > ComboBox > How to show / hide the combobox on the client-side?

How to show / hide the combobox on the client-side?

Feed from this thread
  • Posted on Apr 14, 2006 (permalink)

    Requirements

    To convert code
    from posted project(s)
    Telerik online converter
    RadControl version

    RadComboBox v2.1.1 or Telerik.Web.UI v2007.3 1425

    .NET version

    2.x 

    Visual Studio version

    2005

    programming language

    C#

    browser support

    all browsers supported by RadComboBox


    This sample project shows you how to hide or show the RadComboBox on the client-side.

    Reply

  • shaul avatar

    Posted on Oct 8, 2007 (permalink)

    My Version is the latest Q2 2007 this works for me:
    function OnClientSelectedIndexChanged(item) { var combo = document.getElementById('<%=dpSecond.ClientID%>' + '_wrapper'); if(item.Value=="Between" || item.Value=="NotBetween") { combo.style.display = 'block'; } else { combo.style.display = 'none'; } }

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Code Library / ASP.NET and ASP.NET AJAX > ComboBox > How to show / hide the combobox on the client-side?