Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6365439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:17:33+00:00 2026-05-25T00:17:33+00:00

I have the test1.aspx and test2.aspx. A button contains in the test1 page. I

  • 0

I have the test1.aspx and test2.aspx. A button contains in the test1 page. I make the code when the button clicks, the test2 page is transferred by using “server.transfer” method. So, we will see the test2 page in the browser and test1 page address in the address bar of browser. But if I do refresh button of the browser, the button of the test1.aspx works again. All browser happen like this. I want to refresh the test2.aspx page. How can I do this. I want to know how to work browser refresh button and use server.transfer.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T00:17:34+00:00Added an answer on May 25, 2026 at 12:17 am

    You should use Response.Redirect() instead. This will update the address bar and add it to the Browser History. Server.Transfer() can happen without the browser knowing about it. The browser might request a page, but the server can return the content of another. See this question.

    EDIT

    You can also use javascript in the OnClientClick of your button to do the navigation:

    <asp:button id="Button1"
           text="Go To Test2"
           onclientclick="javascript:window.location.href = 'test2.aspx'""/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Follwing code that i have tried doesn't display any thing. Test1.aspx protected void Button1_Click(object
There are test.aspx page and test.ascx web user control. I have a button in
I have a textbox and button in an aspx page. I enter some text
I have the following test ASPX page: <head runat=server> <title></title> <script src=js/jquery-1.2.6.min.js type=text/javascript></script> <script
I have an aspx page that contains a number of collapsiblepanels and I want
I have a test in Excel VBA: If (test1) And (test2) And (test3) Then
I have two virtual hosts on windows(for example: test1.dev and test2.dev). But it always
I have a requirement. Given say Test1,Test2, I have to perform a like operation.
I have this string <p/><ul><li>test1<p/></li><li>test2<p/></li></ul><p/> What i attempt to do is extract all the
I have link that calls a function when clicked: <a href=javascript:spawnMenu(this); id=link1>Test1</a> To make

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.