这个错误是什么Ajax AsyncFileUpload? [英] what is this error Ajax AsyncFileUpload?

查看:88
本文介绍了这个错误是什么Ajax AsyncFileUpload?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在我的项目中使用了这个ajax控件,我的调试器得到了这个错误



0x800a01bd - JavaScript运行时错误:对象不支持此操作



这是我的代码:



 <   div     class   =  FontFamily >  
< div >
< asp :标签 runat = server CssClass = 适合 > TEST < / asp:标签 >
< div >
< asp:TextBox runat = 服务器 ID = TextBox1 CssClass = TextBox-control fit / >
<% - < asp:RequiredFieldValidator runat = server ControlToValidate = 电子邮件
CssClass = text-danger ErrorMessage = 电子邮件字段是必需的。 /> - %>
< / div >
<
/ div >
< div >
< div >
< asp:标签 runat = server CssClass = fit > TEST < / ASP:标签 >
< div >
< cc1:编辑器 ID = Editor1 runat = server Width = 650 高度 = 300 / >
<% - < asp:RequiredFieldValidator runat = server ControlToValidate = 电子邮件
CssClass = text-danger ErrorMessage = 电子邮件字段是必需的。 /> - %>
< / div >
< / div >
< / div >
< div dir = ltr >
< asp:Label runat = server CssClass = fit > TEST < / asp:标签 >
<% - < asp:AsyncFileUpload ID = AsyncFileUpload1 runat = server CssClass = FontFamily /> - %>
< asp:AsyncFileUpload ID = AsyncFileUpload1 runat = server OnUploadedFileError = AsyncFileUpload1_UploadedFileError / < span class =code-keyword>>
< / div >
< / div >



当尝试上传其他项目中的pic时,有些事情很酷,从来没有得到这个错误??????????



什么是这个项目中的问题?????????



你必须知道的是这个更新面板的这个div和这个更新面板显示在ModalPopupExtender。



并在母版页中使用了ToolkitScriptManager。



plz帮帮我谢谢。

解决方案

< blockquote>你需要做的就是在web开发中运行项目,然后遍历它

按F5并运行项目,并在第一行代码上设置F9的断点按下你的按钮。



除此之外,没有足够的信息来回答你的问题



我认为你必须使用ajaxtoolscriptmanager而不是toolscriptmanager用于模式弹出扩展器。



也许你忘了复制你的母版页。


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:


<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.

解决方案

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.


这篇关于这个错误是什么Ajax AsyncFileUpload?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆