473,466 Members | 1,376 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Iframes in aspx page.

Hi,
I have two iframes in Webform, for example "i1" and "i2". Can I, after
clicking on button (this button is runat="server") in "i1", invoke reload or
redirect in "i2"?
How can i do it?

Thanks Lubos
Nov 16 '05 #1
5 1938
When you render the page after the postback (caused by the button click)
simply render the iframes with the new address...

"Luboš Šlapák" <lu**********@centrum.cz> wrote in message
news:ee*************@tk2msftngp13.phx.gbl...
Hi,
I have two iframes in Webform, for example "i1" and "i2". Can I, after
clicking on button (this button is runat="server") in "i1", invoke reload
or
redirect in "i2"?
How can i do it?

Thanks Lubos

Nov 16 '05 #2
But after click on button in "i1" is render only iframe "i1" and the the
whole page isn't render, so the iframe "i2" isn't render.

"Eran Kampf" <er**@ekampf.com> píše v diskusním příspěvku
news:%2***************@tk2msftngp13.phx.gbl...
When you render the page after the postback (caused by the button click)
simply render the iframes with the new address...

"Luboš Šlapák" <lu**********@centrum.cz> wrote in message
news:ee*************@tk2msftngp13.phx.gbl...
Hi,
I have two iframes in Webform, for example "i1" and "i2". Can I, after
clicking on button (this button is runat="server") in "i1", invoke reload or
redirect in "i2"?
How can i do it?

Thanks Lubos


Nov 16 '05 #3
Luboš Šlapák wrote:
But after click on button in "i1" is render only iframe "i1" and the
the whole page isn't render, so the iframe "i2" isn't render.


This is just a guess, by adding "target='_top' " to the button should
cause the response to apply to the whole window and not just the iframe.

--
Truth,
James Curran [erstwhile-MVP]
Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
Nov 16 '05 #4
But the button don't have attribute "target" ?
Or how can I set the attribut "target"? Please example.

"James Curran" <Ja*********@mvps.org> píše v diskusním příspěvku
news:eG**************@TK2MSFTNGP14.phx.gbl...
Luboš Šlapák wrote:
But after click on button in "i1" is render only iframe "i1" and the
the whole page isn't render, so the iframe "i2" isn't render.


This is just a guess, by adding "target='_top' " to the button should
cause the response to apply to the whole window and not just the iframe.

--
Truth,
James Curran [erstwhile-MVP]
Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com

Nov 16 '05 #5
"Luboš Šlapák" <lu**********@centrum.cz> wrote in message
news:uo**************@tk2msftngp13.phx.gbl...
But the button don't have attribute "target" ?
Or how can I set the attribut "target"? Please example.


btnInIFrame1.Attributes.Add("target", "_top");

--
Truth,
James Curran
Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
(note new day job!)
Nov 16 '05 #6

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

Similar topics

0
by: Dan Popa | last post by:
Check out the following 2 links: http://www.batisdev.com/admin/test_1images.asp http://www.batisdev.com/admin/test_2images.asp First page contain 4 IFRAMES and 1 IMG tags. Second page contain 4...
2
by: Ashish | last post by:
Hi All, I have a main page that contains an iframe. Depending upon tab control selection, I load several different aspx pages (from the same app) to the iframe. My parent sets data in the session...
8
by: Ashish | last post by:
Incase the problem got bogged down reposting... Hi Gregory, I think I didnt make myself much clear. The problem is: 1. I have one ASP.NET application (no classic asp) and it has a main page...
1
by: Mustafa Rabie | last post by:
Hi All, I want to add 2 iframes in my application. The left will have an aspx page with some button (navigation), the right will display other aspx pages. I really need to know how can when a...
7
by: Oleg | last post by:
I have a web form let's say 'YYZ.aspx'. It has an iframe in it. When it loads it shows progress bar in IE this way: loading for page then again loading for page in iframe. This part is fine....
4
by: Alex D. | last post by:
Hi guys. I have two nestes IFRAMES in one of my pages. The main page has an Iframe that points to an aspx page, this page has another Iframe that points to a regular html file. My problem is when...
19
by: wmanzo | last post by:
I have a really professional conspiracy movie site and I use tons of layers and an external scroll bar assembly. I would like to put the various sections into MS Iframes and in order to clean up...
2
by: ericisjusteric | last post by:
I have a page with multiple iframes and need to have the user (ie6) be able to click a button to refresh any one of the iframes - but also to click another button at the top of the page to refresh...
0
by: Twinkles | last post by:
Hello friends, I'm having an ("main.aspx")Asp.net page with 2 iframes. Second frame is by default loaded with a ("home.aspx")asp.net page. When button is clicked in...
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
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
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.