PC Review


Reply
Thread Tools Rate Thread

Creating a Multi-Line Button Control

 
 
Nathan Sokalski
Guest
Posts: n/a
 
      31st May 2007
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
(E-Mail Removed)
http://www.nathansokalski.com/


 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      31st May 2007
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.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi-Line Button text David C Microsoft ASP .NET 1 15th Jun 2009 12:22 AM
multi-line text button? =?Utf-8?B?Sm9u?= Microsoft Dot NET Compact Framework 2 10th Feb 2006 06:48 AM
multi-line button text Ian Lazarus Microsoft Dot NET Framework 3 31st Dec 2005 04:17 PM
multi-line button Mark Microsoft C# .NET 3 21st Sep 2004 07:13 AM
Re: multi-line button JJ Microsoft C# .NET 1 17th Aug 2004 08:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:20 AM.