Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

asp.net resource file

Posted on 2014-10-02
2
Medium Priority
?
368 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 83

Accepted Solution

by:
David Johnson, CD, MVP earned 2000 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

730 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