Disabling or hiding frame from Page_load event

  • Thread starter Thread starter Bogdan Zamfir
  • Start date Start date
B

Bogdan Zamfir

Hi,

I have a web page with two frames.
Left one has a aspk page with application menu, and right one has the astive
working form

Depending on some conditions in right page, I want to be able to disable /
enable (or show / hide) the left frame.

I want to be able to do this from Page_load event for webform who loads into
right frame.

How can I do this?

Thank you
Bogdan
 
Bogdan,

You could use the body tag of the page in the right hand frame as a server
side control. Then from the server side code you could add a javascript
onload event to the body tag which would control the other frame.

I have an example of how to use the body tag as a server control in the code
library of my web site, www.aboutfortunate.com. Search for: "use body tag as
server control" or something similar and you'll find it.

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
 
Back
Top