Page 1 of 1

Hiding/Unhiding of Controls

Posted: Sun Jan 06, 2013 6:07 am
by Renjith V

I have a hidden grid in a page and I have added an event on click of a button to set the 'Visible' property of the grid to be true. Along with that I am trying to set a couple of other grid's Visible property to false. But that is not happening, they are not getting hidden.


Hiding/Unhiding of Controls

Posted: Sun Jan 06, 2013 5:55 pm
by maxkatz

How exactly you are hiding/showing the components?


Hiding/Unhiding of Controls

Posted: Sun Jan 06, 2013 6:06 pm
by Renjith V

In the click event, I have added 'Set Property', where I select 'Visible' set to true/false.


Hiding/Unhiding of Controls

Posted: Sun Jan 06, 2013 7:20 pm
by maxkatz

I just tried it and this works:

Image


Hiding/Unhiding of Controls

Posted: Sat Jan 12, 2013 8:02 am
by Renjith V

Did you try hiding some elements and unhiding in the same click event?


Hiding/Unhiding of Controls

Posted: Sat Jan 12, 2013 7:26 pm
by maxkatz

No, but you would need to add logic whether to hide or show the component.