【问题标题】:How can i use MVC Editor Templates using AngularJS in a view如何在视图中使用 AngularJS 使用 MVC 编辑器模板
【发布时间】:2017-10-17 06:57:02
【问题描述】:

我已使用 MVC 和 jquery 在其中一个项目中使用 MVC 编辑器模板在视图中创建不同的问题类型。见代码示例

@Html.EditorFor(model => (model).UserIfno.Questions[0], "QuestionTextBox");

现在我想使用 Angular 和 MVC 来完成这个任务。

请分享实现这一目标的最佳方法。

【问题讨论】:

  • 只是你不能在angularJs中使用@Html.EditorFor
  • 我现在但是如何使用 Angular 实现此功能。我刚开始使用 Angular,需要专家意见。

标签: angularjs asp.net-mvc mvc-editor-templates


【解决方案1】:

我找到了如何使用 Angular 实现这一点的想法。

如果需要任何其他机构,请参阅此 => Angular Static and dynamic templates

【讨论】:

    猜你喜欢
    • 2016-04-27
    • 1970-01-01
    • 1970-01-01
    • 2013-10-18
    • 1970-01-01
    • 1970-01-01
    • 2016-12-03
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多