I am in the process of converting views from ASP.NET MVC TagSoup to using Spark. However, I can’t figure out if there is an analogue to ASP.NET Nested Masters in Spark layouts.
If this isn’t there, would the best approach be to use partials?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can have nested master pages in Spark. Just put your master and sub master pages into the ‘Layout’ folder and then reference them by including
<using master="foo"/>.E.g.
(Application.spark)
(SubMaster.spark)
(Foo.spark)
For more info see Master Layouts | Spark View Engine.