Discussion Group
Binding
feature you demo'ed yesterday? I think this a "killer feature" that is
going to make spark indispensable going forward.
Precompiling views and C# compiler version
system in general because of VB support) is very dependent on
system.codedom in app/web config. When no such config is present the
BatchCompiler should at least be doing some funky guess work as to how
the CSharpCodeProvider should be configured (maybe the root cause is
Re: Visual Studio intellisense
Re: SparkViewEngine spontaneous NullReferenceException while rendering view
I'll try to reproduce it in an isolated project and mail it to you.
Regards,
Ruud
Re: SparkViewEngine spontaneous NullReferenceException while rendering view
I'll try look into this when I get a chance - the next two weeks are pretty
much out for me though. If you could email me directly, a small zip file
with just enough in it to reproduce the error, that'll speed things up. I
can run the stress test my end, but I'll need some example failing code
Re: SparkViewEngine spontaneous NullReferenceException while rendering view
For the time being i've created a workaround by catching the "Error
executing child request" exception in Application_Error() and redirect
to the same page again (adding a counter to prevent infinite loop).
This works and prevents the user from ever seeing the error, but it's
Re: Castle MonoRail problems - missing ValidationHelper
can find too or download it: [link]
(add these 2 files to Castle.MonoRail.Views.Spark project, optionally
into Helpers folder)
I think that these helpers can be improved and the Spark upgrade for
Castle MonoRail problems - missing ValidationHelper
MonoRail project. I got some problems, and one of them is about
ValidationHelper class. Searching in google I found it:
[link]
In recent changes, ValidationHelper and HtmlHelper were removed from
Re: Non-ascii characters
-Asbjørn
SparkViewEngine spontaneous NullReferenceException while rendering view
[link].
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
Re: Non-ascii characters
really, any file) on the fly. The encoding and line-ending menues are
under the file menu.
Sent from my iPhone
Re: Non-ascii characters
I'm using VS 2010 without the spark addin. Nothing special about my
setup. Windows 7 64bit.
The problem is that VS saves my .spark files in ANSI encoding and not
utf8. I've checked with another project where we don't use spark and
there the aspx files get saved in utf8.
Re: Non-ascii characters
while. Using HTML entities is not the preferred solution to this problem,
which is a symptom of an underlying issue that instead should be resolved.
.NET uses UTF-16 as its internal representation of strings, which handle
Re: Non-ascii characters
references as opposed to trying to encode the character in the native
code set. Character encodings are a messy business full of
contradicting assumptions and defaults, and your characters could
easily be getting reinterpreted as a different encoding somewhere
Non-ascii characters
I've been trying to include some non-ascii characters in my views,
without much success.
I'm trying to write the norwegian characters æ,ø,å but they show up
with other symbols.
I've tried to change the encoding in my browsers, and set the charset
but nothing helps, which leads me to think that it is spark that
Re: Newbie question about re-compiling views
A possible solution is listed here,[link]
spark-dev/browse_thread/thread /dbee06a0d1b2766f
and it works for me so far. I manually load the assemblies at app
start. Not a good solution, but it works.
Henning
Re: Content Element Order
tool so far. But I think that implementation still has the same issue
of the nested masters being rendered after the view resulting in the
wrong reference order.
It maybe could be resolved by adding a top master so that all
Re: Dynamically set the view base type for a partial view?
<var PROPERTYNAME="VALUE" /> tags into the code to get the customised
results I needed. It's not ideal, but it works.
Guillaume, you're right, partials don't translate to classes, like the
Web Forms view engine partial representations, they just get injected
Re: Dynamically set the view base type for a partial view?
Html.RenderPartial("_partial") and not with the inline <partial/> syntax.
