Wean Yourselves off View State From the Start

Posted by: AspNetResources.com articles, news and updates, on 10 Jul 2009 | View original | Bookmarked: 0 time(s)

Whenever I start a new project these days, I head straight to web.config and do this: <pages enableViewState="false" enableSessionState="false" autoEventWireup="false"> The key here is the first attribute. If you knock out view state right from the start, I can guarantee you will approach your site differently. You won’t be tempted to drag and drop DataGrids, which are view state hogs because they depend on it for paging and sorting. To me, the DataGrid control is the ultimate...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: DataGrid | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 982 | Hits: 59

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