Hide inner panel items based on combobox selection in first panelitem

2 posts, 0 answers
  1. Jason
    Jason avatar
    5 posts
    Member since:
    Apr 2008

    Posted 08 Dec 2010 Link to this post

    I'm wondering if it's possible to show/hide (set visible to true or false) nested panel items in the panelbar based on a combobox, etc selection in the first panelitem?

    Example, a panelbar with 10 total panelitems contained in it.  First panelitem has a combobox.  User selected a value from combobox and only certain subsequent panelitems show, the rest get hidden.

    Is this possible?  Is it at all possible to do this in jquery by getting the id of the parent object and then walking down to the appropriate child level?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 09 Dec 2010 Link to this post


    In the "OnClientSelectedIndexChanged" event of RadComboBox, get the corresponding RadPanelItem and hide it using client code; use set_visible() property to show/hide.

    I hope the following links will be of help in this:
    Client-Side Basics
    RadPanelBar object
    RadPanelItem object

Back to Top