locked
DetailsView headers will not localize RRS feed

  • Question

  • User248084892 posted

    The labels on the same page localize perfectly, but the headers are just blank.

    This is what I have in the details view:

    <asp:TemplateField SortExpression="ID" meta:resourcekey="TemplateFieldResource1">

    This is in the corresponding resource file:

    TemplateFieldResource1.HeaderText  |  ID

    BTW, I don't have the "Generate Local Resource" tool because I'm using VWD 2010.

    Tuesday, April 3, 2012 6:36 AM

Answers

  • User248084892 posted

    Thanks Allen, this turns out to be a DNN issue. DNN breaks away from ASP.NET localization and does its own thing.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, April 8, 2012 1:14 AM

All replies

  • User1954304945 posted

    Hi, I tested your codes on my computer and found it worked. Please make sure your local resources file is under the correct “App_LocalResources” folder, you can get more details about local resources file from the following link:

    http://msdn.microsoft.com/en-us/library/ms227427.aspx

    Thursday, April 5, 2012 1:52 AM
  • User248084892 posted

    Thanks Allen, this turns out to be a DNN issue. DNN breaks away from ASP.NET localization and does its own thing.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, April 8, 2012 1:14 AM