razorengine Questions
1
I'd like to use the following Razor template with RazorEngine:
@{
Layout = null;
}
@Html.Raw(MyNamespace.MyClass.SomePropertyWithHtml)
When I call it I get 2 errors - one complaining it can't ...
Attalanta asked 3/5, 2012 at 10:15
1
Solved
I´m trying to implement Kendo widgets two level deep but the Razor engine keeps complaining: "Inline markup blocks (@Content) cannot be nested. Only one level of inline markup is allowed."
Is ther...
Andreas asked 30/4, 2014 at 10:58
1
NET MVC4 with Entity Framework. I am trying Rating control, for that I am using @Url.Action. Now i have to convert action link to star image button. Please anyone give me an idea to getit.
This is...
Reconstitute asked 25/2, 2014 at 7:22
1
Solved
Hi I am trying to call RazorEmail Template from my Controller as below
public EmailResult TestEmail(EmailModel model)
{
To.Add(model.Email);
From = "[email protected]";
Subject = "Testt ...
Zielinski asked 11/1, 2014 at 9:43
1
Solved
I am working on an ASP.NET project in which I need to do simple HTML templating.
The prettiest solution seems to be RazorEngine, which depends on Microsoft.AspNet.Razor. However, when trying to i...
Audiovisual asked 4/11, 2013 at 11:9
3
Solved
Can someone explain what are the differences, pros/cons between
RazorEngine
RazorTemplates
RazorMachine
I need to pick one for email generation. The requirements are quite usual: fast, ea...
Ryannryazan asked 15/8, 2013 at 13:34
2
I have a form that assembles sections of a larger form. For example:
Html.RenderPartial("Partials/MealPreference", Model);
I would like to dynamically add sections to the form. Given the nature ...
Unheard asked 28/10, 2013 at 19:53
3
Solved
I use razor engine like this:
public class EmailService : IService
{
private readonly ITemplateService templateService;
public EmailService(ITemplateService templateService)
{
if (templateSer...
Cyrstalcyrus asked 29/4, 2012 at 3:44
2
I'm using the following code to build and send an email using RazorEngine.
//build email using template.
string template = File.OpenText(EmailTemplatePath).ReadToEnd();
OrganizationInviteEmailTemp...
Briones asked 22/4, 2011 at 14:35
© 2022 - 2024 — McMap. All rights reserved.