CODECUBE VENTURES

ASP.NET 2.0 Feedback Vote

If you're an ASP.NET developer, please add your vote to this feedback to add one super small simple overload to the ControlCollection class that would make my life a heck of a lot easier.

It's such a pain in the ass to have to type this.Controls.Add(new LiteralControl("My Literal Content")) for custom server controls where a lot of literal content must be written out. I do this all the time especially now that I'm doing a lot of sharepoint web parts. I even proposed to write the method for them! :-)

public void Add(string literalContent)
{
this.Add(new LiteralControl(literalContent));
}

Latest post: Digging Up the First Version of CodeCube

See more in the archives