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

The Archive Base Latest Questions

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

This client side script is being added to buttons in our existing codebase. It

  • 0

This client side script is being added to buttons in our existing codebase. It basically shows a pop-up that the system is busy whenever a long running process is occuring. this works fine for buttons, however the btn.disabled = true line causes the SelectedIndexChanged event to never fire(when using it on a button, the click even still fires). If I comment out that line, it fires fine. The object is disabled to prevent double clicking. Any ideas on why its not firing? This code is being registered as a client script block, so any changes affect all of the buttons using this code on a page.

@"<script language='javascript' type='text/javascript'>
    function BB(btn, msg, btnID)
    {
         bb1 = new BusyBox('iBB1', 'bb1', 4, '" + ContentImageUrlPath + 
         @"/gears_ani_', '.gif', 125, 147, 207, msg);   
         btn.disabled = true;
         bb1.Show();
         __doPostBack(btnID,'');
         return false;
    }</script>";

Here is the code as seen on the page

<select id="foo" onchange="return BB(this,
'Processing','ddlRoadsAssessment');
setTimeout('__doPostBack(\'foo\',\'\')', 0)" name="foo">
  • 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-13T08:36:03+00:00Added an answer on May 13, 2026 at 8:36 am

    Well yes, if it’s disabled, then .NET will assume that it has not changed, and won’t even look at the value being posted. You’ll have to manually check Request.Form[ddlRoadsAssessment.ClientID] (in, say, OnInit) and compare that to its previous value (which you could store, for instance, in viewstate), and if they don’t match, manually invoke a method.

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

Sidebar

Related Questions

I am very new to Silverlight development. I understand that this is client side
i have a client side jquery script that logs the user off after 5
I just read about web sockets and written this simple client side java script.
I need to build some client side code which follows this use case: An
I typically do not develop client-side (in this case, mobile) code, so my apologies
this is a post back problem (I don't want to use the client side
A little in disbelief Java makes it this easy on the client side. I
I am having trouble using EnumSet on the client side. I get this runtime
I'm writing a piece of client-side javascript code that takes a function and finds
I could see that this question was being asked a lot of times and

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.