xjufs 2014-01-22 19:53
浏览 963

错误: Sys.InvalidOperationException: Handler was not added through the Sys

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="zzdj.aspx.cs" Inherits="Web_mpsp_zzdj" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">


无标题页



<div>
    <cc1:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" ServiceMethod="GetCompletionList"
        TargetControlID="TextBox1" UseContextKey="true" CompletionInterval="500" CompletionSetCount="20"
        MinimumPrefixLength="1" ContextKey="k">
    </cc1:AutoCompleteExtender>
</div>
<asp:Label ID="Label2" runat="server" Text="Label2:"></asp:Label>
<asp:TextBox ID="TextBox1" runat="server" Width="180px"></asp:TextBox>
<asp:Label ID="Label3" runat="server" Text="Label3:"></asp:Label>
<asp:TextBox ID="fz" runat="server" Width="60px"></asp:TextBox>
<asp:Label ID="Label4" runat="server" Text="Label4:"></asp:Label>
<%--<asp:TextBox ID="scdw" runat="server" Width="180px"></asp:TextBox>--%>
<asp:DropDownList ID="Ddl_File_path" Style="z-index: -1" runat="server" Width="180px">
</asp:DropDownList>
<asp:Label ID="Label5" runat="server" Text="Label5:"></asp:Label>
<asp:TextBox ID="zcs" runat="server" Width="60px"></asp:TextBox>
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="保存" />
</form>



运行时提示行: 3099错误: Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method.是否要调试此页面?
怎么解决?谢谢!

  • 写回答

0条回答

    报告相同问题?

    悬赏问题

    • ¥20 win11修改中文用户名路径
    • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
    • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
    • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
    • ¥15 帮我写一个c++工程
    • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
    • ¥15 关于smbclient 库的使用
    • ¥15 微信小程序协议怎么写
    • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
    • ¥20 怎么用dlib库的算法识别小麦病虫害