Set active panel dynically from Data List
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.
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
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
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?
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?
Hi Josh,
Add a condition for the set active panel event. That should allow you to input the specific variable.
Best,
Danielle
Hi Josh,
Add a condition for the set active panel event. That should allow you to input the specific variable.
Best,
Danielle
Replies have been locked on this page!