| Author: Jyoti Sharma 04 Jul 2008 | Member Level: Gold | Rating: Points: 4 |
Hi, I guess you want to delete the text of both the textboxes . So first thing is make the EnableClientScript="false" of the compare validator control. and on click of button write if (IsValid == false) { TextBox1.Text = ""; TextBox2.Text = ""; }
|