Dynamic panel state changes for each Repeater item click

Hi,

I do have a Repeater with 10 X 8 dataset items. Upon Clicking on each item will open a Current Window. This new Current Window is having a Dynamic Panel with Different States. What I am looking is After clicking each repeater item will open respective states of Dynamic panel in Current Window.

I have used Item.Index, but as it is a repeater, each time, Index is changing and final index value is reflecting in the Global used to open Dynamic panel state in the Current Window. So, when I click on any item, opening only one state(final) of Dynamic Panel. I want to open different states based on item value. Ex: item 1 should open State 1 of DP, where as item 2 should open State 2 of DP.

Please help me how to achieve this functionality.

Hi venkata71054!

One way to do this would be to create a repeater item where the values match the names of your dynamic panel states. For example, if your “item 1” row had an “Item.State” column where the value was “State1”, you could set the global variable to equal the value of that row’s “Item.State” column when the repeater item is clicked. When the page containing the dynamic panel loads, you could set the state of the dynamic panel to equal the value of the global variable. Because this global variable would be an exact match of a dynamic panel state named “State1”, the dynamic panel would set to show that state. Feel free to take a look at the sample file below.

repeater_sample.rp (74.8 KB)

Hello,

In the above example, how would we implement it if the new page has to be loaded within the current page (rather than on a new page)
Like a left nav: Clicking on one menu item would load the corresponding page on the right side of the same page. Would each page be different states of the same dynamic panel?