Show Dynamic Panel Based on Column Value in Repeater

I have a dynamic panel in my repeater set to hidden that I want to show based on a column in the data for the repeater. How would I go about that?

In the repeater’s Item Loaded event, add a case to test the value of your column value. So, if your column is named, “DP” and if it has value of “true” the panel should be shown, then your case logic would be something like, “IF [[Item.DP]] equals “true” Show MyDynamicPanel”. Then of course you just need to update the repeater row(s) to hide /show specific row’s dynamic panel.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.