views:

110

answers:

2

Hi,

I have this ASP.NET page with ASP.NET UpdatePanel and jQueryUI droppable and sortable components. The page works fine in all browsers, but doesn't in Internet Explorer (IE8 tested).

After I try to call ASP.NET AJAX event (by pressing my asp.net button inside the UpdatePanel) my sortable list stops working properly inside IE browser and the browser throws the following error:

Message: Unspecified error. Line: 145 Char: 186 Code: 0 URI: http://code.jquery.com/jquery-1.4.2.min.js

I found out that the problem is caused by the code on line 66:

$("#droppable").droppable();

If I comment it out, the sortable list works fine after ajax postbacks. But it doesn't make sense.

Does anyone know what could be wrong?

Thanks.

P.S. I am using jQueryUI 1.8.1 and jQuery 1.4.2

+1  A: 

I believe this is a bug in JQuery - I think there is a fix where you redefine the offset function to work under IE:

http://dev.jqueryui.com/ticket/4918

Cheers

David Relihan
awesome, thanks. Destroying sortable and droppable elements before the AJAX post-back solved the problem.
negative
+1  A: 

The solution to the problem can be found here - http://pastebin.org/236945

negative
+1 Glad you cracked it
David Relihan