Solved

Wrapping text in an <asp:button>

Posted on 2004-04-20
2
827 Views
Last Modified: 2006-11-17
Is it possible to wrap text in an <asp:button>?

So far I've tried:

btnAssign.text = "Assign<br>Referrals"

btnAssign.text = "Assign\nReferrals"

btnAssign.text = "Assign\rReferrals"

The button comes up with the text exactly as
shown above.

Thanks.
0
Comment
Question by:JeffDrummond
2 Comments
 
LVL 29

Accepted Solution

by:
David H.H.Lee earned 250 total points
ID: 10872280
JeffDrummond,
Here's the solution :

[c#]
btnAssign.text = "Assign\nReferrals"

[vb.net]
btnAssign.text = "Assign" & vbCrLf & "Referrals"
0
 

Author Comment

by:JeffDrummond
ID: 10872484
x_com:

Just what I needed.

Thanks!
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now