tag:blogger.com,1999:blog-25545748.post8266357282916688912..comments2023-10-06T06:22:16.978-04:00Comments on Mostafa's Blog: Loading Controls Dynamically problem on ASP.Net 2.0Anonymoushttp://www.blogger.com/profile/04369573110626236922noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-25545748.post-77426210447727290892007-12-09T09:22:00.000-05:002007-12-09T09:22:00.000-05:00Thanks.Here is a quick recap of our UI framework u...Thanks.<BR/><BR/>Here is a quick recap of our UI framework using additional tools ASP.NET AJAX, Ajax Tool Kit and Infragistics.<BR/><BR/>Main default page has three different update panels, two for displaying menu and one panel for displaying pages. WHen a user click on the menu each page (dynamically loaded1 user control) is loaded using Async POstback. However we are seeing an exponential decrease in the performance. <BR/><BR/>How does the asp.net runtime manages dynamically created controls? Does it do a good job in managing the memory resources (in this case when switching between different pages means user controls)?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-25545748.post-64908230967420123712007-11-12T01:01:00.000-05:002007-11-12T01:01:00.000-05:00Hi Faizal,No performance issue you will face for l...Hi Faizal,<BR/><BR/>No performance issue you will face for loading your controls dynamically,since you will load only the control which you want to display on your page only.<BR/>This technique is not easy to implement because you have to design your controls and your project in a way tp be modular.<BR/><BR/>I used this way on all my projects and i get used to do it :).<BR/><BR/>for each post back oyu will just load the control which you want only.<BR/><BR/>Hope my reply helps you.<BR/><BR/>Feel free to ping me for any help.Anonymoushttps://www.blogger.com/profile/04369573110626236922noreply@blogger.comtag:blogger.com,1999:blog-25545748.post-48194848829631485432007-11-11T10:46:00.000-05:002007-11-11T10:46:00.000-05:00Mustafa,Good Tip...Are you seeing any performance ...Mustafa,<BR/><BR/>Good Tip...<BR/><BR/>Are you seeing any performance issues with this approach of dynamically creating user control. I believe you will need to recreate this control for each postback right?<BR/><BR/><BR/>Thanks..Unknownhttps://www.blogger.com/profile/04568735243776196132noreply@blogger.com