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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T06:36:14+00:00 2026-06-06T06:36:14+00:00

I’ve a problem with the page jumping after failed asp.net validation. I can restore

  • 0

I’ve a problem with the page jumping after failed asp.net validation. I can restore the scroll state but to do this I need to bind an event after the client side asp.net validators validation fails. I have tried to hook into the events as follows

$('input[type=submit],input[type=image],:button').bind('click', function (e) {
     //.. restore scroll state
)};

OR

$('form').bind('submit', function (e) {
     //.. restore scroll state
});

These fire before the validation fails and the page jumps

I’ve looked at hooking into the javaScript API for the validators but none of these hooks seem to do the trick.

I’ve looked at this SO Answer but I don’t want to fire the validators manually as this is going to cause other issues.

The solution needs to hook into every page of a built out system so the option of removing the asp.net validators and putting in JQuery validation plugin isn’t realistic.

Any ideas how I can wire into the client side event after the validation fails (in a way that can be put into a master page and applied globally).

Many Thanks

  • 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-06T06:36:17+00:00Added an answer on June 6, 2026 at 6:36 am

    After leaving this up for a while – i think the only way this is ever going to happen is to

    1. Remove the asp.net validators and and do the validation in a custom way with JQuery/Javascript OR

    2. Remove the validation summary altogether and just have the failed validation notification next to the individual fields OR

    3. Maybe consider sonething unpleasant like smart edit to at least get IE running

    I think in short there was never going to be a quick pluggable way to do this. Substantial rewrites may have been the only solution

    That said if anyone knows different please post

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

Sidebar

Related Questions

I have an interesting problem when using partial page update in asp.net with scriptmanager
Can someone please advise a good approach to this problem: On page load, an
Trying to use JSTL but have the following problem: Index.xhtml page: <?xml version=1.0 encoding=UTF-8?>
Maddening problem here. When my page loads: <body onload=getClientDateTime();> It runs this function: document.getElementById('ClientDateTime').value=hello
I need to let the page loads at specific label within a page after
This is the problem page I'm developing. Consider the leftmost column header, with header
I have a problem with page rendering after migration from WAS 6.0 + JSF
I have a problem with a page where I am trying to get colorbox
I've got a problem with my page's layout. I want to create 3 table
Problem: to show that a Not-SO-page has been discussed in SO when you at

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.