473,811 Members | 3,402 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 "Maintenanc e 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 2743
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.goog legroups.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 "Maintenanc e 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.comwro te:
have you tried adding "<br />" in between the words?

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

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

news:11******** **************@ o3g2000hsb.goog legroups.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 "Maintenanc e 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.goog legroups.com...
On Nov 5, 11:24 am, "David Wier" <d...@dw.comwro te:
>have you tried adding "<br />" in between the words?

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

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

news:11******* *************** @o3g2000hsb.goo glegroups.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 "Maintenanc e 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.comwro te:
How strange - it worked for me (with and without the slash) - are you sure
you're using a LinkButton?

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

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

news:11******** **************@ 50g2000hsm.goog legroups.com...
On Nov 5, 11:24 am, "David Wier" <d...@dw.comwro te:
have you tried adding "<br />" in between the words?
David Wierhttp://aspnet101.comht tp://iWritePro.com-One click PDF,
convert .doc/.rtf/.txt to HTML with no
bloated markup
<Amritha.Da...@ gmail.comwrote in message
>news:11******* *************** @o3g2000hsb.goo glegroups.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 "Maintenanc e 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
5201
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 image. What I would like to create is a link that can be clicked on to close the window that contains the larger image. This would make it easier for the users to close the window. I have posted the script that I use. Any help would be much...
3
2252
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 gecko browsers e.g. Mozilla, Netscape, Epiphany etc etc. This is what I have now and works fine in IE but sits there doing nothing in anything else:
10
17198
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 form and the input and "background:none; border:none;" to the input only, which should do the trick, but it doesn't.
1
9718
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 the view link to update to point to the image representing that selection. So for example, if the list box held names of images I would want the view link to always point at the correct image. To further complicate this matter, the selections...
1
390
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 "DataBinder.Eval(Container,"DataItem."+ JR.Core.Data.JobseekerData.FLD_SEARCH_MATCHES) " is 0 i do not want the the 0 to become a link.... I simply want to display it as text. How can i do this? <asp:LinkButton CommandArgument='<%# DataBinder.Eval(Container,"DataItem."+...
8
2007
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" up in the right upper corner of the browser. I have an XP and had just installed XP Service Pack II...against my better judgment. Please help. Thanks.
4
4843
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 value of the "id" field of that record as a URL parameter. Can someone tell me how to do this.
4
4531
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 Calendar1.DayRender If e.Day.Date = Now.Date Then Dim lbtntemp As New LinkButton lbtntemp.Text = "go here" lbtntemp.ID = "thsLnk" e.Cell.Controls.Add((lbtntemp)) End If
6
15008
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 symbol} will complete the url. I found code for a variable link: <script language="JavaScript"> <!-- function variable_in_link(varible_value) {
3
7952
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 Column2 Books 54 Videos 6 Audio 3
0
9605
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10647
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10395
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10130
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7667
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6887
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4338
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3865
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3017
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.