Click here to Skip to main content
15,867,594 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I would like to add a 'tick' symbol at the end of a text. Can any one advice. My code:
XML
<asp:Label ID="Label85" runat="server"  ForeColor="Green"
                style="position:absolute; top: 12px; left: 1px; height:12px;font-size:x-small;width:200px" Text="Category selected [of item No:1] OK"></asp:Label>


So, as per above text, I want to add a 'tick' symbol at the end of the text after 'OK'.
Regards.

I tried this, but error saying server tag not well formed:
XML
<asp:Label ID="Label85" runat="server"  ForeColor="Green"
                style="position:absolute; top: 12px; left: 1px; height:12px;font-size:small;width:200px" Text="Category selected [of item No:1] OK+ "<img src="check-mark-th.png">""></asp:Label>
Posted
Updated 30-Jan-13 2:45am
v2
Comments
Sergey Alexandrovich Kryukov 29-Jan-13 23:53pm    
Tick? What language are you talking? Out language is Unicode. Please, code point, or just type it. Why all that cryptic manner of talking? :-)
—SA
_Maxxx_ 30-Jan-13 0:08am    
I think he is talking English - what language are you talking (Out language is Unicode???)
Sergey Alexandrovich Kryukov 30-Jan-13 0:31am    
E-ee... hard to talk this way... ever heard of the concept of metaphor? semiotics? OK...
Anyway, Unicode is a language in the following sense: this is the language which allows us to communicate about characters.

Put it this way: run this application which comes with every version of Windows: charmap.exe. Loaded? Now see.
I select the letter φ. I can type it here, in this text area. I can give you its name: "Greek Small Letter Phi". If you put this text in "Search", the application will find this latter for you. I can tell you the code point of it: 036C. If you consider it as abstract mathematical integer, without relations to any UTF, and you tell anyone that his is the Unicode "code point", anyone can use this application, or http://www.Unicode.org and find out the same letter.

Are you getting the idea?

But if I use your word "tick", all I get is: "No Character Available". It means that you are not using civilized, cultured language. You are using... who know what... some jargon which I don't understand, and, I suspect, you would not understand yourself.

And how would you like to get help in this case?

—SA
_Maxxx_ 30-Jan-13 5:29am    
I'm not looking for help, the original poster is. "Tick" is an English word - look it up - and I fully understood what the OP meant - your comment was unhelpful and insulting - if you can't be helpful, don't post at all.
Sergey Alexandrovich Kryukov 30-Jan-13 12:14pm    
Sorry, I can see it now, sorry.

Do me a favor, please let me comment what I find appropriate. Yes, on this site many consider knowledge insulting. If you and OP through out ambition and look at the comments as the way to learn something, the insult will disappear...

You note about English 'tick' is irrelevant: you still don't telling us what is that character. I explained why.

Thank you,
—SA

try this in code behind

C#
Label1.Text = "<img src="images/tick.gif" width="12px" height="12px" />" + "some text here";



Thanks
 
Share this answer
 
try this

<asp:label id="Button1" runat="server" text="Category selected [of item No:1] OK √" xmlns:asp="#unknown">

I have added √ at the end
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900