Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Problem with editing own account in admin/user accounts.Problem with editing own account in admin/user accounts.
Previous
 
Next
New Post
1/22/2013 2:31 AM
 

Hi Micheal,

You were right about the problem being an absent key in a resource file.

The key was indeed in the SharedResources.resx file BUT my site's language is en-GB and I hadn't needed to create a SharedResources.en-GB.resx file so I hadn't.

I created the en-GB version and it all works perfectly now.....

Many thanks

Jacqui.

 
New Post
1/22/2013 7:06 AM
 

Jacqui,

that's funny indeed, because if the SharedResources.en-GB.resx file is not there, it should fallback to the SharedResources.resx file.

Did you reference the file by its full name? It should be enough to do something like

[%= LocalizeString("RequiredFields") %]
or
[%= LocalizeString("RequiredFields.Text") %]

to get the value from the SharedResources.resx.

Otherwise, you can do something like

[asp:Label id="RequiredFieldsIndicator" ResourceKey="RequiredFields" runat="server" /]

(Replace square brackets by angle brackets)

Best wishes
Michael


Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
1/22/2013 8:16 PM
 

Hi,

The code is in the  DesktopModules/Admin/Security/ManageUsers.ascx page so is Core code not mine.

Here is the line it was erroring on though

<div class="dnnFormItem dnnFormHelp dnnClear"><p class="dnnFormRequired"><span><%=LocalizeString("RequiredFields")%></span></p></div>

Glad it is working and was an easy enough fix, just wish I had realised earlier.

Thanks for being on the forum with the advice :)

Jacqui.

 
New Post
1/23/2013 3:03 AM
 

Jacqui,

oooh - I did not realize that this was some Core Code. In this case, you should report it as a bug in Gemini (and also provide the workaround).

Best wishes
Michael


Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Problem with editing own account in admin/user accounts.Problem with editing own account in admin/user accounts.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out