Master Page Performance

Posted by: K. Scott Allen, on 01 Jul 2006 | View original | Bookmarked: 0 time(s)

Q: I'm having a problem with performance in my ASP.NET master page. In the debugger I see the master page runs during each postback. How do we stop the master page from running its Load event each time? A: The MasterPage class derives from UserControl, which gives a hint as to why the master behaves this way. The master page becomes a control inside the page, and like every control in ASP.NET the master recreates itself on every postback (see Master Pages: Tips, Tricks, and Traps). You might...

Category: Performance | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1804 | Hits: 134

Similar Posts

  • "Page" vs "PageData" objects in ASP.NET Web Pages more
  • SQL SERVER PAGELATCH_DT, PAGELATCH_EX, PAGELATCH_KP, PAGELATCH_SH, PAGELATCH_UP Wait Type Day 12 of 28 more
  • SQL SERVER PAGEIOLATCH_DT, PAGEIOLATCH_EX, PAGEIOLATCH_KP, PAGEIOLATCH_SH, PAGEIOLATCH_UP Wait Type Day 9 of 28 more
  • Generate stunning ASP.NET/AJAX applications with Web Site Factory more
  • November's Toolbox Column Now Online more
  • Sneak Peak: CSS Sprites Make Your Websites Faster more
  • Get Ready for Teleriks Custom-built Extensions for ASP.NET MVC more
  • ClientIDMode in ASP.NET 4.0 more
  • TIP: How To Generate a Fully Qualified URL in ASP.NET (E.g., http://www.yourserver.com/folder/file.aspx) more
  • RadControls for Silverlight 3 Q3 2009 bringing more richness and interactivity to your applications more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD