Legal Notice
The opinions expressed herein are my own personal opinions and do not represent my employer’s view in anyway.Top Posts
- C# HttpClient POST or PUT Json with content type application/json
- C# get results from Task.WhenAll
- Run tasks in parallel using .NET Core, C# and async coding
- C# Get expiry timestamp from JWT token
- Using C# HttpClient from Sync and Async code
- Creating dynamic arrays and lists using Dynamic and ExpandoObject in C#
- C# Remove Duplicates from List with LINQ
Archive
Meta
Tag Archives: CustomValidator
Add text to asp:ValidationSummary (C#)
This trick is especially useful when you have custom code to be executed after your form have been submitted, and still wishes to communicate an error the same way as you communicate form validation errors. Imagine the following ValidationSummary: Any … Continue reading
Validate CheckBoxList using a CustomValidator
In this article I explain how you can validate that at least one checkbox is checked in an asp:CheckBoxList using an asp:CustomValidator, and how to make it work server side and client side. None of the built in .net validators … Continue reading
Posted in .net, c#, General .NET
Tagged .NET, CheckBoxList, ClientValidationFunction, ControlToValidate, CustomValidator, isvalid, Javascript, server side validation, validation
6 Comments