fileupload and validation

Last post 04-17-2008 3:36 PM by eagal. 1 replies.

Sort Posts:

  • fileupload and validation

    04-17-2008, 2:31 PM
    • Member
      27 point Member
    • eagal
    • Member since 04-04-2008, 2:06 PM
    • Ontario
    • Posts 21

    Hi. My situation is:

    in a gridview's each row, I have a button which by click will popup a form in which is a fileupload control and a validation control to check file extention.

    when I first time click a button, everything will work fine, then after I upload a file, the popup form will disappear. it just what I want.

    then, when I click another button, it popup again and the validation is fired.  I thought that it is the viewstate cause the validation, and I disabled viewstate of the fileupload control and it's container ( a panel control) but the problem still the same

    My question is what can I do to don't fire the validation when the popup alive again?

    Thanks

     

  • Re: fileupload and validation

    04-17-2008, 3:36 PM
    • Member
      27 point Member
    • eagal
    • Member since 04-04-2008, 2:06 PM
    • Ontario
    • Posts 21

    I got what I want by using ValidatorCalloutExtender, it is awesome

Page 1 of 1 (2 items)