By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,986 Members | 1,960 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,986 IT Pros & Developers. It's quick & easy.

Reset errormessage on CustomValidator

P: n/a
Hi

I am using a customvalidator to perform server validation of user input in webform1. When the user input has been validated, webform1 (which has the customvalidator and the user input) opens a new window (by adding a script to the web page that opens a new window by using response.write), redirects to webform2 in the new window.

If user input is invalid, the error message of the customvalidator is displayed on webform1 and there is no redirection. When the user re-enters input, presses the button and the input is valid, a new window with webform2 is opened. But the errormessage is still present in webform1. How can I make sure that the error message is removed from webform1? I wish to avoid client side scripts, as the validation is rather complicated and is best performed on server side

Thanks
Dorte
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I have found the solution, so don't spend any time on this
Thanks for looking, anyway

Dorte
Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.