Browsing the archives for the C# category

ASP.NET – Create Validators for CheckBoxLists

in .NET Development, ASP.NET, C#

To validate ASP.NET CheckBoxLists, you need to write an own validator. A CustomValidator will not work, because it can’t take a CheckBoxList as a single object in the ControlToValidate property. ASP.NET will generate sequential IDs for the CheckBoxes in a CheckBoxList object, so there is no chance to validate it as “single control”. That works for non-listing objects, […]

0 Comments