I created a simple ASP.NET MVC version 1.0 application. I have a ProductController which has one action Index. In the view, I created a corresponding Index.aspx under Product 开发者_开发知识库subfolde
Given a spark view named SomeContainer.spark that uses a partial view this way: <SomeContent param1 = \"Model.SomeValue\"/>
I can\'t seem to get a grasp on how to use the viewdata structure in the spark view engine.I have the following code in my controller:
Is it possible to use my site.master master page ? I want to start using Spark more, but this project I am working on is using asp.net view pages as well.
<% using (Html.BeginForm(\"AddToCart\", \"Cart\")) { %> <%= Html.Hidden(\"ProductID\", pr.ProductID) %>
Is it开发者_JAVA技巧 possible to use multiple view engines? I have a large(ish) site that is already using the webforms view engine, but we would like to move to spark for new features.
How can I prevent the Spark view engine from rendering the debugging hint when a null ref exception is thrown in !{ }? It always renders \"${ expression.that.throws.nre }\". The documentation states t
How to increase editor responsiveness when typing code for Spark View Engine? Spark plugin for VS08 takes lot of CPU resources as it checks the syntax of all Spark files on each key stroke: does anyon
if i nee开发者_开发问答d remove master layout from my view, how can i do it in MVC2? i tried put code in my view that was shown in documentation http://sparkviewengine.com/documentation/master-layouts
I am having a very weird issue in the way strings get stored in my database, and as a result, I am getting these\"unterminated string literal\" errors in Javascript.