我想使用资源中的字符串来定义MVC.sitemap文件中的控制器和操作,当谈到使用标题资源时没有问题:
<mvcSiteMapNode title="$resources:ResourcesTest,Testimonios" controller="Testimonios" action="Index" />
但是当我尝试使用资源作为动作和控制器的名称时,它不起作用:
<mvcSiteMapNode title="$resources:ResourcesTest,Testimonios" controller="$resources:ControllersTests,Controller1Test" action="Index" />
这是正常行为吗?我做错了什么?我的目标是使用资源来定义站点地图文件中的操作和控制器名称吗?
Thanks¡¡