I have the Enhanced performance for hidden controls (Hidden controls will not be created until they become visible) feature turned on in my application.
In my canvas app there are a number of galleries shown on the home screen of the app. I have logic in the OnStart which sets various variables to true/false and then these variables are used in the Visible properties of each of the galleries.
I can see in Monitor that when I run OnStart, even the galleries whose visibility variable is set to false in the OnStart are still calling the server (it's the Items property of each). Is this happening because the Items property is not part of the hidden control? Or is it because the visibility is pointing to a variable? And finally, is there any way to prevent calls to the server for controls that wouldn't be shown?
My app also generates errors during OnStart for hidden controls even though 'Enhanced performance for hidden controls' is turned on.
WarrenBelz
146,745
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional