473,770 Members | 1,980 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

LinkButton' Text can't include  ?

Why:
<asp:LinkButt on Runat="Server" Text='D&nbsp;D'/>
result:D?D
not D D

How can I do for that?

Nov 19 '05 #1
2 1325
try:
<asp:LinkButt on id="LinkButton1 " runat="server"> Link
Bu&nbsp;tton</asp:LinkButton>

--
Remy Blaettler
Helping you collaborate better!
www.collaboral.com
"farmer" <sd******@sina. com> wrote in message
news:11******** *************@g 14g2000cwa.goog legroups.com...
Why:
<asp:LinkButt on Runat="Server" Text='D&nbsp;D'/>
result:D?D
not D D

How can I do for that?

Nov 19 '05 #2
I'm surprised it's working at all, since I do not believe that 'Text'
is a valid attribute for a LinkButton.

If you do:

<asp:LinkButt on Runat="server"
id="LinkButton1 ">D&nbsp;D</asp:LinkButton>

I believe you'll get the desired result.

HTH,
Kevin
farmer wrote:
Why:
<asp:LinkButt on Runat="Server" Text='D&nbsp;D'/>
result:D?D
not D D

How can I do for that?


Nov 19 '05 #3

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

Similar topics

12
47926
by: Robert Mark Bram | last post by:
Hi All, I am using the following trim function: function trim (str) { return str.replace(/^\s*/g, '').replace(/\s*$/g, ''); } The problem is that this doesn't trim instances of the "&nbsp;" char - the non breaking space. Can this be represented in a grep statement at
2
1979
by: mortb | last post by:
A validator that is not displayed will render a &nbsp; tag in the output page. This cuases me problems as I don't wnat anything to show in this case. Is there any way to get rid of the &nbsp; ? cheers, mortb
5
1706
by: Tim | last post by:
Hi, I am trying to load up a drop list with semi aligned columns like so: Item 2 Something Else etc. To do so, I have tried to fill the Text valus of ListItems like so:
6
3986
by: Tina | last post by:
in the itemDatabound event of a datagrid, both null fields and blank string come through as &nbsp; in the e.items.cells field. Is there anyway to tell them apart? Thanks, T
3
8944
by: yawnmoth | last post by:
<? echo 'a'.trim(html_entity_decode('&nbsp;a&nbsp;')).'a'; ?> Shouldn't PHP output aaa? Looking at the documentation for trim I see that it doesn't support chr(0xA0) (eg. html_entity_decode('&nbsp;')), but it seems to me like it ought to...
28
13206
by: entfred | last post by:
I have the following line of html: &nbsp;&nbsp1234&nbsp;&nbsp;&nbsp;&nbsp;&nbspabc&nbsp;&nbsp;&nbspyow In Internet Explorer 6.0, the columns look ok using the above html: 1234 abcd yow But, in firefox, for same html, getting this:
2
1803
by: burntmatch2 | last post by:
I am needing help with this. Only when there is more than two consecutive spaces, it truncates replacing them with a SPACE + ANSISPACE like ' &nbsp;'. So like, EXAMPLE BEFORE: The quick brown fox. WOULD BE AFTER: The quick brown fox.
7
9789
by: Sebarry | last post by:
Hi, I'm having trouble creating a blank table row in Javascript using document.createElement( '&nbsp;' ). When I look at the generated source it has intrepreted it as <td>&amp;nbsp;</td>. What do I need to do? I've tried using single quotes, double quotes and backslash. Thanks, Sean
1
5633
by: anilraghuvanshi | last post by:
Hi All, We are displaying some text in text box coming from database. We set this value in text box using one Js function. problem is that the string is like "My Name" having <space> beteen them so this <space> is showing as &nbsp; in text box. How to solve this problem?
0
9618
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10101
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9906
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...
0
8933
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7456
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
6710
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();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4007
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
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.