Solved

asp.net resource file

Posted on 2014-10-02
2
306 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

706 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

23 Experts available now in Live!

Get 1:1 Help Now