Title: DateTimeBox in dialog window Post by: RML on October 09, 2014, 07:50:18 AM I am having problems having a DateTimebox work in a dialog window.
the DateTimeBox is in the testLayoutDialog.html page. function openDialog(){ var path = 'testLayoutDialog.html'; //Open Window $("#managementwindow").load(path).dialog({modal:true,width:800,height:700,title:"My Test Date Box "}); } Will the DateTimeBox work in a dialog window that is in a page that is loaded into the dialog window? Thanks in advance for the help! Ron Title: Re: DateTimeBox in dialog window Post by: jarry on October 09, 2014, 03:12:14 PM Please set 'href' property or call 'refresh' method to load external page content.
Title: Re: DateTimeBox in dialog window Post by: RML on October 10, 2014, 08:04:13 AM Thanks Jarry! The href worked and I removed the .load
Here is the code that worked. function openDialog(){ var path = 'testLayoutDialog.html'; //Open Window $("#managementwindow").dialog({href:path,modal:true,width:800,height:700,title:"My Test Date Box "}); } The refresh method also worked: $('#managementwindow').dialog({ title: 'My Test Date Box ', width: 800, height: 700, cache: false, href: path, modal: true }); $('#managementwindow').dialog('refresh', path); Thanks again! Ron |