Author: skiabox | Posted on: 6/26/2009 7:00:34 AM | Views : 373

I am using two named divs (I could use panels too) in my code an I want to be able to turn them on and off in the Page_LoadComplete behind (I am using the Page_LoadComplete because it is a content page of a master page).
What is the easiest way to do it?
I find great difficulties to access them using their id - in fact it seems that I can't access anything (and I've tried hard, for example using the FindControl() method) so I wonder if the best way to handle this situation is to completely create the divs/panels in the code behind.
What do you believe?
Thank you very much. 
...

Go to the complete details ...