Solved

Wrapping text in an <asp:button>

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

839 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