Solved

Wrapping text in an <asp:button>

Posted on 2004-04-20
2
829 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

786 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