Rank: Member Groups: Member
Joined: 3/4/2008 Posts: 24
|
Hello, If I use an EO:rating with a eo:callbackPanel, the call to the function eo_Callback failed with the message "has failed due to server side exception". Without eo:rating the call to the function eo_Callback doesn't produce an error
Code: HTML/ASPX
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Edit_Conclusion.aspx.vb"
Inherits="web_db.Spares_PSU_Edit_Conclusion" %>
<!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 id="Head1" runat="server">
<title>PSU Conclusion</title>
<script type="text/javascript">
function saveConclusion() {
var ret;
ret = eo_Callback("cbPSUConclusion", "SAVE");
return false;
}
</script>
</head>
<body>
<form id="Form1" runat="server">
<div style="height: 378px; width: 1197px; z-index: 1; left: 0px; top: 12px; position: absolute;">
<eo:CallbackPanel ID="cbPSUConclusion" runat="server" LoadingHTML="'width:200px; height:50px; top:5px; left:50px; position: absolute; z-index:10;'><img src='../../Images/Wait_Please.gif' width='200' height='50px'></div>">
</eo:CallbackPanel>
<asp:ImageButton ID="B_Save" runat="server" BackColor="#F4F4F4" BorderStyle="Outset"
BorderWidth="2px" ImageUrl="~/Images/Save.png" ToolTip="Save your changes" Style="z-index: 1;
left: 10px; top: 0px; width: 32px; height: 32px; position: absolute" CausesValidation="False"
EnableViewState="False" />
<eo:Rating ID="RT_AC_Perf" runat="server" ControlSkinID="None" EmptyStarHoverImageUrl="00108004"
EmptyStarImageUrl="00108002" FullStarHoverImageUrl="00108003" FullStarImageUrl="00108001"
Style="z-index: 2; left: 210px; top: 30px; position: absolute; height: 16px;
width: 88px" Value="0" EnableViewState="False">
</eo:Rating>
</div>
</form>
</body>
</html>
Code: Visual Basic.NET
Public Class Spares_PSU_Edit_Conclusion
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Me.B_Save.Attributes.Add("onclick", "javascript:return saveConclusion();")
End Sub
Private Sub cbPSUConclusion_Execute(sender As Object, e As EO.Web.CallbackEventArgs) Handles cbPSUConclusion.Execute
End Sub
End Class
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
We have posted a new build that should fix this issue. Please see your private message for the download location.
Thanks!
|