asp.net RequiredFieldValidator with custom control.
- by Evgeny
I have custom control with asp textbox inside.
And i need to Validate by RequiredFieldValidator my custom control on CLIENT side.
I added attribute to custom control class:
[ValidationProperty("Text")]
public class WatermarkTextBox : System.Web.UI.UserControl
{
}
It looks like working but it always make submit to server. How can i check it only on client side?