I have a gridview which contains a CustomValidator in one of the ItemTemplates of the TemplateField. The CheckIfActivityValueSelected method is being called successfully and for now, I'm returning args.IsValid = False for each call, just for testing. I see
the text of the CustomValidator in Dev Tools but it's visibility is hidden and I also see the message in the ValidationSummery, again, display=None. Using Framework 4.0
Here's some client side:
<tr>
<td colspan="3">
<asp:ValidationSummary ID="valSum" DisplayMode="BulletList" runat="server" ShowSummary="true" HeaderText="Issue(s) before saving:"Font-Names="verdana" Font-Size="12" ForeColor="Red" BorderStyle="Solid" BorderColor="Red" BorderWidth="2" Width="75%" />
</td>
</tr>
...
...
...
<asp:TemplateField ShowHead ...
Go to the complete details ...