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

  • Home
  • SEARCH
  • 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 739811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T08:26:36+00:00 2026-05-14T08:26:36+00:00

This is about as beginner as it gets regarding AJAX, but here it goes.

  • 0

This is about as beginner as it gets regarding AJAX, but here it goes.

  1. I want to have one checkbox somewhere on an ASP.NET web form (ASPX).

  2. When the user clicks the checkbox, I want one of those spinning indicators to show.

  3. While that spinning indicator is showing, I want an update operation to occur in the database to reflect that the user has intended for that checkbox to be checked.

    update MyTable set CheckboxChecked = 1

  4. Then, as soon as the update operation has completed (must be verified to actually have been written), I want that to be reflected in the checkbox by removing the spinning indicator and replacing it with the standard checked checkbox.

I’m guessing this is done with an UpdatePanel and possibly an update statement followed by a looped call to a select statement… but I have never used AJAX before and have no idea how to go about it.

Thanks!

  • 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-14T08:26:36+00:00Added an answer on May 14, 2026 at 8:26 am

    Add an update progess like this:

    <asp:UpdateProgress ID="UpdateProgress1" runat="server" DisplayAfter="0">
    <ProgressTemplate>
      <div style="position: absolute; width: 100%; height: 100%; z-index: 100; background-color: Gray;
        filter: alpha(opacity=70); opacity: 0.7;">
        &nbsp;
      </div>
      <table style="position: absolute; width: 100%; height: 100%; z-index: 101;">
        <tr>
          <td align="center" valign="middle">
            <div style="color: Black; font-weight: bolder; background-color: White; padding: 15px;
              width: 200px;">
              <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/progress.gif" />
              Please wait....
            </div>
          </td>
        </tr>
      </table>
    </ProgressTemplate>
    

    Wrap your grid with an update panel

    Subscibe to your Checkbox OnCheckedChanged and call Update

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

Sidebar

Related Questions

This is about as beginner as a question gets, but I can't find anything
This is about asp.net mvc3 web application. We have used Object cache to store
I have been wandering about this for some time now. I'm still a beginner,
I am confused about strings (a beginner's problem, I'm afraid): I have one NSMutableArray
I'm not a beginner, but the more I think about this issue, the more
I'm a beginner here and need help. I have this code, which works and
This question about Timers for windows services got me thinking: Say I have (and
This question gets asked a lot, but I still haven't found a straight answer
I am beginner to freeswitch.While learning this I have seen the terms 'leg A'
I think this is probably a beginner question about big-O notation. Say, for example,

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.