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 ,
My project work smoothly in IE Browser , while there will be a problem in FireFox Browser .
In my program , I click the icon of the last column named Delete to invoke the javascript code . In the javascript code , there will display a message box to ensure whether you will delete the item . This method of showing the message box is written by myself . if you confirm to delete the item , the javascript code will trigger a hidden button to invoke the background program .
This program work normally in IE , but in Firefox there is a error like the picture in the attatchment file . If the method of showing the message box use "confirm" , there will be ok in two browsers . I make a simple sample in the attachment file .
Anyone can help me and tell me why ? Thanks a lot !
Hi,
I found solution for the issue. The issue occurs because when closed dialogbox, the process has not finished yet and it is interrupted by FullPostBack request. So, to resolve the issue, I used timeout after called close dialog box function. I also remove some code which I think is not important. see below the code after modify :
function ShowInfoBox(msg, funcOK) { var wInfoBox = ISGetObject("wdlgWaitInfo"); var span = document.getElementById("span_Message"); span.innerText = msg; wInfoBox.ShowDialog(); } function wdlgWaitInfo_OnButtonClicked(controlId, dialogButton) { var dlgBox = ISGetObject("wdlgWaitInfo"); dlgBox.CloseDialog(); if (dialogButton.Type == "OK") { window.setTimeout(function(){ConfirmDelete()},100); } } function Delete() { ShowInfoBox("Confirm Delete?"); } function ConfirmDelete() { document.getElementById("<%= btnDelete.ClientID %>").click(); }
In order to check your issue, I would need your runable sample. Your attached sample seems not working in here. It is missing WebProcess.ascx. So, could you reattach your working sample? Thanks.
Hello Hendrik ,
I am so sorry for my mistake . I have reattached my sample ! Thank you for your help !
Thank you for your reply . My simple sample is just to simulate the function of Delete . I click the icon of the last column named Delete to invoke the javascript code of showing the message box , then if I confirm to delete the item , it will trigger a hidden button to invoke the background program of Delete .
If the problem is coming from UpdatePanel itself , why it shows normal in IE Browser and there will be a problem in Firefox Browser ? If the method of showing the message box is "confirm" , there will be ok in the two Browsers . But the method of showing the message box is "ShowInfoBox" you provide , there will be the problem in Firefox Browser .
I have changed my code , and there is no "wdlg_ButtonOK_Clicked(dlgBox.EpointParams)" . The problem is the same with before . Thank you for your help .
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