+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / External template error

External template error

5 posts, 0 answered
  1. Isabelle
    Isabelle avatar
    11 posts
    Registered:
    08 Jun 2010
    23 Jun 2010
    Link to this post
    I am trying to map to an external template (for EventsView) and I a getting the following error:

    Parser Error Message: The resource object with key 'Tags' was not found.

    For this line:

    <dt><asp:Literal ID="TagsLiteral" runat="server" Text="<%$Resources:Tags %>" /></dt>
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    23 Jun 2010
    Link to this post
    Hi Isabelle,

    In the external templates archive  there is a  folder  App_LocalResources that contains all resx keys

    [Sitefinity_3_7_standard_ExternalTemplates]\Sitefinity\ControlTemplates\Events\
    or

    [Sitefinity_3_7_standard_ExternalTemplates]\Sitefinity\Admin\ControlTemplates\Events\Modes\App_LocalResources

    or

    [Sitefinity_3_7_standard_ExternalTemplates]\Sitefinity\Admin\ControlTemplates\Events\App_LocalResources

    Depending on the template you have used, you should add the corresponding resx file in the same directory.

    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Isabelle
    Isabelle avatar
    11 posts
    Registered:
    08 Jun 2010
    24 Jun 2010
    Link to this post
    Ok.  I think I have followed the instructions correctly, but it's still not working.  I found the ascx.resx file and saved it to the same directory, but I am still not able to get it to work. It does work if I remove the tags section from the template, but I would like to include it.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    24 Jun 2010
    Link to this post
    Hello Isabelle,

    You could take a look at this article - Resources and Localization in ASP.NET 2.0. If it does not help, make sure that you have not precompiled the project and you are not running it under ASP.NET Framework 4.0.

    You could attach ( or send an external link  to) a sample project where we could see the issue( you could exclude the bin folder to reduce the size of the attachment).

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Isabelle
    Isabelle avatar
    11 posts
    Registered:
    08 Jun 2010
    24 Jun 2010
    Link to this post
    I am also getting an error when I try to edit the ViewItemView template:

    Parser Error Message: The resource object with key 'GoBack' was not found.

    For the line:
    <asp:HyperLink ID="backLink" runat="server" Text="<%$Resources:GoBack %>" />
    

    And I have the ascx.resx file in the same directory. Does that clarify or compound the problem?
Register for webinar
5 posts, 0 answered