Is there a clean way to suppress screen refresh?

Coreysan 1,651 Reputation points

I have a basic aspx website. If a user doesn't fill in testboxes correctly and clicks on a process button, nothing will happen. (Postback occurs but nothing is


In IE11 the screen flashes quite dramatically when refreshing from a postback.

In FireFox, it's not nearly as obvious. It looks better - you can still see a little flicker, but it's so much nicer than IE11.

Is there a cool way to suppress all that screen "flashing" on a postback?

A set of technologies in the .NET Framework for building web applications and XML web services.
3,303 questions
{count} votes

Accepted answer
  1. Sam of Simple Samples 5,516 Reputation points

    I am not sure but probably you want to use Partial Page Updates with ASP.NET AJAX. The following are my notes written for myself about how to do it; the article has details and explanations.

    • Add a ScriptManager with EnablePartialRendering=true (can be added from the toolbox, in AJAX Extensions)
    • Add an UpdatePanel
    • Add a ContentTemplate within the UpdatePanel
    • Put controls in the ContentTemplate
    0 comments No comments

0 additional answers

Sort by: Most helpful