Upvote 1

Set active panel dynically from Data List

Answered Victor Conesa 9 years ago

Can I set up clicks on rows of a Data List to dynamically select the active panel of Dynamic Panel based on the value of the row? So imagine I could have a column of the data list Data Master with a string that would match the titles of various panels. So depending which row you clicked, it would string match and set the active panel based on that.

Replies (3)
photo
1

Hi Josh,


This should be possible. You can create an event that sets the value of a variable based on what is in the current row in the data list. Then, on the page that contains the dynamic panel, have an on-page-load event that detects the value of the variable. If the variable is a certain value, it will set a certain active panel.


Best,


Danielle

photo
1

Tried this, the problem I'm having is that the "Set Active Panel" event action doesn't have any place to enter a variable or dynamic statement. Far as I can see it will only let you choose a hard-coded panel from the Outline. Is there a way to do this I am missing?

photo
1

Hi Josh,


Add a condition for the set active panel event. That should allow you to input the specific variable.


Best,


Danielle

Leave a Comment
 
Attach a file