473,405 Members | 2,176 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Link button Text

Hi,

I want to break the text in the link button into 2 lines. How would
this be possible in ASP.NET 2003?

Ex: I have a link button "Maintenance Screen" , I want to show that
into 2 lines because its length

I want to show as:

Maintenance
Screen
Any help would be appreciated.

Thanks.

Nov 5 '07 #1
4 2725
have you tried adding "<br />" in between the words?

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup
<Am***********@gmail.comwrote in message
news:11**********************@o3g2000hsb.googlegro ups.com...
Hi,

I want to break the text in the link button into 2 lines. How would
this be possible in ASP.NET 2003?

Ex: I have a link button "Maintenance Screen" , I want to show that
into 2 lines because its length

I want to show as:

Maintenance
Screen
Any help would be appreciated.

Thanks.

Nov 5 '07 #2
On Nov 5, 11:24 am, "David Wier" <d...@dw.comwrote:
have you tried adding "<br />" in between the words?

David Wierhttp://aspnet101.comhttp://iWritePro.com- One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup

<Amritha.Da...@gmail.comwrote in message

news:11**********************@o3g2000hsb.googlegro ups.com...
Hi,
I want to break the text in the link button into 2 lines. How would
this be possible in ASP.NET 2003?
Ex: I have a link button "Maintenance Screen" , I want to show that
into 2 lines because its length
I want to show as:
Maintenance
Screen
Any help would be appreciated.
Thanks.
I tried but that didn't work

Nov 5 '07 #3
How strange - it worked for me (with and without the slash) - are you sure
you're using a LinkButton?

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup
<Am***********@gmail.comwrote in message
news:11**********************@50g2000hsm.googlegro ups.com...
On Nov 5, 11:24 am, "David Wier" <d...@dw.comwrote:
>have you tried adding "<br />" in between the words?

David Wierhttp://aspnet101.comhttp://iWritePro.com- One click PDF,
convert .doc/.rtf/.txt to HTML with no
bloated markup

<Amritha.Da...@gmail.comwrote in message

news:11**********************@o3g2000hsb.googlegr oups.com...
Hi,
I want to break the text in the link button into 2 lines. How would
this be possible in ASP.NET 2003?
Ex: I have a link button "Maintenance Screen" , I want to show that
into 2 lines because its length
I want to show as:
Maintenance
Screen
Any help would be appreciated.
Thanks.

I tried but that didn't work

Nov 5 '07 #4
On Nov 5, 12:40 pm, "David Wier" <d...@dw.comwrote:
How strange - it worked for me (with and without the slash) - are you sure
you're using a LinkButton?

David Wierhttp://aspnet101.comhttp://iWritePro.com- One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup

<Amritha.Da...@gmail.comwrote in message

news:11**********************@50g2000hsm.googlegro ups.com...
On Nov 5, 11:24 am, "David Wier" <d...@dw.comwrote:
have you tried adding "<br />" in between the words?
David Wierhttp://aspnet101.comhttp://iWritePro.com-One click PDF,
convert .doc/.rtf/.txt to HTML with no
bloated markup
<Amritha.Da...@gmail.comwrote in message
>news:11**********************@o3g2000hsb.googlegr oups.com...
Hi,
I want to break the text in the link button into 2 lines. How would
this be possible in ASP.NET 2003?
Ex: I have a link button "Maintenance Screen" , I want to show that
into 2 lines because its length
I want to show as:
Maintenance
Screen
Any help would be appreciated.
Thanks.
I tried but that didn't work
May be You could have tried 'Hyperlink' control. It works for
hyperlink control. But I asked for LinkButton control. Any ideas?

Nov 5 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Steve | last post by:
Hi, I have a nice little script that works well displaying images on my website. It's a script where if you clik a thumbnail image a pop up window opens that contains a larger version of the same...
3
by: Craig | last post by:
Hi, What I'm trying (quite poorly) to do is make it so when a link is clicked the text inside a div or p changes. I've tried numerous things, most of which work in IE but none of which work in...
10
by: bnmm | last post by:
Hello, I'd like to style a submit button as regular text link. demo: www.byteshift.de/msg/div/input-as-link-by-css (XHTML strict) I applied "display:inline; margin:0; padding:0;" to both the...
1
by: John Doe | last post by:
I have a PHP page that generates a list box with several options in it. I would like to have a "view" link next to the list box. When the user changes the contents of the list box, I would like...
1
by: Darren Clark | last post by:
I have a link button that i would like to be used if the value of the text is NOT 0... So the code below will always make a linkbutton.... However if the value of...
8
by: David | last post by:
This is something I had never seen before. On an aspx page, upon pressing a link button for which I have an event handler in the code behind, the screen shows nothing but a line that says "true"...
4
by: Miguel Dias Moura | last post by:
Hello, I created a datalist in an ASP.Net / VB page. I display the image and price of a few products. When a user clicks an image I want to load the page "detail.aspx?number=id" and send the...
4
by: Kurt Schroeder | last post by:
I am trying to add a link button to a calendar. this is a simple example: Private Sub Calendar1_DayRender(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DayRenderEventArgs) Handles...
6
by: ntdude4 | last post by:
I am trying to make a variable link on a page. The page has a text box for a stock symbol. The code is: <input type=TEXTBOX Name="symtb" value="" size="10> The value of the text box {the stock...
3
by: =?Utf-8?B?UGxhdGVyaW90?= | last post by:
I have link buttons in a Gridview that, depending on the value in another column (Not the Key column) will need to be disabled. For example, (Column2 has link buttons) Column1 ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.