Jquery Dialog not working second time
Hi all,
I am developing MVC application. In that I am using Jquery for popups, everything works fine for first time. In one page there is 3 popups when I open first popup it works fine and second popup open it is also works fine but again I am trying to open first popup it is not opening correctly, dialog shrinks when I open second time, The popup dialog height and width changing each and every time. Here is one of my popup code.
$('#dialogHistory').dialog({
autoOpen: false,
width: 700, height: 300,
resizable: false,
title: 'History',
resizable: false, modal: true, open: function (event, ui) { $(this).load("@Url.Action("_History", new { id = Model.customer_id })");
},
});
Thanks,