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 7727151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:23:17+00:00 2026-06-01T05:23:17+00:00

I have an ASP.NET Web Forms web site. It has a page inside of

  • 0

I have an ASP.NET Web Forms web site. It has a page inside of a master page. There are a lot of items on this page that do a post-back, but with a different GET parameter. So for example I am on a http://mysite/mypage?p=1, and then I click on some item and go to http://mysite/mypage?p=2, and so on. Obviously, the master page doesn’t change, the only thing that changes is the URL and the page content, so actually there is no need to do a full post-back. So I would like to rewrite the page to do a partial AJAX-style post-back and to have the URL changed (I want the users to be able to make bookmarks and do proper browser history navigations). But how do I do that?

I can use UpdatePanel for example, and I can make all items to be some sort of buttons that do a post-back instead of being hyperlinks that do page navigations. But my URLs will remain the same, and this is bad.

I would prefer an answer that uses either UpdatePanel control or jQuery library, but answers that utilize other technologies are also fine because they might give me a hint on solving my problem.

  • 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-06-01T05:23:18+00:00Added an answer on June 1, 2026 at 5:23 am

    The only way to achieve this is to dynamically load content while using “#” in the URL. For instance, http://mysite/mypage#1, http://mysite/mypage#2. This enables the ability to change the URL on demand without having to re-direct while performing AJAX type functionality. The URL can be bookmarked as well.

    Of you course, you’ll need to write some Javascript to parse out the characters after # or some type of event listener when a partial postback occurs to pass in different parameters.

    I’ve implemented this a few times already and this is the only thing that I know of that solves the issue you’re having. Twitter was somewhat an inspiration at that time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a very basic ASP.NET web site. It has a single page (TestPage.aspx)
I have a web site that runs both classic ASP and ASP.NET Webforms. The
I have a asp.net web forms app that uses System.Web.Caching.Cache to cache xml data
I have an ASP.NET 4 Web Forms app that is using URL Routing. I
I have an ASP.NET web application that is using forms authentication. Everything is configured
I have a windows forms client that consumes an ASP.net web service. It's my
I have a website that uses basic ASP.Net forms authentication. In the web.config file
I have a ASP.NET MVC site that is locked down using Forms Authentication. The
Is it possible to have a web service within an ASP.NET forms web site
I have an ASP.NET site that has been running perfectly for a long time,

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.