Checking for dynamic panel becoming scrollable

Friends,

Let us say we need to do an action when a dynamic panel changes from a non-scrollable to a scrollable state (obviously because of increase in content it holds).

Is there a way to check this change of panel state from from non-scrollable -> scrollable?

Thanks!

You could compare the total height of everything inside the dynamic panel and see if it’s greater than its height.

If it’s a repeater, have the OnItemLoad event compare the height of the repeater to the height of the panel.
Or you could just add everything inside the panel to a group and then compare its height to the panel height whenever it resizes.

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