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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T01:54:40+00:00 2026-05-16T01:54:40+00:00

Using the BlockUI JQuery plugin I find strange behaviour from within an ASP.Net page.

  • 0

Using the BlockUI JQuery plugin I find strange behaviour from within an ASP.Net page.

I’ve implemented one of the BlockUI plugin demos (you can try out the original here – http://malsup.com/jquery/block/#dialog ) within an ASP.Net page.

When I serve this page from Visual Studio (MVWD 2010 Express) the ‘Would you like to continue‘ dialog appears as it should but then (rather than waiting for me to press a button) just disappears after 1 to 2 seconds.

Can anyone explain why this might be ? The HTML rendered by the ASP.Net is visible at http://pastie.org/1057741 (lines 139-165 are the main bit).

Would appreciate any suggestions.

  • 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-16T01:54:42+00:00Added an answer on May 16, 2026 at 1:54 am

    Well thanks to the folks on the ‘Using JQuery plugins’ forum (http://forum.jquery.com/using-jquery-plugins) this has been resolved.

    The ‘type’ attribute of the input element with value ‘Show Dialog’ was ‘Submit’ which was causing a postback.

    <input id="test" type="submit" value="Show Dialog" />
    

    There were two ways to fix this:

    1. Change ‘type’ to ‘button’ or …
    2. Put ‘return false’ within the two JS functions

    FWIW I also amended my original example code (shown at http://pastie.org/1057741) to deal with the ajax call to the non-existent (in my environment) resource ‘wait.php’. The resulting code block is visible at : http://pastie.org/1061480 .

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

Sidebar

Related Questions

I am using jQuery 1.5.1 and BlockUI 2.38 in an ASP.NET page. I try
I'm using jQuery with the BlockUI plugin to block a page after a link
I've tried using blockUI jQuery plugin to block the UI on a page. blockUI
Background: I'm using jquery blockui 2.31 on jquery 1.3.2, on ASP.NET 2.0. I'm using
I'm using the jQuery BlockUI plugin to add a loading splash to a page
I have implemented upload feature in ASP.MVC. I am using jQuery.BlockUI and JQuery.Form plugins
I'm using jQuery BlockUI Plugin and I'd like to do Javascript:history back(); after Click
I am trying to block click on links using jQuery blockUI plugin. It's seems
I am using JQuery UI plugin blockUI to block UI for every ajax request.
I am using this plugin. http://jquery.malsup.com/block/#overview However I would like this blockUI to only

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.