Problem with Local Resource

S

shapper

Hello,

I have a label which text is:

"<h1><a class=""h1Asterisk"" href=""Documents.aspx/""
title=""documents"">documents</a></h1>"

Instead of making:

MyLabel.Text = "<h1><a class=""h1Asterisk"" href=""Documents.aspx/""
title=""documents"">documents</a></h1>"

I want to make:

MyLabel.Text = Me.GetLocalResourceObject("MyLabel.Text")

I did that and placed in my Local Resource file the following:

"<h1><a class=""h1Asterisk"" href=""Documents.aspx/""
title=""documents"">documents</a></h1>"

However, I am getting something strange in my page. The class is not
being applied and I see:

"

documents

"
I know the problem is in "" but I all my tries were unsuccessful.

Could someone, please, help me out?

Thanks,

Miguel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,800
Messages
2,569,657
Members
45,408
Latest member
SandyR2016
Top