?
Solved

Wrapping text in an <asp:button>

Posted on 2004-04-20
2
Medium Priority
?
835 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 29

Accepted Solution

by:
David H.H.Lee earned 1000 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

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…
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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

801 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