Click here to Skip to main content
12,813,926 members (31,273 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# ASP.NET
I would like to add a 'tick' symbol at the end of a text. Can any one advice. My code:
<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'.

I tried this, but error saying server tag not well formed:
<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">"">
Posted 29-Jan-13 18:32pm
Updated 30-Jan-13 3:45am
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? :-)
_Maxxx_ 30-Jan-13 0:08am
I think he is talking English - what language are you talking (Out language is Unicode???)
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 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?

Say, Solution 1 is based on assumption that you are talking about '√'. Is it what you mean? This is not 'tick'...
_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.
S.Rajendran from Coimbatore 30-Jan-13 7:38am
Your assumption is correct. My requirement of 'tick' is that symbol.
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,
_Maxxx_ 30-Jan-13 23:44pm
You are an idiot
I did not expect it from you... So sorry. I just communicated with you on the other question, but now... I hardly can... Really sorry.
Please, type this symbol, or give its codepoint value. If you do, I immediately explain how to use it HTML or ASP.NET.
You can easily find it if you execute "charmap.exe". Or
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

try this in code behind

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

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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

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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170308.1 | Last Updated 30 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100