ASP.NET 2.0 suggestion ... please vote

J

Joel Martinez

http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackId=FDBK18095

Problem Statement: Opened by Joel Martinez on 2004-11-18 at 11:54:24

It is cumbersome to have to type this.Controls.Add(new
LiteralControl("My Literal Content")) for custom server controls where
much literal content must be written out.


Proposed Solution: One more overload for the Add method ... here,
I'll even write it for you ;-)

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

Benefits: Faster Development
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,141
Messages
2,570,817
Members
47,364
Latest member
Stevanida

Latest Threads

Top