W
wandali
Hello,
I have a problem in finding the status of a panel (visible or not). I
have a dropdownlist that associates with a panel in which textbox are
embeded in the panel. A client side VBScript is run when the value of
the dropdown change. And here is the script
if document.all(dropdown).value ="-1" then
document.all(panel).style.display = "block"
else
document.all(panel).style.display = "none"
end if
When I do validation at ther server, how do I know if the panel is
visible or not?
Panel.visible is always true, Panel.style("Display") is always = ""
I don't want to make the panel visible from the server side, as the
AutoPostBack is really annoying, but I have to do a lot of validation
at the server, is there any suggestion in my approach or how can I get
around that, am I doing something wrong?
Thanks in advance.
Wanda
I have a problem in finding the status of a panel (visible or not). I
have a dropdownlist that associates with a panel in which textbox are
embeded in the panel. A client side VBScript is run when the value of
the dropdown change. And here is the script
if document.all(dropdown).value ="-1" then
document.all(panel).style.display = "block"
else
document.all(panel).style.display = "none"
end if
When I do validation at ther server, how do I know if the panel is
visible or not?
Panel.visible is always true, Panel.style("Display") is always = ""
I don't want to make the panel visible from the server side, as the
AutoPostBack is really annoying, but I have to do a lot of validation
at the server, is there any suggestion in my approach or how can I get
around that, am I doing something wrong?
Thanks in advance.
Wanda