Is there a way to put text in to a btn control in VB.net in the text property to make it be on multiple lines?
I've tried using <br> and Environment.NewLine with string.format. None of these are causing a line break and it is just putting it all on the same line.
In C# it works with \n. There is also a css class that is being applied that is actually taking the button image away
This works in C#, but not in VB.net
testBtn.Text = string.Format("This\nis\ntest");
Thanks.
Here is the CSS class being applied on this button control for a specific reason:
.buttonLinkRed
{
color:Red !important;
background-color:transparent !important;
border-width:0px !important;
border: none !important;
font-family: OCR A Extended !important;
font-size:medium !important;
padding:0px !important;
margin:0px ! ...
Go to the complete details ...