Anyone got the areaDescriptorFilter working with the spark view engine in asp.net mvc 2?
I don't even have the option to add a filter on the service as shown in the following:
http://sparkviewengine.com/documentation/viewlocations#Extendingfilepatternswithdescriptorfilters
Thanks if you can help or at least try.
...
I have an existing mvc app. I've decided that i would like to use spark. My plan is to slowly migrate the whole site to spark. Will i have to create 2 master pages, ie one for .aspx content and one for .spark content. Is there anyway i could use one master page for both.
...
Hi,
Is it possible to dynamically set the view base type for a partial
view?
I'm doing a lot of dynamic page generation, using custom IViewFolder
and IViewFile implementations, and need to set a specific base type
for certain views...it's not a problem injecting the correct block, I
just need to know what block to inject.
I've ...
We are using the latest stable release of SparkViewEngine for www.stribe.nl.
There is a problem that occurs -sometimes- while rendering the homepage.
When you look at the homepage it will usually render perfectly fine, but i noticed some exceptions in the EventLog from people visiting the homepage.
The exception message is "Error execut...
I've added some of my own helpers to the System.Web.Mvc within my project and got it working with the default asp.net mvc view engine. By defining the helper like
namespace System.Web.Mvc
{
public static class XSSHelper
{
public static string h(this HtmlHelper helper, string input)
{
return AntiXss.H...
My Setup:
Asp.Net MVC 2, SparkViewEngine w/ WebFormsViewEngine
Problem:
I have the following spark view:
<content name="title">
Home Page
</content>
<h2>Home Page</h2>
<p>
lalalalalalalalalalala.
</p>
#throw new NotImplementedException();
When this page loads I get a YSOD instead of my default shared Error view. Views th...
I'm looking at launching a new site using the Spark View Engine, I am however having difficulty finding some referance to the set-up of Spark Using VS2010 and MVC2. Can anyone provide a referance to a guide that describes this process?
I've looked at some of the code in the sample but the projects dont convert to VS2010. Before I tear ...
Hi All,
I'm using MVC 2 and the default view engine to return .ascx partial views using the JQuery Ajax .get() method. The partial views have some javascript in them and I'm finding that the behaviour of the javascript is erratic in that sometimes it executes, while other times it doesn't. I came across a reply from a MS Program Manager...
Hi,
I have the following code in my spark file,
[img src="${ViewData['LogoUrl']}" alt="${Record.Attributes['P_Title'].Value}" ]
Its the image just showing the text.The code is working good in firefox, but in IE the text is accompanied by a "image not found" symbol.
what should i do for the browser compatablility.
...
Is there any Intellisense support available for SparkView Engine for VB.Net .
The Intellisense is currently available with SparkView Engine. But it is for C#.
...
I think I just need someone to show me the obvious.
I have a spark partial
_MessageItem.spark
that is used within a view
like so
<for each="var m in messageList">
<MessageItem message="m"/>
</for>
the partial looks like this:
<tr id="${message.MessageId}">
<td >${message.CreateDate.ToString("M/d/yy h:mm")}</td>
...
I'm working on converting NerdDinner to Spark and have everything except the mobile views (which I'm not worrying about) and some code that uses Page. Here is one of the locations that is hanging up - but there are a couple of others due to the View not having a Page ...
In asp.net mvc the code looks like this:
<link rel="Stylesheet" ...
It’s been a while since the community got any feature releases from the spark team. Has it ceased development? With the advent of Razor, has Louis moved on?
The least release was in March and the last development build was in July
...
I was just wondering if anyone has successfully got Spark to work in a .NET 4.0 console application for compiling templates to HTML. Unfortunately I am getting the following error:
Unhandled Exception: Spark.Compiler.CompilerException: Dynamic view compilation failed.
(0,0): error CS1703: An assembly with the same identity 'mscorlib, V...
I need to make a custom list based component that orders the items in its data provider in tile format (using tile layout). Also, the component should have a maxNumberOfItems, based on which a number of "empty spots" must be rendered if the length of the data provider is less than maxNumberOfItems. What I do not want is affecting the da...
My background is mostly in desktop applications on the Microsoft platform. I've been working a lot with ASP.Net MVC lately and completely skipped over learning webforms. I find I'm having the most trouble (not being a web guy) with writing my views in MVC. How proficient should I be with HTML and javascript to write good views in MVC?...
Hello,
I am trying to use new spark view engine . i have done all necessery configuration as mentioned
here
http://dotnetslackers.com/articles/aspnet/Installing-the-Spark-View-Engine-into-ASP-NET-MVC-2-Preview-2.aspx
and Have below Erorr message on run time..what am i missing?
AS in understand Spark view engine uses system.web 2.0 ...
Whenever I call Html.RenderAction from a Spark view I get a StackOverflowException. If the action returns ContentResult, everything works fine but when I change to ActionResult I bump into the exception.
I work with ASP.NET MVC 2 and latest Spark release (1.1.0.0)
Any ideas?
...
Hi new to spark so this should be simple.
I'm converting an old webfoms page to mvc using spark.
I want to use the Base.Application to make up the src of a url
original markup
<img alt="" src="<%= Base.ApplicationPath %>images/screenshots/myImage.jpg" />
I've tried this in spark
<img alt= src=${ Base.ApplicationPath }+">images/scr...
I'm trying to return a partial view in asp mvc2 rendered with spark.
The view contains some javascript.
Everything gets rendered but the script does not execute
here is the code
<table>
<tr>
<td>
!{Html.LabelFor(model => model.SourceId, new { @class = "label-inline", title = "Source d'ouvrage" })}
!{Html.DropDownList("SourceLi...