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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:23:13+00:00 2026-06-12T08:23:13+00:00

I’ve an Asp.net .aspx page. I am taking a simple contact us page for

  • 0

I’ve an Asp.net .aspx page. I am taking a simple contact us page for example. The page has 3 fields- name/email/question. The scenario is, A user entered a wrong email address, in response, system shows an error message by checking it to a Regex.

Now if user hits back browser button or backspace key, browser displays the same page without error message- that means 1 step behind.

If user does 2 concurrent mistakes-
1)Leaves name box empty, hits Submit (error message displays says all fields are mandatory).
2)Wrong email, hits Submit (error message displays wrong email entered)

Now if user hits back browser button or backspace key, browser displays the same page with previous error message (for empty box) i.e 1 step behind. Again hits back, displays same page without any error message, i.e 2 steps behind.

I do not want the back button or backspace to do these unwanted actions. I also do not want to disable back button or not to cache anything.

What I need, when user hits back button or backspace, they should be landed to the previously browsed different page, not the same page. That means, I do not want browser cache to hold page during multiple postbacks. Rather, cache should hold page only once when it landed initially.

I heard sometime that this approach called smartnavigation, I tried googling but couldn’t find something very useful and optimized. This was the best article I found yet (not sure this is what I am looking for).
http://support.microsoft.com/kb/913721

The problem is, I am not fully sure How to exactly reference this issue.

I hope my question is pretty straight forward (I tried to be clear). Please let me know if something is not clear.

I would greatly appreciate any kind help.

Thanks in advance.

  • 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-12T08:23:14+00:00Added an answer on June 12, 2026 at 8:23 am

    I believe you could just put your controls inside an UpdatePanel with UpdateMode set to Always i.e.

    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always">
        <ContentTemplate>
            // Your controls
        </ContentTemplate>
    </asp:UpdatePanel>
    

    You will also need a ScriptManager inside the Form element of the Page e.g.

    <form id="form1" runat="server">
        <asp:ScriptManager runat="server" EnablePartialRendering="true" />
    ....
    </form>
    

    This will stop the Page doing a full postback and should stop the behaviour you have described. I would also use client side validation with a RegularExpressionValidator or RequiredFieldValidator etc.

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

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm making a simple page using Google Maps API 3. My first. One marker
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
In my XML file chapters tag has more chapter tag.i need to display chapters

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.