When we develop an .Net application, we may use jQuery. After using jQuery's dialog function, server components in dialog become invalid, and we can not execute background codes via those server components. Because jQuery add dialog to the body element, not the form element. You know if a component is not listed in the form, it can not interact with server. The solution is that we could add open parameter in dialog function. Here are the scripts for your reference:
$(document).ready(
function () {
$("#dlgItemSelection").dialog({ autoOpen: false, open: function () { $(this).parent().appendTo("form:first"); }, width: 400, height: 350, modal: true, position: 'top' });
});
$(document).ready(
function () {
$("#dlgItemSelection").dialog({ autoOpen: false, open: function () { $(this).parent().appendTo("form:first"); }, width: 400, height: 350, modal: true, position: 'top' });
});