how to find the state of an html control
hi all..
I have a page that has a button that show and hide a gridview on user side (with a javascript). that work fine b/c the grid is wrapped in a div and the div is what I hide/show....
but now I need to know is the grid is visible or invisible.. since the grid is wrapped for asp is always visible..
I couldn find the div with findcontrols (maybe i do it wrong??)...
I try putting a textbox (asp textbox) and save the state there (like text) but I cann't put is invisible (since is not rendered and javascript doesn't find it)...
Anyone have any idea??
thanks in advance...
HTH
Gonzalo
__________________
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question.
(Took that from Doug signature and he Took that from Peter profile)
================================================== =========
My programs achieved a new certification :
WORKS ON MY MACHINE
================================================== =========
I know that CVS was evil, and now i got the proof.
================================================== =========
|