Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for .NET
»
Re: Upgrading from 6.1 to 6.3 and need to remove FrameStyle - How do I create new ThemeTypes other than the default ones?
Re: Upgrading from 6.1 to 6.3 and need to remove FrameStyle - How do I create new ThemeTypes other than the default ones?
07-07-2009, 3:15 AM
Kenneth
Joined on 02-13-2008
Posts 3,886
Re: Upgrading from 6.1 to 6.3 and need to remove FrameStyle - How do I create new ThemeTypes other than the default ones?
Reply
Quote
Hi aml01,
Try this way:
<%@ Page Language=
"C#"
%>
<%@ Register Assembly=
"CuteEditor"
Namespace=
"CuteEditor"
TagPrefix=
"CE"
%>
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
<script runat=
"server"
>
protected
override
void
OnLoad(EventArgs e)
{
editor1.FrameStyle.BorderColor = System.Drawing.Color.Red;
editor1.FrameStyle.BorderStyle = System.Web.UI.WebControls.BorderStyle.Dotted;
editor1.FrameStyle.BorderWidth = 10;
base
.OnLoad(e);
}
</script>
<html xmlns=
"http://www.w3.org/1999/xhtml"
>
<head runat=
"server"
>
<title>Untitled Page</title>
</head>
<body>
<form id=
"form1"
runat=
"server"
>
<div>
<CE:Editor ID=
"editor1"
runat=
"server"
>
</CE:Editor>
</div>
</form>
</body>
</html>
Regards,
ken
View Complete Thread