spark-view-engine Questions

11

Solved

Suppose I have ViewModel like public class AnotherViewModel { public string Name { get; set; } } public class MyViewModel { public string Name { get; set; } public AnotherViewModel Child { get;...
Neck asked 28/9, 2009 at 19:24

9

Solved

How do I get the collection of errors in a view? I don't want to use the Html Helper Validation Summary or Validation Message. Instead I want to check for errors and if any display them in specific...
Askwith asked 21/2, 2009 at 16:17

5

Solved

My client application needs to generate HTML. I'd like to use a template/view engine solution like Spark, but I'm not sure whether Spark can be used outside of an ASP.NET application. Does anyone k...
Coadjutress asked 20/10, 2009 at 21:24

5

Solved

We're building a site that will have very minimal code, it's mostly just going to be a bunch of static pages served up. I know over time that will change and we'll want to swap in more dynamic info...
Goddamned asked 9/6, 2010 at 19:1

6

Solved

I've been searching on SO & Google for a breakdown of the various View Engines available for ASP.NET MVC, but haven't found much more than simple high-level descriptions of what a view engine i...
Jewry asked 20/9, 2009 at 15:47

2

Solved

I am trying to render a simple view with the TinyWeb framework and Spark view engine. Enviroment is Visual Studio 2011 developer preview & .net 4.5 Rendering a template with no model binding ...
Broaddus asked 12/11, 2011 at 14:58

3

Solved

What pros(positive sides) of using Spark view engine for ASP.NET MVC project. Why it better then default view engine?
Indigotin asked 12/5, 2009 at 14:22

2

Solved

I'm working on a project where Spark has been used as the View engine, and the decision has been made to switch to Razor. I have managed to get Razor and Spark working nicely side by side in one p...
Clinometer asked 20/4, 2011 at 14:24

7

Solved

Is their a solution to generate an email template using an ASP.NET MVC View without having to jump through hoops. Let me elaborate jumping through hoops. var fakeContext = new HttpContext(HttpCon...
Nonbeliever asked 13/11, 2009 at 15:59

5

Solved

Been on a huge learning binge with ASP.MVC 2 lately, and recently uncovered there are different rendering engines out there... Spark especially caught my attention, couple of things though. I ha...
Jabin asked 2/3, 2010 at 21:42

6

Solved

I am working with an ASP.NET MVC project which was originally started from the CodeBetter.Canvas project - and I'm trying to move to ASP.NET MVC 2. I successfully upgraded my project using Eilon's ...
Deli asked 26/11, 2009 at 21:38

4

Solved

I was wondering if there was a general consensus on the "best" alternative view engine for asp.net MVC. So far I know of Spark, Brail, NHaml but what about others?
Waldheim asked 16/3, 2009 at 9:37

3

Solved

I've been tasked with adding a website builder to our suite of applications. Most of our clients are non technical small business owners (brick and mortar stores, mom and pop shops). I've bee...
Craniometry asked 17/6, 2010 at 7:14

2

Solved

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 subfolder. Then I re...
Particular asked 8/3, 2010 at 3:46

2

I'm interested in using Spark for an open source pet project of mine that runs with the asp.net mvc framework. I wonder if anyone has real experience with it and knows how it performs compared to t...
Scopas asked 14/5, 2009 at 6:39

2

Solved

How can I comment out parts of a Spark view so they aren't rendered to the client? In aspx pages I can do this: <%-- server-side comment --%> I had thought using three dashes would work: ...
Admonitory asked 14/4, 2010 at 10:43

3

Solved

I was just curious if any Spark T4 templates already exist that match/are similar to the out of the box web forms view templates (create, edit, details, etc...). My Google skills didn't lead me to ...
Chop asked 1/11, 2009 at 4:39

3

Solved

I'm using the spark view engine with my asp.net mvc application. In my aspx pages, I can succesfully use Html.Actionlink, but when I attempt it in spark files, it doesnt show up in intellisense, an...
Dumuzi asked 4/7, 2009 at 6:23

2

Solved

if i need 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: , but it s...
Moxley asked 25/1, 2010 at 11:38

1

Even with the following in spark section of web.config: <pages automaticEncoding="false"> Things between ${...} Still get passed through H(...), which HTML encodes it. How change this or ...
Selfregard asked 22/12, 2009 at 12:2

1

Solved

Is there any better, cleaner, way to set selected="true" ? Maybe a nested if? <select id="State" name="State" if="(Model.StateList.Count() > 0 )" > <option value="">Select One</...
Tlingit asked 4/12, 2009 at 15:51

5

Solved

I am playing with ASP.NET MVC and I see that there are a few alternate view engines available for it such as NHaml and Spark. My question is why would you use an alternate view engine? I don't see ...
Kauffmann asked 11/11, 2009 at 23:18
1

© 2022 - 2024 — McMap. All rights reserved.