Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for .NET
»
Re: Error when CuteEditor control is loading by Callback control(ComponentArt)
Error when CuteEditor control is loading by Callback control(ComponentArt)
Last post 05-26-2011, 8:59 PM by
Kenneth
. 1 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
05-26-2011, 2:02 AM
67694
Przemek
Joined on 05-26-2011
Posts 1
Error when CuteEditor control is loading by Callback control(ComponentArt)
Reply
Quote
Hello.
I have an error when I try to load editor by Callback from ComponentArt.
The error is fired on IE, on FF it's work properly.
Error details:
Message: Invalid character
Line: 1
Char: 7
Code: 0
URI: http://localhost:59030/CuteSoft_Client/CuteEditor/Images/1x1.gif?634419962455801160
Below I put simple page , which contains this error. If you want, I can send complete project.
<%@ Page Language=
"C#"
AutoEventWireup=
"true"
CodeBehind=
"Default.aspx.cs"
Inherits=
"TempApp._Default"
%>
<%@ Register Assembly=
"CuteEditor"
Namespace=
"CuteEditor"
TagPrefix=
"CE"
%>
<%@ Register Assembly=
"ComponentArt.Web.UI"
Namespace=
"ComponentArt.Web.UI"
TagPrefix=
"ComponentArt"
%>
<!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"
>
<script type=
"text/javascript"
>
function annShow() {
AnnnCallback.Callback();
}
</script>
</head>
<body>
<form id=
"form1"
runat=
"server"
>
<div>
<asp:Button ID=
"AnnShow"
runat=
"server"
OnClientClick=
"annShow(); return false;"
Text=
"Show"
/>
<ComponentArt:CallBack ID=
"AnnnCallback"
runat=
"server"
PostState=
"True"
>
<Content>
<asp:Panel ID=
"AnnPanel"
runat=
"server"
Visible=
"false"
>
<CE:Editor ID=
"AnnnEditor"
runat=
"server"
>
</CE:Editor>
</asp:Panel>
</Content>
</ComponentArt:CallBack>
</div>
</form>
</body>
</html>
using
System;
namespace
TempApp
{
public
partial
class
_Default : System.Web.UI.Page
{
protected
void
Page_Load(
object
sender, EventArgs e)
{
AnnnCallback.Callback +=
new
ComponentArt.Web.UI.CallBack.CallbackEventHandler(AnnnCallback_Callback);
}
void
AnnnCallback_Callback(
object
sender, ComponentArt.Web.UI.CallBackEventArgs e)
{
AnnPanel.Visible =
true
;
AnnPanel.RenderControl(e.Output);
}
}
}
Filed under:
callback IE bug 1x1.gif
05-26-2011, 8:59 PM
67701
in reply to
67694
Kenneth
Joined on 02-13-2008
Posts 3,886
Re: Error when CuteEditor control is loading by Callback control(ComponentArt)
Reply
Quote
Hi
Przemek,
Please send the examle project to
[email protected]
. I will check it and get back to you as soon as possible.
Except folder "CuteSoft_Client". It is too large.
Regards,
Ken