I need to change the visibility of many controls in my aspx page.
I found several methods to get the controls like this one
But I can't set values to this controls because they are passed by val, and I don't figure out how can I add the ref key word in this case.