_Layout.cshtml在MVC3剃刀具有视图模式? [英] _Layout.cshtml in MVC3 with Razor has view mode?
问题描述
我需要一些帮助!
我试图通过_Layout.html用剃刀来设计我的母版页。但我可以看到它作为检讨的原因有一个在Visual Studio中没有View模式。我只是想知道:是否_Layout.cshtml在MVC3有视图模式,源模式和分割模式就像母版(*的.master)?如果是的话,我该如何使用呢?
谢谢大家!
I need some help! I try to design my master page by _Layout.html with Razor. But I can see it as review cause there's no View mode in Visual Studio. I just want to know: Does _Layout.cshtml in MVC3 has view mode, source mode and split mode like masterpage (*.Master) ? If yes, how can I use it? Thanks all!
推荐答案
否,目前在Visual Studio中没有所见即所得的编辑器ASP.NET MVC视图设计。
No, there is currently no WYSIWYG editor in Visual Studio for ASP.NET MVC view designing.
但是的有一个光明的一面给答案。使用Firefox和萤火虫称为一个插件。 Firebug是可能的一个web开发人员可以有最大的工具之一。它不仅可以让你看到的一切,从标记到Ajax请求,但它也可以让你做HTML和CSS的实时编辑/修改。
But there is a brighter side to that answer. Use FireFox and a plug-in called Firebug. Firebug is possibly one of the greatest tools that a web developer can have. It not only lets you see everything from markup to Ajax requests, but it also allows you to do real-time editing/modifying of HTML and CSS.
这篇关于_Layout.cshtml在MVC3剃刀具有视图模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!