Hi
I have a web form which sends a CDONTS email, once the form is processed it sends the email and then I set a Label1 to say "thank Your request has been processed" on teh same page
However, the values that the user enetered are still visable on the form. I was just wondering is there is there a method in asp.net I can use to clear the text in the form.
I thought I could use something like:
IfIsPost then
txtName.text = ""
End If
However this causes a required field validation error.
Thanks in adavance
I have a web form which sends a CDONTS email, once the form is processed it sends the email and then I set a Label1 to say "thank Your request has been processed" on teh same page
However, the values that the user enetered are still visable on the form. I was just wondering is there is there a method in asp.net I can use to clear the text in the form.
I thought I could use something like:
IfIsPost then
txtName.text = ""
End If
However this causes a required field validation error.
Thanks in adavance