Ask a Question related to ASP.NET General, Design and Development.
-
Fred #1
iframe in aspx page
I have an aspx page: Main.aspx which has several components that cause
a postback. In the page Main.aspx I also have an iframe which contains
a multi-page pdf file.
The problem I am facing is that whenever the user does an action which
causes a postback on the main page Main.aspx, the page posts back and
the pdf file in the iframe is reloaded. This is a problem becuase if
the user has rotated or magnified the page then that is lost.
Is there anyway that the content in the iframe is not refreshed? Any
other ideas to maintain the state of the pdf file.?
Thanks a lot!
Fred
Fred Guest
-
Accessing a aspx page using HttpWebRequest from another aspx page on the same webapp
Did you have any luck on this as I have the same problem. Maybe you can help me out of you solved your problem. -
No Page_Load event when aspx is in iFrame?
It might be me but... I dont seem to get a Page_Load event when a opening an ASPX in an iFrame. I do geta Page_Load event when an item on the... -
aspx in IFRAME starts multiple session
I have a html portal page, where there are several IFrames. All IFrames point to aspx pages that belong to one aspnet web application. The... -
aspx page in IFRAME.
I'm calling window.showModalDialog in IE6 to place an IFRAME in a web page dialog box. I'm not abale to select or copy any text in IFRAME. It... -
how to interact client script within aspx page to other page functions, etc.? PLEASE!!!
Hi, I've spent all day trying to find some info on this...please help! I have an aspx page with an xmlDocument (not dataset/relational db) with... -
Mohammad A. Samara #2
Re: iframe in aspx page
Did you try using "Page.IsPostBack" Property?
International Computer Systems (London) Ltd. The Courtyard, 14a Sydenham
Road, Croydon, Surrey, CR0 2EE, United Kingdom [url]www.icslondon.com[/url] Telephone:
+44 (0) 208 681 5421, Facsimile: +44 (0) 208 688 1673 This email and any
files transmitted with it are confidential and intended solely for the use
of the individual or entity to whom they are addressed. This communication
may contain information which may be privileged. If you are not the intended
recipient or the person responsible for delivering the email to the intended
recipient, you are advised that you have received this email in error and
that any use, dissemination, forwarding, printing or copying of this email
is strictly prohibited.
"Fred" <fredg1232003@yahoo.com> wrote in message
news:2022fcea.0308091808.39ffc35d@posting.google.c om...> I have an aspx page: Main.aspx which has several components that cause
> a postback. In the page Main.aspx I also have an iframe which contains
> a multi-page pdf file.
>
> The problem I am facing is that whenever the user does an action which
> causes a postback on the main page Main.aspx, the page posts back and
> the pdf file in the iframe is reloaded. This is a problem becuase if
> the user has rotated or magnified the page then that is lost.
>
> Is there anyway that the content in the iframe is not refreshed? Any
> other ideas to maintain the state of the pdf file.?
>
> Thanks a lot!
>
> Fred
Mohammad A. Samara Guest
-
Steve C. Orr, MCSD #3
Re: iframe in aspx page
I'd suggest using regular frames instead of an IFrame.
That way each frame posts back independently - one is not embedded within
the other so you won't have this problem.
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"Fred" <fredg1232003@yahoo.com> wrote in message
news:2022fcea.0308091808.39ffc35d@posting.google.c om...> I have an aspx page: Main.aspx which has several components that cause
> a postback. In the page Main.aspx I also have an iframe which contains
> a multi-page pdf file.
>
> The problem I am facing is that whenever the user does an action which
> causes a postback on the main page Main.aspx, the page posts back and
> the pdf file in the iframe is reloaded. This is a problem becuase if
> the user has rotated or magnified the page then that is lost.
>
> Is there anyway that the content in the iframe is not refreshed? Any
> other ideas to maintain the state of the pdf file.?
>
> Thanks a lot!
>
> Fred
Steve C. Orr, MCSD Guest
-
MS News \(MS ILM\) #4
Re: iframe in aspx page
Natty,
can you provide us with an example of XMLHTTPREQUEST
etc..
Thanks
"Natty Gur" <natty@dao2com.com> wrote in message
news:%23kj51vuXDHA.1280@tk2msftngp13.phx.gbl...> Hi,
>
> If all of your clients based on IE you can use XMLHTTPREQUEST to access
> the page, retrieve just the data that you need (no postback and
> viewstate), and use javascript to update just the relevant HTML controls
> (nothing refreshed or blinked on the client without smart navigation).
>
> Natty Gur, CTO
> Dao2Com Ltd.
> 34th Elkalay st. Raanana
> Israel , 43000
> Phone Numbers:
> Office: +972-(0)9-7740261
> Fax: +972-(0)9-7740261
> Mobile: +972-(0)58-888377
>
>
> *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!
MS News \(MS ILM\) Guest
-
Natty Gur #5
Re: iframe in aspx page
I’m writing an article on this issue. If you want sample e-mail
(spamNatty@dao2com.com).
Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Natty Gur Guest
-
PJ #6
Re: iframe in aspx page
DHTML behaviors are your friend...given you're in an IE 5.5+ environment.
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/letimplDHTML.asp?frame=true[/url]
"MS News (MS ILM)" <sql_agentman@hotmail.com> wrote in message
news:ebXMlL4XDHA.736@TK2MSFTNGP09.phx.gbl...> Natty,
> can you provide us with an example of XMLHTTPREQUEST
> etc..
> Thanks
>
>
> "Natty Gur" <natty@dao2com.com> wrote in message
> news:%23kj51vuXDHA.1280@tk2msftngp13.phx.gbl...>> > Hi,
> >
> > If all of your clients based on IE you can use XMLHTTPREQUEST to access
> > the page, retrieve just the data that you need (no postback and
> > viewstate), and use javascript to update just the relevant HTML controls
> > (nothing refreshed or blinked on the client without smart navigation).
> >
> > Natty Gur, CTO
> > Dao2Com Ltd.
> > 34th Elkalay st. Raanana
> > Israel , 43000
> > Phone Numbers:
> > Office: +972-(0)9-7740261
> > Fax: +972-(0)9-7740261
> > Mobile: +972-(0)58-888377
> >
> >
> > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> > Don't just participate in USENET...get rewarded for it!
>
PJ Guest
-
Natty Gur #7
Re: iframe in aspx page
IE 5.0 +
"Windows® Script Components provide a lightweight, easily maintainable
way to create components for implementing DHTML Behaviors available in
Microsoft® Internet Explorer
-----------------
5.0. Using a script component allows script developers to
---
implement behaviors using Microsoft® Visual Basic® Scripting Edition
(VBScript), Microsoft® JScript® (ECMAScript), or any third party
scripting language that supports the Microsoft® ActiveX® Scripting
interfaces."
Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Natty Gur Guest
-
Steve C. Orr, MCSD #8
Re: iframe in aspx page
The way most people would probably do it is to have a frameset with 3 frames
containing: Pagemain, Page1, Page2
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
Developer for Hire
"Fred" <fredg1232003@yahoo.com> wrote in message
news:2022fcea.0308111741.7e39bca2@posting.google.c om...news:<eWLX9WuXDHA.1580@tk2msftngp13.phx.gbl>...> Thanks for all the replies. I feel that at this time without learning
> a lot, doing it the frames way would be fastest. I need some help with
> that.
>
> Can I have an aspx page with some components on it and at the sametime
> have a frameset with two frames inside of it? e.g. have pagemain.aspx
> with a datalist on it and also have a frameset with two frames: frameA
> (containing page1.aspx) and frameB (containing page2.aspx) in it.
>
> Thanks,
>
> Fred
>
> "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in messagewithin> > I'd suggest using regular frames instead of an IFrame.
> > That way each frame posts back independently - one is not embedded> > the other so you won't have this problem.
> >
> > --
> > I hope this helps,
> > Steve C. Orr, MCSD
> > [url]http://Steve.Orr.net[/url]
> >
> >
> > "Fred" <fredg1232003@yahoo.com> wrote in message
> > news:2022fcea.0308091808.39ffc35d@posting.google.c om...> > > I have an aspx page: Main.aspx which has several components that cause
> > > a postback. In the page Main.aspx I also have an iframe which contains
> > > a multi-page pdf file.
> > >
> > > The problem I am facing is that whenever the user does an action which
> > > causes a postback on the main page Main.aspx, the page posts back and
> > > the pdf file in the iframe is reloaded. This is a problem becuase if
> > > the user has rotated or magnified the page then that is lost.
> > >
> > > Is there anyway that the content in the iframe is not refreshed? Any
> > > other ideas to maintain the state of the pdf file.?
> > >
> > > Thanks a lot!
> > >
> > > Fred
Steve C. Orr, MCSD Guest
-
Steve C. Orr, MCSD #9
Re: iframe in aspx page
The way most people would probably do it is to have a frameset with 3 frames
containing: Pagemain, Page1, Page2
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
Developer for Hire
"Fred" <fredg1232003@yahoo.com> wrote in message
news:2022fcea.0308111741.7e39bca2@posting.google.c om...news:<eWLX9WuXDHA.1580@tk2msftngp13.phx.gbl>...> Thanks for all the replies. I feel that at this time without learning
> a lot, doing it the frames way would be fastest. I need some help with
> that.
>
> Can I have an aspx page with some components on it and at the sametime
> have a frameset with two frames inside of it? e.g. have pagemain.aspx
> with a datalist on it and also have a frameset with two frames: frameA
> (containing page1.aspx) and frameB (containing page2.aspx) in it.
>
> Thanks,
>
> Fred
>
> "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in messagewithin> > I'd suggest using regular frames instead of an IFrame.
> > That way each frame posts back independently - one is not embedded> > the other so you won't have this problem.
> >
> > --
> > I hope this helps,
> > Steve C. Orr, MCSD
> > [url]http://Steve.Orr.net[/url]
> >
> >
> > "Fred" <fredg1232003@yahoo.com> wrote in message
> > news:2022fcea.0308091808.39ffc35d@posting.google.c om...> > > I have an aspx page: Main.aspx which has several components that cause
> > > a postback. In the page Main.aspx I also have an iframe which contains
> > > a multi-page pdf file.
> > >
> > > The problem I am facing is that whenever the user does an action which
> > > causes a postback on the main page Main.aspx, the page posts back and
> > > the pdf file in the iframe is reloaded. This is a problem becuase if
> > > the user has rotated or magnified the page then that is lost.
> > >
> > > Is there anyway that the content in the iframe is not refreshed? Any
> > > other ideas to maintain the state of the pdf file.?
> > >
> > > Thanks a lot!
> > >
> > > Fred
Steve C. Orr, MCSD Guest



Reply With Quote

