blockui

jQuery BlockUi Message after another

Hello, I'm using jQuery BlockUI plugin, and i have been able to sucessfully show a single message in the page, however... let's say that I want to show 3 messages , one after another. Something like: message: 'hello world!' message: 'hello galaxy!' message: 'hello universe!' how do I do this with jQuery BlockUI? ...

ASP.NET MVC - jQuery BlockUI - question regarding threading during postback

I have been using jQuery with ASP.NET MVC and the plug-in jQuery blockUI with success when using jQuery to make ajax calls to get data. I also have situations where I am just using plain ASP.NET MVC and where the postback to the server once the user clicks the submit button makes a database call that takes a long time. So I decided to tr...

BlockUI enable form posting

I'm using the jQuery plugin blockui as part of a project, and it causing me some grief while trying to call a postback as part of an asp.net ajax updatepanel. Is there a way to enable form posting for an element without performing the .unblock() command? I was able to get around this for my submit button by using: ...

JQuery BlockUI with UpdatePanel Viewstate Issue

I have an update panel within a div that I modal using the JQuery plugin BlockUI. Inside the UpdatePanel is a textbox and a button. When I enter something in the textbox and click the button I am unable to retrieve the text in the textbox. When I debug it shows the textbox having no value. <asp:UpdatePanel ID="upTest" UpdateMode="Condit...

JQuery BlockUI with UpdatePanel Viewstate Issue

I am using BlockUI to show a modal. Within the blocked modal I have an update panel. Within the update panel I have a textbox and a button that submits the content back to the server. Everything works fine up to this point (the blockUI is called, the modal appears, and the button performs the postback). However, when the button's click e...

Jquery Block ui only show on ajaxStart of a function

I am currently using Blockui to block the page and show a loading gif when an ajax function is being performed. See here: $(document).ready(function() { //shows loading screen whilst posting via ajax $().ajaxStart(function() { $.blockUI({ message: '<h1><img src="../images/layout/busy.gif" /> Just a moment...</h...

Calling blockUI and unblockUI in combination with jQuery validator plugin

I have a very complex form with the validation working correctly. However, since it can take awhile for the validation to complete, I'd like to use blockUI to be called when I click the form's submit button to prevent confusion and double-submissions. I can't quite figure out how to do this. My code looks like this: $("#credential")....

How is it possible that Request.IsAjaxRequest() is true from firefox but false from IE when using jquery post

i am trying to test jquery post. I am posting a form and want to update in ajax and replace with a success form over a div (seems like a common use case). The following code works fine in firefox but not in IE. One issue is that from Firefox Request.IsAjaxRequest() is true but coming from IE, Request.IsAjaxRequest() is returning fal...

Why does my div not center properly?

I'm using $.blockUI with jQuery to show a modal dialogue. The HTML looks like: <div id="progressDialogue" class="mp_modalpopup"> <div class="mp_container"> <div class="mp_header"> <span id="pd_header_text" class="mp_msg">Please wait..</span> </div> <div class="mp_body"> <img src="ajax-...

Intercept ajax requests with jquery to display BlockUI

Guys, i'm trying to intercept ajax requests with jquery, to display a waiting message like with using plugin BlockUI, but how can i intercept requests sended by the UpdatePanel provided from asp.net framework, is some way to take the trigger? Thanks ...

jQuery block UI exceptions

I am using JQuery UI plugin blockUI to block UI for every ajax request. It works like a charm, however, I don't want to block the UI (Or at least not show the "Please wait" message) when I am making ajax calls to fetch autocomplete suggest items. How do I do that? I am using jquery autocomplete plugin for autocomplete functionality. Is ...

blockUI and flash content in IE

i am using blockUI to show content in modalbox. On my content page there is a flash video. In FF When the blockUI is active it overlaps everything including flash video, but in IE, flash video is overlapping the blockUI box. How to solve this issue in IE? ...

Issue with DOM manipulation (blockUI or alert()) during a onchange request - prevents other event from firing.

EDIT: I wrongly assumed this was caused by blockUI(); I was using Firebug's console.log to log the message but for the example here I changed to alert so you wouldn't need firebug to replicate. Once I tested it again, I was able to remove blockUI and the onclick didn't fire not firing. The issue seems to be whenever the DOM is changing...

are there progress update events in jquery ajax

i have long running task that gets called using jquery ajax. i am using the block ui plugin to show "loading". is there anyway i can send progress messages back to the client to show progress and have that updated on the block ui plugin message. So it will show this (as the server does its work) . . "Loading first source . . . " "...

JQuery BlockUI blocking message does not immediately show

I have the following code an .net mvc aspx page ... ////////////////////// $.blockUI({ message: 'Processing ... Please Wait' }); var registerOk = registerNewUser(); var createUserSubscriptionOK = createUserSubscription(); $.unblockUI(); \\\\\\\\\\\\ The block message does not show until just around the time that the 2nd function f...

Jquery block UI when ajax starts

I am trying to show blockui when ajax starts like so: // block when ajax activity starts $(document).ajaxStart($.blockUI({ message: '<h1><img src="busy.gif" /> Just a moment...</h1>' })); and then I want to stop it doing // unblock when ajax activity stops $(document).ajaxStop($.unblockUI); Problem Is that it won't load...

Trouble with Firefox and jQuery blockUI

I have been building a site for learning purposes and have recently added pagination which also through Ajax. Well, I want to use blockUI for the beforesend: function for Ajax to show a "processing" box over the div that will have its content updated. It seems I can get it working fine for Internet Explorer, but when I try to use Firefox...

how to have incremental messages with blockui

i have a long ajax call so i am using blockui like this . . $("#roadmapContainer").block({ message: '<h2>Loading Ajax Request</h2><br/><img src="/Content/images/ajax-loader.gif" />' }); $.post(timelineUrl, function(data) { onLoad(data); $("#roadmapContainer").unblock(); inside teh "onLoad()" method it takes a ...

Unblock (jQuery BlockUI) after file sent to browser through response stream

I have an <asp:button /> that generates a PDF report. I want to use jQuery BlockUI to display a message that says: Generating Report.. Using: Response.BinaryWrite I am then sending the file to the user so it appears as a file download in the browser. I cannot get $.unblockUI(); to fire. As soon as the file download begins or has comple...

JQuery plugin - BlockUI - works strangely from Visual Studio ?

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' dialo...