iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hello,
Please look at the sample ,when I click on the Button(New), It will OpenDialogBox.That is right(Picture1). But when I close the dialogbox and click the Button(New) again, it will OpenDialogBox but the dialogbox runs error(Picture2) ! It runs normal in IE. Please help me!
I think I knew the problem. The browsers have different render behavior.That's why some of your validation when open DialogBox is not correct in other browser, except IE.E.g
To open dialog box, I used this code:
function tlbFile_Click(id, toolCommand) { if (toolCommand.Name == "cmdNew") { var dlgBox= ISGetObject("dlgBox"); dlgBox.SetContentURL("DemoIframePage.aspx"); dlgBox.Width = 500; dlgBox.Height = 300; dlgBox.ShowDialog();// OpenDialogBox('DemoIframePage.aspx', "", "aaa", "", 500, 300, false); } }
Normally, you only need to use SetContentURL(" "), when close. However, this method might be not closing its state. In this part, I understand why you get iframe element and set src property.However, there is a simple way to do it. WebDialogBox already provided this.
e.gFor close dialog box, I used this :
function dlgBox_OnClosed(controlId) { var dlgBox = ISGetObject(controlId); var div = document.getElementById("dvWnd_Global_wnd" + controlId); var iframe1 = div.getElementsByTagName("IFRAME"); // iframe1[0].src = ""; // getRootPath() + "javascript/blank.htm"; var if1 = document.getElementById("iframe" + controlId); // if (if1) // if1.style.display = "none"; dlgBox.Window.GetWindowIFrameElement().src = " "; }
Regards,Handy
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname