Havinng多个(8-10)局部视图进入一个视图是正确的方式还是任何其他方式来完成这项任务? [英] Havinng multiple(8-10) partial view's into one view is it right way or any other way to do this task?

查看:83
本文介绍了Havinng多个(8-10)局部视图进入一个视图是正确的方式还是任何其他方式来完成这项任务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究一个模块,因为有多个标签的表单我可以通过使用局部视图进入一个视图吗?我很遗憾在加载时可能需要很长时间来渲染所有控件。



我应该使用什么来获得更好的性能?

I am working on one module in that there is form with multiple tabs can i do this by using partial view into the one view?. I heart that at the loading time it may took to much time to render all controls.

What i should use for better performance?

推荐答案

当然,8-10个标签需要更多时间才能加载。所以使用部分视图&单击相应选项卡时,通过按需加载加载相应的局部视图。



查看此页面。 http://www.codeproject.com/KB/FAQs/ [ ^ ]。 [按Page + Down两次]。有4个标签(文章,技术博客,提示/技巧和参考)&每个选项卡按需加载加载内容。
Surely 8-10 tabs will take more time to load. So use partial views & load the appropriate partial view by load on-demand when you click appropriate tab.

Check this page. http://www.codeproject.com/KB/FAQs/[^]. [Press Page+Down twice]. There're 4 tabs(Article, Technical Blog, Tip/Trick & Reference) & each tab loads content by load on-demand.


这篇关于Havinng多个(8-10)局部视图进入一个视图是正确的方式还是任何其他方式来完成这项任务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆