I have a jQuery UI Dialog working great on my ASP.NET page:
jQuery(function() {
jQuery(\"#dialog\").dialog({
draggable: true,
resizable:
Fantastic! This solved my problem with ASP:Button event not firing inside jQuery modal. Please note, using the jQuery UI modal with the following allows the button event to fire:
// Dialog Link
$('#dialog_link').click(function () {
$('#dialog').dialog('open');
$('#dialog').parent().appendTo($("form:first"))
return false;
});
The following line is the key to get this working!
$('#dialog').parent().appendTo($("form:first"))