目前具有动态填充基于剃刀页进来的模型()的自定义EditorTemplate。 目标是能够隐藏个人div'Sub_Text'在编辑器模板中基于无线电值。 型号:Prime.cs public class Prime{
public List<QuestionModel> Questions { get; set; }
}
型号:QuestionModel.cs public cla
我的EditorFor为标题似乎通过DateTime价值,而不是一个字符串,但我不明白我的生活为什么,当我注释出的形式组问题它完美运行。 类别: public class EventInputModel
{
[Required(ErrorMessage ="Event title is required.")]
[StringLength(200, ErrorMessage