jQuery and ASP.NET: Server callbacks are disabled in jQuery dialogs

I added an asp button to div that I am opening as dialog using jQuery. The server side event is never executed.

Related tags: .NET JavaScript

Need to append the div to a form, then the callbacks work fine.

jQuery(function() {
   var myDialog= jQuery("#DialogName").dialog({ 
                        // SET Properties here 
  // Adding Dialog to Parent form will do the Job

Rating: 2003

Propose a different solution...