Skip to main content
Filter by
Sorted by
Tagged with
-2 votes
1 answer
106 views

Although it is called Razor Pages for a reason I'm just wondering if it is possible to use a different view engine, say Spark Engine or any other View Engine you can think of. I also wonder the same ...
Efe Zaladin's user avatar
1 vote
1 answer
29 views

Where do I find more documentation about the left-offset syntax in spark? Specifically is there an elements reference for "left-offset" syntax? EDIT: The syntax seems to be like pug(formerly known ...
Roland's user avatar
  • 7,955
5 votes
3 answers
13k views

I am getting started with Spark. I am getting an issue when starting spark. I downloaded from spark official website, I am trying to quickstart from this https://spark.apache.org/docs/0.9.0/quick-...
Soundarya Thiagarajan's user avatar
0 votes
1 answer
169 views

We are working in a project where Spark view engine has been used. We are updating the framework and version of the project. After updating the version we are getting error "The name Html doesn't ...
Debajit Mukhopadhyay's user avatar
0 votes
1 answer
78 views

I found a similar question here. I tried that solution of the accepted answer. No luck for me. I tried by running this command through Package manager console Install-Package Spark.Web.Mvc4 It ...
shanmugharaj's user avatar
  • 3,944
2 votes
0 answers
65 views

We have a ton of spark views I'm migrating over to Razor and in many places we use the inline spark if syntax as shown below. <viewdata about="AboutViewModel" /> <div class="button-...
Tony Ashworth's user avatar
2 votes
1 answer
121 views

I have defined bundles and I am trying to use them in my spark layout with the following syntax. ${Scripts.Render("~/bundles/jqueryPlugins")} ${Scripts.Render("~/bundles/jqGridJqueryPlugins")} ${...
Yasser Shaikh's user avatar
0 votes
1 answer
67 views

I have two objects that a model can be. I have a base class of ctrl1, with an inherited class of ctrl2. In my Spark view, I have a 'each' on a div to render out the controls in a list (these can be ...
envio's user avatar
  • 1,337
0 votes
1 answer
110 views

I'm trying to convert from Razor to Spark. Here is my controller: public class HomeController : Controller { public ActionResult Index() { return View("~/Views/...
Ian Warburton's user avatar
0 votes
1 answer
1k views

I am following this tutorial (Hosting Nancy with Nginx on Ubuntu) with one change. I am using the Spark view engine instead of the built in view engine. Spark view engine throws an error building any ...
Cogslave's user avatar
  • 2,653
0 votes
1 answer
14k views

I'm rendering Spark templates in a console application and I'm trying to use RenderPartial like so: ${Html.RenderPartial("_mypartial.spark", myData)} but I'm getting this error when compiling the ...
the_void's user avatar
  • 5,558
2 votes
2 answers
867 views

I'm using a self-hosted Nancy with Spark templates. I've disabled the cache specifically (though in DEBUG is should be disabled by default). protected override void ApplicationStartup(Nancy....
the_void's user avatar
  • 5,558
0 votes
3 answers
3k views

Can I configure the HTML Helper to display String.Empty if my date is MinValue? ${Html.TextBoxFor(v=>v.Date)} How can I do this?
Aline Bossi's user avatar
0 votes
1 answer
123 views

Is it possible use a HtmlHelper to display only a few characters of the text? how can I do this?
Aline Bossi's user avatar
0 votes
1 answer
131 views

hi there I'm having some trouble rewriting this code in spark, we have a website which uses both Spark and Razor, so when we do anything in razor it has to change in spark as well. I have been using ...
Achlamabach's user avatar

15 30 50 per page
1
2 3 4 5
15