This is a migrated thread and some comments may be shown as answers.

Hide inner panel items based on combobox selection in first panelitem

1 Answer 54 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 08 Dec 2010, 09:55 PM
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?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 09 Dec 2010, 08:31 AM
Hello,

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


-Shinu.
Tags
PanelBar
Asked by
Jason
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or