asp.net mvc - Nested "Layouts" in Spark? -
I am in the process of changing the views from ASP.NET MVC tags in order to use Spark. However, I do not know whether ASP.Net is an analog of Nested Masters in Spark Layouts.
If it is not there, will it be the best way to use partial?
Spark can have nested master pages. Just place your master and sub-master pages in the 'Layouts' folder and then call them Master = "EFU" /> >> Using Example (application.spark) (Submasters. Spark) (Foo.spark) See for more information. & lt; Refer to by including.
& lt; P & gt; Hello world - Master & lt; / P & gt; & Lt; Using: View / & gt;
& lt; Content: View & gt; & Lt; P & gt; Hello world - Submasters & lt; / P & gt; & Lt; / Content & gt; & Lt; Using: View / & gt;
& lt; Master = "submaster" /> & Lt; Content: View & gt; & Lt; P & gt; Hello World - Foo & lt; / P & gt; & Lt; / Content & gt;
Comments
Post a Comment