G
Guest
Have parent.aspx from which I open Driver.aspx form via button on parent.aspx. When I first open the modal dialog, the driver.aspx Page_Load function is called. After I close the dialog, then reopen the form again by clicking the button control from the parent - the Page_Load function is not called.
parent.aspx <script block>
function UpdD(title)
{
var iParms=new Object();
iParms.DlgTitle=title+"Driver Profile";
iParms.DlgW="320px";
iParms.DlgH="156px";
var sFeatures="status:no;resizeable:no;help:no;center:Yes;dialogHeight:" + iParms.DlgH + ";dialogWidth:" + iParms.DlgW;
var retValue=window.showModalDialog("Driver.aspx", iParms, sFeatures);
}
What do I do to ensure the Page_Load function of Driver.aspx is always called whenever the modal dialog is opened? This is important
parent.aspx <script block>
function UpdD(title)
{
var iParms=new Object();
iParms.DlgTitle=title+"Driver Profile";
iParms.DlgW="320px";
iParms.DlgH="156px";
var sFeatures="status:no;resizeable:no;help:no;center:Yes;dialogHeight:" + iParms.DlgH + ";dialogWidth:" + iParms.DlgW;
var retValue=window.showModalDialog("Driver.aspx", iParms, sFeatures);
}
What do I do to ensure the Page_Load function of Driver.aspx is always called whenever the modal dialog is opened? This is important