asp.net vnext显示名称无法显示 [英] asp.net vnext display name can't display
本文介绍了asp.net vnext显示名称无法显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的模型
public class RegisterViewModel
{
[Required]
[Display(Name = "User name222")]
public string UserName { get; set; }
}
我的看法是
@Html.LabelFor(m => m.UserName, new { @class = "col-md-2 control-label" })
这是显示用户名,而不是用户name222
和中的ErrorMessage显示用户name222字段是必需的。
And the ErrorMessage display "The User name222 field is required."
============================================== 所有code是VS14 CTP2 Asp.net Vnext Web应用程序自动生成。
============================================== All the code is VS14 CTP2 Asp.net Vnext Web Application automatic generation.
为什么?如何解决?
推荐答案
这个问题正在跟踪< /一>,它正在处理,因为我们说话。
This issue is being tracked and it is being addressed as we speak.
谢谢, Kirthi
Thanks, Kirthi
这篇关于asp.net vnext显示名称无法显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文