A (less) simple include for ASP.NET

Posted by: More Whidbey stuff, on 10 Jul 2009 | View original | Bookmarked: 0 time(s)

In yesterdays post, I published the code for a simple include method for ASP.NET that Ive been using in a couple of places, only to realize that it was fine for what I was doing but probably not very useful beyond that. So I spent some time today broadening its scope. It now supports nested includes (I modified the original post to reflect that change) and also setting properties on the control. You can still do plain includes: <% this.Include("contents.ascx"); %> But now you...

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: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 853 | Hits: 98

Similar Posts

  • TIP: How To Generate a Fully Qualified URL in ASP.NET (E.g., http://www.yourserver.com/folder/file.aspx) more
  • VS 2010 and .NET 4.0 Beta 2 more
  • Telerik announces second Beta release of RadControls for Silverlight/WPF Q3 2009 more
  • Announcing Visual Studio 2010 and .NET FX 4 Beta 2 more
  • Experimenting with MongoDB from C# more
  • Creating a Filtering User Interface With jQuery In a Web Forms Application: Part 1 more
  • ASP.NET MVC 2 Preview 2 more
  • Quick Reference Guide for Telerik Support more
  • A Tool For Querying Multiple Databases more
  • Practice, Code Exercises, and Code Katas 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