hooking into the validation summary control, adding a custom error message
- From: DotNetNewbie <snowman908070@xxxxxxxxx>
- Date: Mon, 3 Mar 2008 10:46:56 -0800 (PST)
Hello,
I have a validation summary tag in my .aspx page, and when a user
clicks on a submit button I check the database for a duplicate
username that the user entered into a textbox control.
If I find a duplicate username in the database, I want to insert a
message into the validationsummary control like "username already
exists, please enter a different username".
How can I do this?
.
- Follow-Ups:
- Re: hooking into the validation summary control, adding a custom error message
- From: Jesse Houwing
- Re: hooking into the validation summary control, adding a custom error message
- Prev by Date: Re: Underlining datagridview column caption
- Next by Date: DateTimePicker.. How do detect final date selection instead of Date_Changed Event
- Previous by thread: ClickOnce fails to load after digital signature expired / renewed
- Next by thread: Re: hooking into the validation summary control, adding a custom error message
- Index(es):
Relevant Pages
|