Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)

<asp:Label ID="Label1" runat="server" Text="اسم التصنيف" CssClass="col-md-2 control-label alabel">

<asp:TextBox ID="cat" runat="server" CssClass="atxt form-control" ValidationGroup="cats">


<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="اسم التصنيف" Font-Bold="true" Font-Names="kas" ForeColor="#990000" ControlToValidate="cat" ValidationGroup="cats">



What I have tried:

why this required validator is not working ?
Posted
Updated 6-Apr-16 2:14am
Comments
bluesathish 6-Apr-16 10:44am    
assign this validationGroup="cats" into your button control's property.
[no name] 6-Apr-16 17:00pm    
i have do it already , but still not working

1 solution

did u set ValidationGroup="cats" property of Button
 
Share this answer
 
Comments
Richard Deeming 6-Apr-16 10:17am    
Are you asking for clarification, or answering the question? You've posted this as an answer, but phrased it as a comment.

Also, please don't use "text-speak".

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900