Wiseman,
I think you found a bug.
We've fixed it.
Demo is here:
Source code of the above demo:
<%@ Page Language="C#" %>
<%@ Register TagPrefix="portal" TagName="Banner" Src="DesktopPortalBanner.ascx" %>
<%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
<style type="text/css">
.swatch{ height:14px; width:80px; margin:2px; border:1px solid black; FONT-SIZE: 0.1em;}
</style>
<script runat="server">
private void theme_Changed(Object sender, EventArgs e)
{
Editor1.EditorWysiwygModeCss = themeList.SelectedItem.Value;
Literal1.Text = "Cute Editor automatically parse the CSS classes from EditorWysiwygModeCss <font color=darkred><b>("+themeList.SelectedItem.Value+")</b> </font> and populate all items into CssClass dropdown";
}
</script>
<html>
<head>
<title>ASP and ASP.NET HTML Editor - Using External Style Sheets</title>
<meta content="CuteEditor - A powerful ASP.NET HTML Editor, ASP version is also available" name="description"/>
<meta name="keywords" content="Cute Editor, asp.net, asp, online, HTML editor, online editor, most popular">
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body bottommargin="0" topmargin="0" marginheight="0" marginwidth="0">
<form runat="server">
<portal:Banner id="Banner" runat="server" />
<table border="0" cellpadding="0" cellspacing="0" width=100%>
<tr>
<td valign="top" nowrap id="leftcolumn">
<!-- #include virtual="leftmenu.inc" -->
</td>
<td width=30 nowrap></td>
<td valign="top" id="content">
<h1><h1>Using External Style Sheets</h1></h1>
<hr/>
<span class="Normal">
With Cute Editor, you can specify the location of the style sheet that will be used by the editable area. Multiple Style Sheets are supported.
<br><br></span>
<p>
<asp:radiobuttonlist id="themeList" runat="server" autopostback="True" RepeatDirection="Horizontal" onselectedindexchanged="theme_Changed">
<asp:ListItem value="style.css" Selected="True">style.css</asp:ListItem>
<asp:ListItem value="backgroundimage.css">backgroundimage.css</asp:ListItem>
<asp:ListItem value="style.css,backgroundimage.css">style.css+backgroundimage.css</asp:ListItem>
</asp:radiobuttonlist>
</p>
<br>
<p>
<CE:Editor ThemeType="Office2003_BlueTheme" id="Editor1" runat="server" Height="250" AutoConfigure="Simple"></CE:Editor>
<br><br>
<asp:Literal ID="Literal1" Runat="server" />
</p>
</td>
<tr>
</table>
<div id="footer">
<p><a href="http://cutesoft.net">Copyright 2005 CuteSoft.Net. All rights reserved.</a></p>
</div>
</form>
</body>
</html>
Please download the updated DLL from
here.
Keep me posted.
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx