a wee bit weird

IxiRancid

Centurion
Joined
Jun 16, 2004
Messages
104
Location
Europe
The question:
If I put on an aspx webpage some controls like a textbox and a button and set their .Visible property to False... do these two controls get "rendered" or they don't show on the page's code?

I like code-behind and this way I would solve a problem of
<script... if YES then
/script>
SHOW HTML CONTENT
<script else />
SHWO OTHER HTML CONTENT

A bit weird, if I'm not clear enough just say, and I'll try to explain in more detail.
 
HJB417 said:
ripped from the msdn docs

Allright!
However, I still see this control in designer, which COULD be bothering me or the designer especially if the control is there.
Well, on a second thought maybe not, he should concentrate on the control being there and hold consistency thru the page like <td width> and stuff.

kewl, thanks! ;)
 
Back
Top