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

2 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1679 posts
    Member since:
    Oct 2004

    Posted 14 Apr 2006 Link to this post

    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.
  2. shaul
    shaul avatar
    7 posts
    Member since:
    Aug 2006

    Posted 08 Oct 2007 Link to this post

    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'; } }
Back to Top