Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3695638
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T04:38:31+00:00 2026-05-19T04:38:31+00:00

I am creating one application in which I am using resource files to keep

  • 0

I am creating one application in which I am using resource files to keep strings. In my application I am keeping pages in separate folders like all the registration pages are in Register folder. I created on Resources folder in this folder to have all the resource files related to registration module. But, when I am trying to access resource strings

  <asp:Label Text="<%$Resources: RegisterAsUser, userName%>" runat="server" />

It is giving error that userName key is not found. I am not able to figure out the error here.

Can anyone tell what is wrong here?

Thanks,
Ashwani

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T04:38:32+00:00Added an answer on May 19, 2026 at 4:38 am

    You are using explicit expressions.

    <asp:Label Text="<%$Resources: RegisterAsUser, userName%>" runat="server" />
    

    whereas the other option is implicit expressions

    <asp:Label ID="label1" runat="server" meta:resourcekey="userName" ></asp:Label>
    

    For the explicit expressions as I understand it, the purpose of it is to used a shared location, so that resources from many aspx files can access the values from one resource file. For this to work, your resx file RegisterAsUser must be beneath the App_GlobalResources directory.

    With implicit, the value is looked from in a resx file with the same name as the aspx file with the correct localization value of course.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating one application in which i am using jsp/servlet.. I want to
I'm creating an iPad application which needs a UIPopoverController like this one (I mean,
I am creating one application in .net MVC, in which I am using jQuery
I am creating an application for the iPhone which involves having more than one
I am creating an application using WPF which is using Prism framework. I have
I am Creating one application in which I want to set one swf as
I'm writing C# application which saves picture box screen to JPEG files. One thread
I am creating one simple conference application (Java based) and using RESTFull Web Service
am creating one application for student. I need to show digital clock with remaining
I am creating one application for student. I need to set the different message

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.