I have a jQuery UI Dialog working great on my ASP.NET page:
jQuery(function() { jQuery(\"#dialog\").dialog({ draggable: true, resizable:
The exact solution is;
$("#dialogDiv").dialog({ other options..., open: function (type, data) { $(this).parent().appendTo("form"); } });