Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/32.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net RadioButtonList的分析器错误_Asp.net - Fatal编程技术网

Asp.net RadioButtonList的分析器错误

Asp.net RadioButtonList的分析器错误,asp.net,Asp.net,我得到以下错误: 这是页面代码: <form id="form1" runat="server"> <div> <asp:MultiView ID="MultiView1" runat="server"> <asp:View ID="View1" runat="server"> Choose a Foreground (Text) Color:<br/> <

我得到以下错误:

这是页面代码:

<form id="form1" runat="server">
<div>
    <asp:MultiView ID="MultiView1" runat="server">
        <asp:View ID="View1" runat="server">
            Choose a Foreground (Text) Color:<br/>
            <asp:DropDownList ID="lstForeColor" runat="server" AutoPostBack="True" OnSelectedIndexChanged="LstForeColor_OnSelectedIndexChanged"></asp:DropDownList>
            <br/><br/>
            Choose a Background Color:<br/>
            <asp:DropDownList ID="lstBackColor" runat="server" AutoPostBack="True" OnSelectedIndexChanged="lstBackColor_OnSelectedIndexChanged"></asp:DropDownList>
        </asp:View>
        <asp:View ID="View2" runat="server">
            Choose a Border Style:<br/>
            <asp:RadioButtonList ID="lstBorder" runat="server" AutoPostBack="True" OnSelectedIndexChanged="lstBorder_OnSelectedIndexChanged" RepeatColumns="2"/>
            <br/>
            <asp:CheckBox ID="chkPictre" runat="server" AutoPostBack="True" OnCheckedChanged="chkPictre_OnCheckedChanged" Text="Add Deafult Picture"/>
        </asp:View>
        <asp:View ID="View3" runat="server">
            Choose a fint name:<br/>
            <asp:DropDownList ID="lstFontName" runat="server"AutoPostBack="True" OnTextChanged="lstFontName_OnTextChanged"/>
            <br/><br/>
            Enter the greeting text Below:<br/>
            <asp:TextBox ID="txtGreeting" runat="server" AutoPostBack="True" OnTextChanged="txtGreeting_OnTextChanged" TextMode="MultiLine"></asp:TextBox>
        </asp:View>
    </asp:MultiView>
</div>
</form>

选择前景(文本)颜色:


选择背景色:
选择边框样式:

选择fint名称:


在下面输入问候语文本:

我试图更改ID、删除一些属性、添加结束标记,但这些都不起作用,我想知道为什么会出现此错误您在
lstFontName
中的属性之间缺少空格。改变

<asp:DropDownList ID="lstFontName" runat="server"AutoPostBack="True" OnTextChanged="lstFontName_OnTextChanged"/>

进入



runat=“server”
AutoPostBack=“True”

之间必须有一个空格。谢谢。这样做了,错误消息指的是错误的行。仍然有人说编译器从不出错。
<asp:DropDownList ID="lstFontName" runat="server" AutoPostBack="True" OnTextChanged="lstFontName_OnTextChanged"/>