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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:53:31+00:00 2026-05-26T02:53:31+00:00

I have One CheckBox above the CheckBoxList and its Text as Show only Selected

  • 0

I have One CheckBox above the CheckBoxList and its Text as “Show only Selected Items”.

My CheckBoxList has 10 items and three items as Selected.

But when I Check the CheckBox, I want to display only the selected three items in the CheckBoxList.
When I uncheck the CheckBox, I want to display all the 10 items and three items as selected.

How to do this?

  • 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-26T02:53:32+00:00Added an answer on May 26, 2026 at 2:53 am

    in the checked event of checkbox of “Show only Selected Items”, do loop and check which is checked and if checkbox of checkboxlist is not selected then remove/visible false that item from checkboxlist.

    void Check_Clicked(Object sender, EventArgs e) 
    {
        if(chk.Items[i].Selected != true)
            chk.visibility = chk.checked;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have one problem controlling checkbox, i'm reading, and searching about the topic but
I have a listview whose rows has one textview and a check box. I
I have a gridview that has a template field containing a checkbox as one
I have one checkbox list like <asp:CheckBoxList id=CheckBoxList1 runat=server > <asp:listitem Value=1>Item 1</asp:listitem> <asp:listitem
I have a dynamic listview with one text and one checkbox per line.when i
I have one checkbox use jQuery UI <input type=checkbox id=checkbox_1 name=checkbox_1 value=1 /> <label
I have a ListView with a CheckBox as one of the columns, bound to
I have a ListView ,checkbox and spinner in one layout , and on different
I have a grid with one TemplateField which is a checkbox and say 2
i have disabled all the checkboxes except one. On click of that checkbox i

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.