When to use HTML Helper?
2016-02-15 15:41
429 查看
HTML Helper
Single or closely related HTML elements(template)
Simpler,low level logic for displaying elements
Partial View/Child Action
Section of more complex HTML
Higher level,model related logic that may involve controller action method
Both can reduce code repetition
Single or closely related HTML elements(template)
Simpler,low level logic for displaying elements
Partial View/Child Action
Section of more complex HTML
Higher level,model related logic that may involve controller action method
Both can reduce code repetition
相关文章推荐
- HTML Meta标签
- html之线包字
- 20html基本语法测验题
- 积跬步,聚小流------html知识大纲归纳总结
- h:outputText (escape属性)输出HTML标签
- script标签的type="test/html"时
- HTML网页字体动态显示
- HTML 父元素与子元素之间的margin-top问题
- web前端基础——初识HTML DOM编程
- HTML 属性总结
- DOM创建和删除节点、HTML DOM常用对象[转]
- (3)html一些杂记
- 自定义表单(二)--拖拽(HTML版本)
- HTML语义化
- html资源地址 src="// 开头
- 一次请求执行两次同一html页面
- 了解HTML 盒模型
- html与text区别
- @using (Html.BeginForm())参数示例
- 了解HTML 元素分类