hi..this saritha

  • 12 years ago
    I have an aspx page with validationsummary, textbox and submit button.Textbox has required field validator.If I click submit button with out entering anything in texbox.required field validator gets fired and it showing error message. but the screen is flickering and finally textbox has got focus.No where I am setting focus to any control...Why the screen is flickering


  • 12 years ago


    If by flicker you mean that the page is posting back, then you need to enable the client script property on the requiredfieldvalidator.

    Put this declaration into the requiredfieldvalidator:


    That should sort it.


    Simon C

  • 12 years ago


    thanks for your reply...

    i found the sollution...

    flickering is becuse setting foucs to textbox ,when validation gets fired...

    function that setting focus is in  js file , and that is located in C:\Inetpub\wwwroot\aspnet_client\system_web\1_1_4322  ...

    i didn't check here..

    once again thanks..


Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.” - Antoine de Saint Exupéry