i have created two page
in 1st form displaying jquery popup
in that pop up displaying 2nd form
in first form using updatepanel also.
in first form using updatepanel also.
check the following code
Form1.aspx $(function () {
var prm = Sys.WebForms.PageRequestManager.getInstance();
prm.add_endRequest(function () {
bindClickEvent();
});
$(function () {
bindClickEvent();
//});
function bindClickEvent()
{
$('#lnkAddSubTask1').click(function () {
var mydiv = $('#popupdiv');
mydiv.dialog({
autoOpen: true, width: '1250', height: '650',
open: function (event, ui) { $(".ui-dialog-titlebar-close").hide(); },
modal: true,
buttons: {
Close: function () {
window.location.reload();
}
}
});
// Load the content using AJAX
mydiv.load('AddSubTask.aspx');
// Open the dialog
mydiv.dialog('open');
});
});
}
AddSubTask.aspx-- 2nd form
Ankur MistryPosted Mar 14, 2016, 6:18 AM