Quantcast
Channel: RazorGenerator Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 525

Commented Issue: @helper syntax in RazorGenerator.Templating [93]

$
0
0
using @helper syntax (see http://weblogs.asp.net/scottgu/archive/2011/05/12/asp-net-mvc-3-and-the-helper-syntax-within-razor.aspx) generates the appropriate code-behind and adding a reference to System.Web.WebPages fixes half of the problem. That leaves the fact that the generated helper method calls WriteTo(TextWriter, object) which doesn't exist in RazorTemplateBase. Adding a method with the correct will fix this - it should have the same effect as RazorTemplateBase.Write() but on the TextWriter.
Comments: PR: http://razorgenerator.codeplex.com/SourceControl/network/forks/belfryimages/razorgenerator/contribution/3862

Viewing all articles
Browse latest Browse all 525

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>