Problem with jQuery UI dialog in asp.net is that default its adding html to body not form and asp.net require to have all within single form.
So to correct this you have to add one function to options
allOptions.open = function (type, data) {
jQuery(this).parent().appendTo("form:first");
};
jQuery('.class').dialog(allOptions);
this will add dialog to form and all asp.ent events will fire since it does not matter where within form resides control.