Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1030637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T12:43:55+00:00 2026-05-16T12:43:55+00:00

Am trying to elegantly validate a CheckBoxList in ASP.NET webforms. Problem: Unknown server tag

  • 0

Am trying to elegantly validate a CheckBoxList in ASP.NET webforms.

Problem: Unknown server tag ‘cc:ValidateableCheckBoxList’.

namespace fmwebapp1.UserControls
{
    [ValidationPropertyAttribute("ValidateableProperty")]
    public class ValidateableCheckBoxList : CheckBoxList
    {
        public string ValidateableProperty
        {
            get { return (this.Items.Cast<ListItem>().Where(i => i.Selected).Count() > 0) ? "something was selected" : ""; }
        }
    }
}

In the same namespace as my aspx file:

 <%@ Register Namespace="fmwebapp1.UserControls" Assembly="ValidateableCheckBoxList" TagPrefix="cc" %>   
<cc:ValidateableCheckBoxList runat="server" ID="cblFindTheSite">
                                        <asp:ListItem>The Press</asp:ListItem>
                                        <asp:ListItem>blah1</asp:ListItem>
                                        <asp:ListItem>blah2</asp:ListItem>
                                                                                </asp:CheckBoxList>
                                    <div class="validators">
                                        <asp:RequiredFieldValidator runat="server" ID="rfvTest" ControlToValidate="cblFindTheSite" Text="Failed validation" ></asp:RequiredFieldValidator>
                                    </div>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T12:43:56+00:00Added an answer on May 16, 2026 at 12:43 pm

    Check that the assembly referenced in the Web Application matches the “Assembly” attribute in your Register directive.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our ASP.NET 2 web application handles exceptions very elegantly. We catch exceptions in Global
I'm learning ASP.NET MVC 3 and trying to create a View with a single
I'm trying to determine if there is a way to accomplish this elegantly. I
I'm trying to figure out how to design a small application more elegantly, and
I am trying to find an elegant framework to arrange all of my server
I'm trying to validate a SELECT. Normally I'd use an inList, as SELECT implies
Trying to find an elegant solution for a problem in my CMS system. If
I am trying to find an elegant way to validate two related TextBox values
I'm trying to put together a comprehensive regex to validate phone numbers. Ideally it
I'm trying to check for an SVN tag existence from a Perl script. So

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.