By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,683 Members | 1,597 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,683 IT Pros & Developers. It's quick & easy.

Creating a Multi-Line Button Control

P: n/a
I have a Button control whose text property is "Move To Archives". Because
this makes a relatively wide Button when the text is all one line, I want to
put a line break between the words "Move To" and "Archives". However, if I
specify the Text property as "Move To<br/>Archives" the "<br/>" simply shows
up on the Button. Is there any simple way to make a Button control's Text
property multi-line? (NOTE: I am writing my code using VB.NET and ASP.NET
2.0) Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/
May 31 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
html buttons don't support markup. you can use an image button or a link
button.
-- bruce (sqlwork.com)

Nathan Sokalski wrote:
I have a Button control whose text property is "Move To Archives". Because
this makes a relatively wide Button when the text is all one line, I want to
put a line break between the words "Move To" and "Archives". However, if I
specify the Text property as "Move To<br/>Archives" the "<br/>" simply shows
up on the Button. Is there any simple way to make a Button control's Text
property multi-line? (NOTE: I am writing my code using VB.NET and ASP.NET
2.0) Thanks.
May 31 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.