ASP - “$0”显示为“{2}”
ASP - "$0" displaying as "{2}"
我们有一个我们似乎无法解决的非常奇怪的错误。我们的 .aspx 页面上有这段代码片段:
<asp:PlaceHolder ID="screenEnclosureCP" runat="server" Visible="false">
<asp:DropDownList ID="ddlScreenEnclosure" runat="server">
<asp:ListItem Selected="True" Value="0">[=11=] (No Screen Endorsement)</asp:ListItem>
<asp:ListItem Value="5,000">,000</asp:ListItem>
<asp:ListItem Value="10,000">,000</asp:ListItem>
<asp:ListItem Value="15,000">,000</asp:ListItem>
<asp:ListItem Value="20,000">,000</asp:ListItem>
<asp:ListItem Value="25,000">,000</asp:ListItem>
<asp:ListItem Value="30,000">,000</asp:ListItem>
<asp:ListItem Value="35,000">,000</asp:ListItem>
<asp:ListItem Value="40,000">,000</asp:ListItem>
<asp:ListItem Value="45,000">,000</asp:ListItem>
<asp:ListItem Value="50,000">,000</asp:ListItem>
</asp:DropDownList>
</asp:PlaceHolder>
默认值“$0(无屏幕认可)”显示如下:
即使我们使用所有 HTML 代码 ($#48;
)、中间的空字符等,此错误仍然存在。出现“$0”的任何地方都会出现此错误。
这是 CodeBehind 或 javascript 中某些其他代码的影响,而不是问题中提供的任何信息。尝试在 {2}
或 [=11=]
上进行查找,您应该能够找到罪魁祸首。
我们有一个我们似乎无法解决的非常奇怪的错误。我们的 .aspx 页面上有这段代码片段:
<asp:PlaceHolder ID="screenEnclosureCP" runat="server" Visible="false">
<asp:DropDownList ID="ddlScreenEnclosure" runat="server">
<asp:ListItem Selected="True" Value="0">[=11=] (No Screen Endorsement)</asp:ListItem>
<asp:ListItem Value="5,000">,000</asp:ListItem>
<asp:ListItem Value="10,000">,000</asp:ListItem>
<asp:ListItem Value="15,000">,000</asp:ListItem>
<asp:ListItem Value="20,000">,000</asp:ListItem>
<asp:ListItem Value="25,000">,000</asp:ListItem>
<asp:ListItem Value="30,000">,000</asp:ListItem>
<asp:ListItem Value="35,000">,000</asp:ListItem>
<asp:ListItem Value="40,000">,000</asp:ListItem>
<asp:ListItem Value="45,000">,000</asp:ListItem>
<asp:ListItem Value="50,000">,000</asp:ListItem>
</asp:DropDownList>
</asp:PlaceHolder>
默认值“$0(无屏幕认可)”显示如下:
即使我们使用所有 HTML 代码 ($#48;
)、中间的空字符等,此错误仍然存在。出现“$0”的任何地方都会出现此错误。
这是 CodeBehind 或 javascript 中某些其他代码的影响,而不是问题中提供的任何信息。尝试在 {2}
或 [=11=]
上进行查找,您应该能够找到罪魁祸首。