View Full Version : jQuery Jquery issue

12-29-2009, 06:50 AM
Here is the situation:

I need to block the web page while displaying the dialog and unblock it after clicking OK in the dialog.

The blocking part is fine, but the page fails to unblock.

Here are the things I had tried:
Normally unblocking is done by scripting $.unblockUI(); I passed as a function as an argument - it did not work.
Next I passed {fadeOut: 400} as an argument. It also failed to work.
I invoked the hidden blockUI control explictly and made it to fade. It also failed to work.
The meta tag correctly points to the version of Internet Explorer as IE 7.
The web page is a detail page with <asp:content> tags and also <asp:UpdatePanel>. I checked whether there any missing closing tags. Nothing. The HTML part is fine.
I debugged the javascript. No problems there too. It is just fine.
There is html added into the page dynamically from the code behind. (Actually a HTML Table for the sake of a menu).
There is another web page that works well, the UI gets unblocked successfully, I compared both pages in terms of javascript and html code and failed to recognize any difference.
All the elements in the web page are getting displayed correctly.
Given all these, there are no more solutions for me to try out. If you know something else that I can do, kindly advise.

12-29-2009, 05:26 PM
You didn't provide a link or even any code, so there's no way for anyone to help debug. EDIT: Did you at least consult the documentation? I found this link (http://malsup.com/jquery/block/) - not sure if it's what you're using.

FYI, when creating a post, it's quite helpful to use a meaningful subject line.

12-30-2009, 04:26 AM
The reason I cannot provide the code is it is proprietory. I cannot provide the code by any means thereby.

That link I visited all right, but my problem is the function call unblockUI fails to unblock the page.

Have anyone used unblockUI in a page that has a Farpoint spread? That was the only cause I could trace. unblockUI fails to work when there is a Farpoint spread control on the page.