Create a label control with cssclass. Define the cssclass as
st{
whitespace:pre;
}
Define the label as
Assign data in code behind as
Label1.Text = “This code demonstrates the Decorator pattern which dynamically adds extra functionality to an existing object. “;
Label will be automatically wrapped to multi-line.
Like this:
Like Loading...
Related
About ambilykk
I am a Technology Evangelist on Microsoft Technologies. I am carrying the passion on Microsoft technologies specifically on web technologies such as ASP .Net and Ajax. My interests also include Azure and Visual Studio. Technology adoption and learning is my key strength and technology sharing is my passion.