|
Rank: Advanced Member Groups: Member
Joined: 9/4/2007 Posts: 114
|
We found the HTML Editor fails to load under Windows 2000 and IE 6. It loads fine with Firefox on 2k, but IE thows the following error: -- Line: 598 Char: 1700 Error: Object doesn't support this property or method Code: 0 URL : http://192.168.....(url removed) -- Line 598, Char 1700: _eo_initobj_ctl00_ContentPlaceHolder1_Editor1(); Is there a fix/workaround for this? Thanks, Duane
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
The function should have already been declared. I would suggest you to try the editor in a blank page and see if that works. If it does, then it may have something to do with other page contents. Very often an unclosed element can cause strange behaviors.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 9/4/2007 Posts: 114
|
We put togther a simple page which still exhibits the same error on Win2k IE 6.
Code: HTML/ASPX
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EditorTest.aspx.cs" Inherits="EditorTest" %>
<%@ Register assembly="EO.Web" namespace="EO.Web" tagprefix="eo" %>
<html>
<body>
<form id="form1" runat="server">
<div>
<eo:Editor ID="Editor1"
ToolBarSet="Full"
runat="server"
Width="940px"
Height="350px"
OnPostBackCommand="Editor1_PostBackCommand"
BackColor="White"
BorderColor="#DDDDDD"
BorderStyle="Solid"
BorderWidth="1px"
Html="">
</eo:Editor>
<asp:DropDownList runat="server"
ID="ui_ddl_SatusSearch"
CssClass="Smalltext"
ForeColor="Blue"
DataTextField="Status"
DataValueField="Status"
onselectedindexchanged="DropDownList1_SelectedIndexChanged" AutoPostBack="true">
<asp:ListItem></asp:ListItem>
<asp:ListItem Text="A: " Value="A"></asp:ListItem>
<asp:ListItem Text="X: " Value="X"></asp:ListItem>
<asp:ListItem Text="F: " Value="F"></asp:ListItem>
<asp:ListItem Text="T: " Value="T"></asp:ListItem>
</asp:DropDownList>
</div>
</form>
</body>
</html>
Code: C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class EditorTest : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
Editor1.Html = "body";
}
protected void Editor1_PostBackCommand(object sender, EventArgs e)
{
//
}
}
|
|