Disabling or hiding frame from Page_load event

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
 
S

S. Justin Gengo

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,058
Members
48,769
Latest member
Clifft

Latest Threads

Top