Rank: Advanced Member Groups: Member
Joined: 3/9/2010 Posts: 119
|
I have a error routine configured for all callbacks but it only works in IE. Any ideas why this is so. The following is the prototype I'm using.
Code: HTML/ASPX
<eo:Callback ID="Callback_Example" runat="server" ClientSideBeforeExecute="showPause" ClientSideAfterExecute="saveSuccess" ClientSideOnError="callbackFailed">
</eo:Callback>
Code: JavaScript
function callbackFailed(control, error, message) {
var id = control.getId();
if (id.match("Callback_Example") != null) {
dosomething();
}
alert(message);
}
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
Try to use CallbackPanel (it doesn't have to contain any content). Callback is no longer recommended since everything can be done on the CallbackPanel control. If you still have trouble with CallbackPanel with the latest build, please provide a full test page and we will be happy to take a look.
Thanks!
|
Rank: Advanced Member Groups: Member
Joined: 3/9/2010 Posts: 119
|
I update my install from 2011 to 2012 to see if the newer version would work with the callback, but now I'm getting an error about the licensing. It's looking for the old version even though the project reference and license key has been updated. How can I resolve the following error?
"System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.IO.FileLoadException: Could not load file or assembly 'EO.Web, Version=9.0.44.2, Culture=neutral, PublicKeyToken=e92353a6bf73fffc' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'EO.Web, Version=9.0.44.2, Culture=neutral, PublicKeyToken=e92353a6bf73fffc' at application_main.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
=== Pre-bind state information === LOG: User = xxxxxxxxxx LOG: DisplayName = EO.Web, Version=9.0.44.2, Culture=neutral, PublicKeyToken=e92353a6bf73fffc (Fully-specified) LOG: Appbase = file:///C:/Users/johnb/Documents/Visual Studio 2008/WebSites/MyeFAACT.net/ LOG: Initial PrivatePath = C:\Users\johnb\Documents\Visual Studio 2008\WebSites\MyeFAACT.net\bin Calling assembly : App_Web_qv7r5jbe, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. === LOG: This bind starts in default load context. LOG: Using application configuration file: C:\Users\johnb\Documents\Visual Studio 2008\WebSites\MyeFAACT.net\web.config LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config. LOG: Post-policy reference: EO.Web, Version=9.0.44.2, Culture=neutral, PublicKeyToken=e92353a6bf73fffc LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/myefaact.net/bc400b3a/d0b101f7/EO.Web.DLL. LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/myefaact.net/bc400b3a/d0b101f7/EO.Web/EO.Web.DLL. LOG: Attempting download of new URL file:///C:/Users/johnb/Documents/Visual Studio 2008/WebSites/MyeFAACT.net/bin/EO.Web.DLL. WRN: Comparing the assembly name resulted in the mismatch: Major Version ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.
--- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.application_main_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)"
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
You will need to troulbeshoot such issues yourself. We consider such issues generic programming issues. Sorry about that!
|
Rank: Advanced Member Groups: Member
Joined: 3/9/2010 Posts: 119
|
This is a licensing key issue not a code issue. Your key is encrypted so I can't troubleshoot it. Who can I speak with to verify the key I got from your site is appropiate?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
We have already said this is a generic programming issue. So we will not reply on this issue further.
Thanks
|