Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I used this ajax control in my project and my Debugger get this error

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

this is my code:


XML
<div class="FontFamily">
                                <div>
                                    <asp:Label runat="server" CssClass="fit">TEST</asp:Label>
                                    <div>
                                        <asp:TextBox runat="server" ID="TextBox1" CssClass="TextBox-control fit" />
                                        <%--<asp:RequiredFieldValidator runat="server" ControlToValidate="Email"
                                        CssClass="text-danger" ErrorMessage="The email field is required." />--%>
                                    </div>
                                </div>
                                <div>
                                    <div>
                                        <asp:Label runat="server" CssClass="fit">TEST</asp:Label>
                                        <div>
                                            <cc1:Editor ID="Editor1" runat="server" Width="650" Height="300" />
                                            <%--<asp:RequiredFieldValidator runat="server" ControlToValidate="Email"
                                            CssClass="text-danger" ErrorMessage="The email field is required." />--%>
                                        </div>
                                    </div>
                                </div>
                                <div dir="ltr">
                                    <asp:Label runat="server" CssClass="fit">TEST</asp:Label>
                                    <%--<asp:AsyncFileUpload ID="AsyncFileUpload1" runat="server"                                                                       CssClass="FontFamily" />--%>
                                    <asp:AsyncFileUpload ID="AsyncFileUpload1" runat="server" OnUploadedFileError="AsyncFileUpload1_UploadedFileError" />
                                </div>
                            </div>



Somethings is cool when try to upload pic in other project never get this error??????????

what is problem in this project??????????

just something you must know is this This div in side of Update panel and this update panel shown in ModalPopupExtender.

and used ToolkitScriptManager in master page.

plz help me THANKS.
Posted
Comments
Sergey Alexandrovich Kryukov 29-Sep-14 17:56pm    
Which action????????????????????????????? In what line?????????????????????????????????????????????????????????????????????????
You did not show any Javascript, only ASP.NET code. No. Here is how: "Where is your Javascript????????????????????????????????????????????????????????????????????????????"
—SA

1 solution

All you need to do is run the project in the web dev, and walk through it
Press F5 and run the project, and set a break point with F9 on the first line of code that is called by your button.

Other than that, there is not enough information to answer your question

I think you have to use the ajaxtoolscriptmanager and not the toolscriptmanager for the modal popup extender.

Maybe you forgot to copy your masterpage over.
 
Share this answer
 
Comments
Gigidel 30-Sep-14 1:36am    
Hi, If you read my comment you can see I added ToolkitScriptManager to master page
And now I found Error, error is this Problem with editor html I had added to my project I
Need both and I don't know how to resolve this
AsyncFileUpload vs Editor html,
I change both ClientIDMode to AutoID but nothing change.
Plz Help THANKS

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