母版页菜单控件影响应用程序的性能 [英] Master Page menu control effect the performance of application
问题描述
亲爱的朋友
我面临的一个问题是以下情况.
我创建了一个具有母版页的应用程序,多个页面映射到该母版页.
该母版页具有一个菜单控件,该菜单控件使用来自执行过程"的数据填充.
菜单图具有每个过程的子菜单.
但是,每次通过菜单访问任何页面时,都会加载该页面以及母版页.这导致该过程的执行并填充菜单控件.
是否有任何简单而完美的方法来克服此问题,从而影响应用程序的性能.
在此先感谢
Dear Friend''s
I am facing one issue the scenario is as given below.
I have created an application which is has a master page, multiple pages map to that master page.
The master page has a menu control which is populated using data coming from Execute Procedure.
The menu map has child menu for each process.
But every time any page is accessed through menu, the page loads, as well as master page. This leads to the execution of the procedure and populate the menu control.
Is there any easy and perfect way to overcome this issue which effects the performance of the application.
Thanks in advance
推荐答案
使用诸如Cache
之类的技术
在ASP.NET中浏览缓存 [
Use techniques like Cache
Exploring Caching in ASP.NET[^]
这篇关于母版页菜单控件影响应用程序的性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!