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...