Ask a Question related to ASP.NET General, Design and Development.
-
anouk #1
Re: How do I go back to calling page!!
Well, in the load event of your aspx page, you could try something like
this:
if not page.ispostback then
txtHidden.Text = request.servervariables("HTTP_REFERER")
end if
then the txtHidden textbox would always contain the url from which the page
was originally called, even after postbacks.
Hope this works....
"Jay Balapa" <jbalapa_nosam@atginc.com> wrote in message
news:e97mbQWUDHA.1688@TK2MSFTNGP11.phx.gbl...name.> Hello,
>
> If a htm page calls a aspx page and if the aspx page does a lot of
> postbacks, then it is entered in the history.
>
> If I hit the back button on the browser, I want it to go to the htm page,
> but not to the previous postback.
>
> asp page can be linked to any htm page, so I cannot hardcode the page>
> Thanks
> Jay
>
>
anouk Guest
-
Page Has Expired Message in between the php Page When I click Back in Explorer Menu
Could anyone please help me on this?? I have a php script page, which is basically quiz. Visitors (after login in with their email address) are... -
Prevent 'Page has expired' when a client hits back to return to a search page
I have a search page that I want to enable private caching so that when a user hits the back button they dont get the page has expired error. I... -
preventing go back and next page
Hi all! I want the users not to go previous or next page with using neither keyboard nor explorer buttons. I hide the buttons on explorer when... -
My Page and BACK button
Can you rephrase your question? -- Dan Vallejo, Visual Studio and .NET Setup Team This posting is provided "AS IS" with no warranties, and... -
Calling a html page from an asp page then returning to the next statement on the original asp page
Hi! I have an ASP page that calls excel to create a report. This works fine. Now I need to call a html calendar page to filter what rows are... -
Boban Dragojlovic #2
Re: How do I go back to calling page!!
Except instead of declaring a hidden text box, use the ViewState collection
which is automatically created and persists just for the duration of the
current page ... no need to create/declare variables on the ASPX page
"anouk" <anouk@fkoff.com> wrote in message
news:mmETa.28986$F92.3296@afrodite.telenet-ops.be...page> Well, in the load event of your aspx page, you could try something like
> this:
>
> if not page.ispostback then
> txtHidden.Text = request.servervariables("HTTP_REFERER")
> end if
>
> then the txtHidden textbox would always contain the url from which thepage,> was originally called, even after postbacks.
>
> Hope this works....
>
> "Jay Balapa" <jbalapa_nosam@atginc.com> wrote in message
> news:e97mbQWUDHA.1688@TK2MSFTNGP11.phx.gbl...> > Hello,
> >
> > If a htm page calls a aspx page and if the aspx page does a lot of
> > postbacks, then it is entered in the history.
> >
> > If I hit the back button on the browser, I want it to go to the htm> name.> > but not to the previous postback.
> >
> > asp page can be linked to any htm page, so I cannot hardcode the page>> >
> > Thanks
> > Jay
> >
> >
>
Boban Dragojlovic Guest



Reply With Quote

