Welcome Guest Search | Active Topics | Sign In | Register

Callback not firing during page load FireFox 3.6 Options
Mike Eyal
Posted: Thursday, September 30, 2010 9:47:29 PM
Rank: Member
Groups: Member

Joined: 10/19/2009
Posts: 11
Hi there,

I have found in the test case below using the latest version 8.0.34.2 that a callback doesn't fire when called from javascript when the page is loading using FireFox 3.6.4

The following code works in Chrome and IE 8

Please advise

Cheers

Mike



Code: HTML/ASPX
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="SecuredSigning.Web.Test" %>

<%@ Register Assembly="EO.Web" Namespace="EO.Web" TagPrefix="eo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
   
</head>
<body>
    <form id="form1" runat="server">
    <div>
    Hello World!
        <eo:Callback ID="Callback1" runat="server" ClientSideAfterExecute="OnAfterCallback1Execute">
        </eo:Callback>
    
    </div>

     <script type="text/javascript">
         alert('Before Callback');
         eo_Callback('Callback1');
         function OnAfterCallback1Execute(callback, output, extraData) {
             alert('After Callback');
         }
    
    </script>
    </form>
</body>
</html>
eo_support
Posted: Friday, October 1, 2010 9:07:00 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

This is normal. The control may not have been loaded when the code is called. Try to use setTimeout to delay the call should solve the problem.

Thanks!
Mike Eyal
Posted: Monday, October 4, 2010 3:57:57 PM
Rank: Member
Groups: Member

Joined: 10/19/2009
Posts: 11
Hi,

Thanks for your reply, it has solved our issue.

Thanks

Mike


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.