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" <firstname.lastname@example.org> wrote in message
news:email@example.com 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!