Re: 2 validation groups problem
From: Shaun Wilde (shaun_wilde_at_nospam.co.uk)
Date: 12/13/04
- Previous message: Shaun Wilde: "Re: UIP 2.0 with Whidbey ( User Interface Processing Block )"
- In reply to: john morales: "2 validation groups problem"
- Next in thread: john morales: "Re: 2 validation groups problem"
- Reply: john morales: "Re: 2 validation groups problem"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 13 Dec 2004 21:47:41 -0000
can you turn off causesvalidation for the login button?
"john morales" <jmorales@NO_SPAM-gmail-R3M0VE_TH1S.com> wrote in message
news:22064632385435103087313@msnews.microsoft.com...
> Hi guys,
> I have a problem and i know there must be a solution for this as it is
such
> a basic common practice in asp.net development.
>
> Scenario:
> i have many webforms in a site, most with two different custom controls,
> one is a login module, the other is a generic data entry module. When
there
> are no validation controls on the page there is no problem. But when the
> the data entry module has validation controls, the login module triggers
> the data entry module's validation.
>
> Q: how can i get the login module not to trigger the validation? i found
> a few solutions that basically advise to turn off clientside validation
which
> is not an option, as posting back just to return a validation error
message
> is bad a user experience and the developer should be shot on site. Any
elegant
> solutions?
>
> I know that asp.net 2 will have validation groups to fix this poor design
> flaw, but is there something that can be done now that will mimic
validation
> groups. Or am i just stuck with capturing the current focused input and
setting
> validation off/on accordingly.
>
>
- Previous message: Shaun Wilde: "Re: UIP 2.0 with Whidbey ( User Interface Processing Block )"
- In reply to: john morales: "2 validation groups problem"
- Next in thread: john morales: "Re: 2 validation groups problem"
- Reply: john morales: "Re: 2 validation groups problem"
- Messages sorted by: [ date ] [ thread ]