Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.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 mvc HTML帮助程序不是以HTML格式呈现的-MS MVC_Asp.net Mvc - Fatal编程技术网

Asp.net mvc HTML帮助程序不是以HTML格式呈现的-MS MVC

Asp.net mvc HTML帮助程序不是以HTML格式呈现的-MS MVC,asp.net-mvc,Asp.net Mvc,我有一个简单的html表单。内置的HTML帮助程序正在呈现。未创建标记。我错过了什么 <asp:Content ID="Content5" ContentPlaceHolderID="IslandPlaceHolder" runat="server"> <%using (Html.BeginForm()){%> <div id="manifest">Manifest Option: <%Html.DropDownList("docid",Vie

我有一个简单的html表单。内置的HTML帮助程序正在呈现。未创建标记。我错过了什么

<asp:Content ID="Content5" ContentPlaceHolderID="IslandPlaceHolder" runat="server">
<%using (Html.BeginForm()){%>

    <div id="manifest">Manifest Option: <%Html.DropDownList("docid",ViewData["manifests"] as SelectList);%></div>
    <div id="release">Release Version: <%Html.TextBox("release"); %></div>
    <div id="locale">Localization: <%Html.DropDownList("localization"); %></div>
    <div id="label">Label: <%Html.DropDownList("label"); %></div>
    <div id="session">Session ID (optional): <%Html.TextBox("sessionInput"); %></div>%>
    <input type="submit" value="Build" />


  <%}%>
</asp:Content>

清单选项:
发行版本:
本地化:
标签:
会话ID(可选):%%>
您需要更改
您需要更改
查看我的问题提供了一些关于使用的见解查看我的问题提供了一些关于使用的见解
<%= Html.DropDownList("docid",ViewData["manifests"] as SelectList) %>