Skip to content Skip to sidebar Skip to footer

Linebreak Or New Line In The Text Field Of A Label In Asp.net

How can I have line break in text of a label in ASP.net. is there a way in HTML 5 to resolve this issue

Solution 1:

this can be achieved thru

<br /><asp:LabelID="lblAdmin"Visible='<%# IsAdmin %>'Font-Names="Time News Roman !important;"runat="server"style="text-align: left"><br/>(Admin)</asp:Label>

it works perfectly as desired

Post a Comment for "Linebreak Or New Line In The Text Field Of A Label In Asp.net"