Apr 25, 2011, 8:38 PM
<ext:Label NOT taking the NEW LINE Character...
I tried \n, Environment.NewLine, vbCrLf, <br\>
Nothing gets it to the New Line....
Is there a different Control I can you in Coolite, because the <ext:Label Control is NOT taking the NEW LINE Character ???
Example is in C#, but I'm using VB.NET...
.cs
Nothing gets it to the New Line....
Is there a different Control I can you in Coolite, because the <ext:Label Control is NOT taking the NEW LINE Character ???
Example is in C#, but I'm using VB.NET...
.cs
class Program
{
static void Main()
{
// 1.
// Declare a new StringBuilder.
StringBuilder builder = new StringBuilder();
// 2.
builder.Append("The list starts here:");
// 3.
builder.AppendLine();
// 4.
builder.Append("1 cat").AppendLine();
// 5.
// Get a reference to the StringBuilder's buffer content.
string innerString = builder.ToString();
Label1.Text = innerString;
}
}
.aspx<ext:Anchor>
<ext:Label ID="Label1" runat="server" Text="" />
</ext:Anchor>
Last edited by RonaldR; Apr 25, 2011 at 8:45 PM.
Reason: grammer updated...