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

Thread is closed for posting
2 posts, 0 answers
  1. 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 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. DC749EF1-25D0-4A77-9826-7602E5DF1F07
    DC749EF1-25D0-4A77-9826-7602E5DF1F07 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

This Code Library is part of the product documentation and subject to the respective product license agreement.