RadioButton CausesValidation problem

Discussion in 'ASP .Net Web Controls' started by Mikeg, Jun 20, 2006.

  1. Mikeg

    Mikeg Guest

    Hi
    I have a RadioButton with CausesValidation set to true.

    When I click the RadioButton and an error is displayed (eg. due to non
    numeric data in a numeric field) an error message is displayed. This is as
    expected.

    However, the problem is that the RadioButton (which I just clicked) is now
    checked, whereas I want the other RadioButton in the group (ie. the one that
    was checked initially) to remain checked until the textboxes have passed
    validation.

    Any ideas?

    Thanks for any help,

    MikeG
    Mikeg, Jun 20, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Josh Anderson - remove Zs to reply

    CausesValidation not taking in Repeater control

    Josh Anderson - remove Zs to reply, Nov 20, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    362
    Josh Anderson - remove Zs to reply
    Nov 20, 2003
  2. George Durzi

    CausesValidation of editcommandcolumn

    George Durzi, Feb 12, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    951
    George Durzi
    Feb 12, 2004
  3. z. f.
    Replies:
    4
    Views:
    1,339
    z. f.
    Jun 23, 2004
  4. z. f.
    Replies:
    4
    Views:
    2,244
    Peter Blum
    Jun 25, 2004
  5. Martin
    Replies:
    3
    Views:
    752
    Peter Blum
    May 21, 2005
Loading...

Share This Page