Menu Items are not displayed

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
rkopp01234
User
Posts: 23

Menu Items are not displayed

Post by rkopp01234 »

Sporadically main menu items are not displayed when clicking on a new menu entry, sometimes it works, sometimes it doesn't,.The page itself is displayed.

I get the following error in the java Script console, when it doesn't work:

â–¼ uncaught
▼ Object { name: "JsRender Error”, message: "Syntax error\nunmatched or missing {{/if}}, in template:\n\n{{if items}}\n\t{{for items}}\n\t\t<li id=\\\"{{:id}}\\\" name=\\\"{{:name}}\\\" class=\\\”{{if isHeader}}nav-header{{else}}nav-item{{if items}} has-treeview{{/if}}{{if active}} active current{{/if}}{{if open}} menu-open{{/if}}{{/if}}{{if isNavbarltem}} d-block d-md- none{{/if}}\\\">\n\t\t\t{{if isHeader}}\n\t\t\t\t{{if icon}}<i class=\\\”{{:icon}}\\\"></i>{{/if}}\n\t\t\t\t<span>{{:text}}</span>\n\t\t\t\t{{if label}}\n\t\t\t\t<span class=\\\”right \\\">\n\t\t\t\t\t{{:1", stack : "@http://localhost: 5000/js/jsrender.min.js: 3:24506\n§http://localhost: 5000/js/jsrender.min.js: 3:2l9\n@http://localhost: 5000/js/jsrender.min.js: 3:227\n" } message: "Syntax error\nunnatched or missing {{/if}}, in template:\n\n{{if items}}\n\t{{for items}}\n\t\t<li id=\\\"{{:id}}\\\" nane=\\\"{{:nane}}\\\" class=\\\"{{if isHeader}}nav- header{{else}}nav-item{{if items}} has-treeview{{/if}}{{if active}} active current{{/if}}{{if open}} menu-open{{/if}}{{/if}}{{if isNavbarltem}} d-block d-md-none{{/if}}\\\">\n\t\t \t{{if isHeader}}\n\t\t\t\t{{if icon}}<i class=\\\"{{:icon}}\\\"x/i>{{/if}}\n\t\t\t\t<span>{{:text}}</span>\n\t\t\t\t{{if label}}\n\t\t\t\t<span class=\\\"right\\\">\n\t\t\t\t\t{{:: name: "DsRender Error"
stack: "@http://localhost:5080/js/jsrender.min.js:3:24506\n@http://localhost:5000/js/jsrender.min.js:3:219\n@http://localhost:5000/js/jsrender.min.js:3:227\n"
â–¼ 

Thanks


MichaelG
User
Posts: 1114

Post by MichaelG »

Make sure you use latest version of v2021 (v2021.0.8 as of today).

Check or remove any Page_Head / Page_Foot / client scripts / Custom Template you have that may cause the template to fail.


Post Reply