Solved

asp.net resource file

Posted on 2014-10-02
2
353 Views
Last Modified: 2014-10-24
How can i make the resource value working with <a href=> ? Of course, below codes won't work. but it is what I need ...

<a href="test.aspx?id=<%$ Resources:Resource,Heidelberg %>"></a><asp:Label runat="server" ID="Label14" Text="<%$ Resources:Resource,Heidelberg %>"></asp:Label></a>
0
Comment
Question by:ITsolutionWizard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 82

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 40358611
you're mixing 2 items code behind that is run at the server and html ..  perhaps something along the line of
mystring = "<a href=""test.aspx?id=<%$ Resources:Resource,Heidelberg %>"></a>"
mystring = mystring +  Resources:Resource,Heidelberg + "></a> "

doc.write (muystring)
0
 
LVL 1

Author Comment

by:ITsolutionWizard
ID: 40367361
I try to use it in aspx
0

Featured Post

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question