Yes and No.
Yes because you can simulate the effect, No because it isn't exactly what
Webcontrol.visible = false would do.
By setting a webcontrol.visible = false, you essentially don't send anything
to the client.
But you can simply hide it on the client side by using Javascript and
setting the style attribute as <div style="visible:false">your stuff</div>.
(Ok my memory is a little hazy, but it was either visible:false, or
display:none .. .. sump'n like that). Good reference site -
www.htmlguru.com
; that guy uses this trick all over the place.
- Sahil Malik
You can reach me thru my blog at
http://www.dotnetjunkies.com/weblog/sahilmalik
"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:1E**********************************@microsof t.com...
Hey all,
is it possible to make a webcontrol.visible=false without using postback?
i mean, is there a client-side script way of making a control invisible?
thanks,
rodchar