Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiline label in asp.net

Tags:

People also ask

What is a multiline label?

Property Value True if the label control is multiline; otherwise, False. A multi-line label control renders the label's text on more than one line. If the WordWrap property is set to True, long lines will be wrapped to the following line.

How do you make a multiline label?

Create a Multiline Label With the Panel Method in C# We can also use a Panel control to create a multiline label in C#. We can place the desired label inside a panel and then handle the ClientSizeChanged event for the panel. The ClientSizeChanged event is invoked whenever the size of a control inside the panel changes.

What is label in asp net?

ASP.NET Web Forms LabelThis control is used to display textual information on the web forms. It is mainly used to create caption for the other controls like: textbox. To create label either we can write code or use the drag and drop facility of visual studio 2017.


I want to use a multiline label but as the control is browser dependent, even on setting the height, width and wrap properties of the label control I am unable to display multiline text It doesn't support every browser in the same way.