Dilan,
Please see screenshots below.
Hi Dilan,
On the pages where you want to show/hide some datagrids and/or templategrids, you have to insert a dataview where you retrieve the settings, then all the datagrids and templategrids should be moved inside the dataview and based and then you can set the visibility based on enumerations.
Hope that helps.
Good luck.