18 Jul 2012
23 Apr 2008
Link to this post
I think it would be neat to have a simple code control that you can drop on a page, similar to the generic content control, but that can run really simple code.
for example, I have a generic control for the <h1> tag of my page header, but I want to be able to change it based on the query string. it would be cool if I could just type in <h1>whatever <%= Request.Querystring["stuff"] %></h1> instead of having to create, register, and load a custom user control. This could also be useful for stuff like displaying the date and time to the user, and other simple controls that are (for the most part) simple and do not require a full control to be used.