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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:21:39+00:00 2026-05-25T22:21:39+00:00

I have several checkboxes inside an UpdatePanel of asp.net Let’s say, I have 3

  • 0

I have several checkboxes inside an UpdatePanel of asp.net

Let’s say, I have 3 checkboxes in that panel. Each time, one checkbox is checked, the previous checked checkbox will be unchecked.

I have tried like this:

<asp:CheckBox ID="CheckBoxExport1" CssClass="checkboxSingle" />                                     

<asp:CheckBox ID="CheckBoxExport1" CssClass="checkboxSingle" />                                     

<asp:CheckBox ID="CheckBoxExport1" CssClass="checkboxSingle" /> 

In js:

 $('.checkboxSingle').live('click', function (e) {

        if ($(this).is(':checked')) {
            $(".checkboxSingle").attr('checked', false);
            $(this).attr('checked', 'checked')
        }
    });

The click is function but the rest does not.

  • 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-25T22:21:40+00:00Added an answer on May 25, 2026 at 10:21 pm

    What’s happening is that on postback the page reloads and the JavaScript doesn’t re-run. I’m posting from my phone so I don’t have the code on me. But google “updatepanel JavaScript postback”. You need to use an asp page event.

    I’ll edit this later if you tell me you can’t find it.

    Good luck

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

Sidebar

Related Questions

Using ASP.NET to generate several checkboxes. Looking for a JavaScript solution that will test
I have a ListView in ASP.NET where one column consists checkBoxes. I want the
I have an ASP.NET code-behind page linking several checkboxes to JavaScript methods. I want
I have a page with several CheckBoxList controls with 4 checkboxes in each of
I have a form with several groupboxes, each containing controls several checkboxes. I want
I have several tabs. Each tab has several nested elements that contain checkbox input
I have several checkboxes with the same name, and values that are a power
I have a complex asp.net form,having even 50 to 60 fields in one form
i have several checkboxes that when checked show a hidden div. Is there a
On a page, I have several checkboxes, the id is different for each. The

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.