We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

How not to type control ID again in meta:resourcekey?

bovlk
bovlk asked
on
Medium Priority
464 Views
Last Modified: 2012-05-11
Hello,

I've got a page which I need to localize to different langauges. So I used resource files and ended with a lot of controls looking like below. Most of the time, the meta:resourcekey is simply equal to control ID. Typing it twice is getting really annoying. Any way to get rid of this need while still using resource files (changing res files to some other concept would take weeks of work).

Thanks
<asp:HyperLink ID="linkImportZipFile" NavigateUrl="#extractZIP" onclick="extractOpt(impMethZip);" Text="Import models from ZIP file" runat="server" meta:resourcekey="linkImportZipFile" />

Open in new window

Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.