hi
I have textbox in my page and use RequiredFieldValidator for it below is code
<asp:TextBox ID="TxtNameF" runat="server" CssClass="txtModelCG"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="please enter text"
ControlToValidate="TxtNameF" Display="Dynamic" CssClass="validation"></asp:RequiredFieldValidator>
now I want if I don't insert text in textbox when I click on button it changes textbox background color and show error that "please enter text"...
How I can do it?
Best regards
Neda