validation field and re-painting the page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vstud
    New Member
    • May 2008
    • 17

    validation field and re-painting the page

    Hi there,

    I've place a simple ASP 2.0 page with couple of input fields and a submit button.

    The input text fields have validation control associate with them.

    the issue happens when I click the Submit button (the whole page becomes blank and then all) the controls are being re-painted again.

    If I take remove the validations control nothing is being re-painted and all works fine.

    any idea what's happening?

    TIA
  • cloud255
    Recognized Expert Contributor
    • Jun 2008
    • 427

    #2
    Try putting all the field values into an object that is not checked, then after the check call a function to re-fill all the fields based on the data in your object.

    Comment

    Working...