I use CustomValidate to check för "<" in the beginning of text entered into few text boxes. It goes just fine, as long as the user deletes the potentially dangerous sign and updates the page. But if the user choses to break the update and instead press Exit button, the unpleasant error page is shown, [HttpRequestValidationException (0x80004005). The error message states that a “potentially dangerous Request.Form value was detected…” I don't want to rewrite the validation, as date and e-mail validators are really good. Is there any way to avoid the error page showing up? I did put CausesValidation="False" on my Exit button but in this case it does not help. Help is needed quickly, I haven't much time, so if anyone knows a remedy, answer PLEASE!
Anna Krieger 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.