Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • lucuma 261 posts 563 karma points
    Feb 21, 2011 @ 15:18
    lucuma
    0

    Usercontrol and RazorEngine

    Umbraco 4.6.1

    I've got a custom user control that is using the newest version of RazorEngine (razorengine.codeplex.com) and parses a template that receives a model based on some data from my business layer.  All of this is done outside of umbraco and works fine, however when I try to use my usercontrol inside umbraco it no longer works anymore.  I noticed that umbraco uses RazorEngine (an older version) so I referenced that one in my project however then my project fails to work although at least umbraco doesn't break.  My question is, do you have any suggestions on how I can get my control to work both inside and outside umbraco that uses the RazorEngine?

     

    Thanks.

  • lucuma 261 posts 563 karma points
    Feb 21, 2011 @ 18:01
    lucuma
    0

    I decided to just use a plain control and remove the razor stuff although in general it would be great if we could leverage this functionality in a user control somehow.

Please Sign in or register to post replies

Write your reply to:

Draft