asp.net mvc 3 剃须刀部分和便携式区域
是否可以将便携式区域馈送到 ASP.Net MVC 3 剃刀部分?我有一个部分用于放置 JS 文件、CSS、文件等。我希望能够从可移植区域定位 head 部分,以获取可移植区域所需的任何 JS、CSS 文件。这可能吗?
谢谢 汤姆
Is it possible to have a portable area feed into a ASP.Net MVC 3 razor section? I have a section in my for placing JS files, CSS, fiels, etc. I want to be able to target the head section from portable areas for any JS, CSS files the portable area needs. Is this possible?
Thanks
Tom
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用母版页概念,就像 _Layout.chtml 一样来放置可移植部分。 (它事件适用于标题)
You can use master page concept just like _Layout.chtml to put portable sections. (It event works for header)