Results 1 to 3 of 3

Thread: Asp.net validation control issues

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2002
    Posts
    211

    Asp.net validation control issues

    Hello folks,

    I have a simple screen. There is one " date" text box and two buttons and a valiation control.

    I have attached the screen shot.
    When the user clicks on a "Go" button valiation control pops up the warning message "Enter a date". When the user clicks on "Runs" button, I disabled the validation in the Runs button control and so warning pops up. So far so good.

    I added an additional grid control in the same page where the user can edit the grid content.

    After editing the grid content if he hits the save button the valiation popup is coming up saying that the "date" text box has to be entered. How can I disable the validation control for the gridview control.

    I tried putting CausesValidation="false" in the Gridview control. It threw error saying there is no such property or something. I also tried putting in the <columns>. That's also not working and same error.

    So how can I limit the validation control check to specifically to only "date" text box?

    thanks
    nath
    Attached Images Attached Images  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width