Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I added editor and asyncfileupload to my page.
When i tried to upload file get this error

"0x800a01bd - JavaScript runtime error: Object doesn't support this action"

I found out my problem is editor becuase when I delete this ajax control, problem gone and I can upload file
I need both together.
why is this happening?
Plz help me THANKS

Here is my code: without any c# code

XML
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication10.Default" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor" TagPrefix="cc1" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"</asp:ToolkitScriptManager>
        <div>
            <asp:AsyncFileUpload ID="AsyncFileUpload1" runat="server" />
        </div>
        <div>
            <cc1:Editor ID="Editor1" runat="server" />
        </div>
    </form>
</body>
</html>


don't forget when I delete editor works fine.
THANKS
Posted
Updated 30-Sep-14 0:28am
v3
Comments
Kornfeld Eliyahu Peter 30-Sep-14 5:59am    
You should show us the code causing the problem...
Gigidel 30-Sep-14 6:28am    
I added Code
Kornfeld Eliyahu Peter 30-Sep-14 7:21am    
How did you added AjaxControlToolkit to your project (I added using NuGet and your code runs with no problem)...
Gigidel 30-Sep-14 10:30am    
I downloaded zip file ajaxToolikit
But I used Nuget too but problem come back again
Interesting...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900