Solved

asp.net resource file

Posted on 2014-10-02
2
316 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
2 Comments
 
LVL 78

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
 

Author Comment

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

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

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 article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now