Copied to clipboard

Flag this post as spam?

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


  • Hardy Wang 91 posts 112 karma points
    Nov 02, 2012 @ 17:04
    Hardy Wang
    0

    Reusable Function in Razor

    I am currently using Razor scripts extensively, and I have a lot of repeating codes.

    How can I create reusable funcrtion and shared by multiple scripts? I know how to do in ASP.NET MVC Razor engine, but how about in Umvbraco?

  • Matt Barlow | jacker.io 164 posts 740 karma points c-trib
    Nov 02, 2012 @ 17:42
  • Hardy Wang 91 posts 112 karma points
    Nov 02, 2012 @ 19:01
    Hardy Wang
    0

    Great, the global helpers in your 2nd post is exactly what I am looking for!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies