473,395 Members | 1,637 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Disabling or hiding frame from Page_load event

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
Nov 17 '05 #1
1 1447
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
"Bogdan Zamfir" <ams_soft at pcnet dot ro> wrote in message
news:u8**************@tk2msftngp13.phx.gbl...
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

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Fabian | last post by:
Is there a way to hiode the horizontal (but NOT the vertical) scrollbar? -- -- Fabian Visit my website often and for long periods! http://www.lajzar.co.uk
5
by: sonic_soul | last post by:
Hello, I am finishing up creating a fairly complex page that is very rich in DHTML. In addition to updating it self every couple of seconds, various components on it support sync and async...
14
by: stephan | last post by:
Hello, I have a page in which an iframe calls an external website. I'd like to disable javascript for the page called in the iframe. Is it possible ? How ? Thanks in advance, -- stephan
1
by: Amber | last post by:
The DataGrid allows you to make columns visible or invisible on demand - even edit and other special columns. This article will show you how it is done. Some developers have reported problems...
2
by: Sedat Eyuboglu | last post by:
i have a frame page and when the main frame's page loaded the header frame must be refreshed. i do this with the javascript and onLoad event of body tag. but i want to do this from the Page_load...
1
by: Frances Valdes | last post by:
I have been struggling with this and would be really grateful if anyone could help. I have a page with 2 frames. I would like to use the page load event on the left hand page to use a variable...
7
by: Varangian | last post by:
Hello I want to disable all the elements which are the childs of a Div element. I tried disabling the div element but it doesn't work... i.e. the child elements were not disabled what shal...
5
by: gokula309 | last post by:
Hi , I've a doubt using 2 frames in same page . PAGE 1 has 2 frames called F1 and F2. F1 refers page P2 F2 refers page P3 In this P2 has a drop down list (bank ), when it's changed...
3
by: =?Utf-8?B?cHJhZGVlcF9UUA==?= | last post by:
Hi All, Can anyone please explain me why I am not able to disable Browser caching in ASP.net by writing the following code Response.Buffer = true; Response.ExpiresAbsolute =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.