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 7626447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:19:34+00:00 2026-05-31T05:19:34+00:00

There isn’t the attribute Value : <asp:CheckBox ID=CheckBox1 runat=server /> while on standard HTML

  • 0

There isn’t the attribute Value :

<asp:CheckBox ID="CheckBox1" runat="server" />

while on standard HTML this is allowed :

<input type="checkbox" ID="CheckBox1" value="My Valyue" />

why?

  • 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-31T05:19:35+00:00Added an answer on May 31, 2026 at 5:19 am

    The Text property is used to render a label for the checkbox.

    The control has an InputAttributes property that you can add to:

    myChk.InputAttributes.Add("value", "My Value");
    

    I believe that if you simply add the value attribute to the markup, this will also get populated.

    You can access the value like so:

    myChk.InputAttributes["value"];
    

    To answer the question of why Value is not a build in attribute to the CheckBox control:

    A CheckBox in isolation (just by itself) needs no value. By definition it is a boolean and is identified by its ID. All you need to do is check whether it was checked or not.

    The value comes into play when you group checkboxes and there is a control for that – the CheckBoxList that uses ListItem – each ListItem does have a Value property.

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

Sidebar

Related Questions

This was asked quite a while ago in SO but there isn't a definitive
i know that there isn't code inside my question, but i think this is
I'm confused about this. Most of us have been told that there isn't any
Isn't this / ? Why is there a constant for it? It's not like
ANSWER: There isn't a natively managed equivalent for this method. However, a good example
I'm a little surprised that there isn't some information on this on the web,
I have searched everywhere for this and it seems like there isn't any obvious
I'm using the example here . If there isn't a value for the key,
I'm pretty shocked I can't find an answer to this (maybe there isn't one).
It auto detect my current location when i run this app but there isn't

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.