473,406 Members | 2,356 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,406 software developers and data experts.

Refresh another Frame

Hi All,

I really need to Update my "header" frame when the user click on a button on
the "main" frame of my web page.
How may I do that ? The problem is that I don't have choice to use Frame...
I have to modify an existing web page with frameset...

Any help will be appreciate ...

Thx

Eddie
Nov 18 '05 #1
4 1941
you will have to do this clientside.....
I would suggest looking at losing the frames though. With ASP.NET it's
really easy to use UC's instead and it will solve sooooo many issues you
will run into with frames.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Eddie" <ma*************@videotron.ca> wrote in message
news:e$****************@TK2MSFTNGP12.phx.gbl...
Hi All,

I really need to Update my "header" frame when the user click on a button on the "main" frame of my web page.
How may I do that ? The problem is that I don't have choice to use Frame... I have to modify an existing web page with frameset...

Any help will be appreciate ...

Thx

Eddie

Nov 18 '05 #2
Thank you...

I don't have choice... I Need to keep Frames...
How may I do it on ClientSide ? JavaScript ? VBScript ?

Do you have any code for my understanding ? I'm not familiar with Java or vb
Script...

Thx...

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
you will have to do this clientside.....
I would suggest looking at losing the frames though. With ASP.NET it's
really easy to use UC's instead and it will solve sooooo many issues you
will run into with frames.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Eddie" <ma*************@videotron.ca> wrote in message
news:e$****************@TK2MSFTNGP12.phx.gbl...
Hi All,

I really need to Update my "header" frame when the user click on a
button on
the "main" frame of my web page.
How may I do that ? The problem is that I don't have choice to use

Frame...
I have to modify an existing web page with frameset...

Any help will be appreciate ...

Thx

Eddie


Nov 18 '05 #3
Hi

myBtn.Attributes.Add("onclick","parent.FRAMENAME.l ocation.reload()");
myBtn.Attributes.Add("onclick","parent.FRAMENAME.l ocation.href='pageToGo.aspx'");
Where FRAMENAME is the name of the frame to reload/update...

--
Best Regards
Vidar Petursson
==============================
Microsoft Visual: Scripting MVP 2000-2004
http://www.icysoft.com/
http://www.deus-x.com/ Instant e-commerce
http://www.microsoft.com/technet/scriptcenter/
Playground: http://213.190.104.211/ ( IE 5.5+ only )

No matter where you go there you are
==============================
"Eddie" <ma*************@videotron.ca> wrote in message
news:e$****************@TK2MSFTNGP12.phx.gbl...
Hi All,

I really need to Update my "header" frame when the user click on a button
on
the "main" frame of my web page.
How may I do that ? The problem is that I don't have choice to use
Frame...
I have to modify an existing web page with frameset...

Any help will be appreciate ...

Thx

Eddie

Nov 18 '05 #4
Works perfectly !
Thank you...

Eddie
"Vidar Petursson" <th**************************@icysoft.com> wrote in
message news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi

myBtn.Attributes.Add("onclick","parent.FRAMENAME.l ocation.reload()");
myBtn.Attributes.Add("onclick","parent.FRAMENAME.l ocation.href='pageToGo.asp
x'"); Where FRAMENAME is the name of the frame to reload/update...

--
Best Regards
Vidar Petursson
==============================
Microsoft Visual: Scripting MVP 2000-2004
http://www.icysoft.com/
http://www.deus-x.com/ Instant e-commerce
http://www.microsoft.com/technet/scriptcenter/
Playground: http://213.190.104.211/ ( IE 5.5+ only )

No matter where you go there you are
==============================
"Eddie" <ma*************@videotron.ca> wrote in message
news:e$****************@TK2MSFTNGP12.phx.gbl...
Hi All,

I really need to Update my "header" frame when the user click on a button on
the "main" frame of my web page.
How may I do that ? The problem is that I don't have choice to use
Frame...
I have to modify an existing web page with frameset...

Any help will be appreciate ...

Thx

Eddie


Nov 18 '05 #5

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

Similar topics

5
by: Steve | last post by:
Hi, I have a private website for 20 people that is similar to a web email client like hotmail. There are two frames, one on the left with links for "New", "History", "Todays" and a frame on the...
3
by: Dag Sunde | last post by:
Is there a way to detect if the reason an onUnload() handler was called originated from the user explicitly refreshed the page(s)? Ie. pressed "Ctrl-R", "F5" or klicked the refresh button in...
1
by: tony wong | last post by:
the page has upper frame (submit record) and lower frame (show records). i wish to refresh lower frame once submit record at upper frame. i try this, it works to refresh the lower frame...
0
by: Marcus | last post by:
Hello! I'm buildning a webpage in ASP.NET using Visual Basic. The page contains a datagrid, a dropdownlist, some textboxes and a couple of buttons. The datagrid displays barcodes from a table...
4
by: Eddie | last post by:
Hi All, How may I refresh my page, for exemple, when the user click a WebControls.Button on my form ? (Or on another frame ?) Thx for your help !
8
by: Judy Ward | last post by:
I have an index.aspx with frames. The top frame has a navigation bar with a "Login" hyperlink. If the user has already logged in I want this link to change to "Logout". I am using forms-based...
2
by: Just D. | last post by:
All, How should we refresh the current aspx frame? I disabled caching using this command on Page_Load(): Response.Cache.SetCacheability(HttpCacheability.NoCache); but it didn't help. The...
3
by: Kevin | last post by:
Hi guys, I want to refresh some pages every 2 seconds. however, these html pages are not in my site, they could be any pages from yahoo.com or msn.com. I can create a page, which redirect to...
5
by: Kaante | last post by:
Hi, I basically have two frames on my page, the top one contains users stats and the bottom frame contains the website. I want to have a message icon on the top frame which would flash once the...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.