Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

Razor: UITag in Add-on


How do I register a MVC partial view for a string-property?

Some code:

public class MyPage : PageData
 public virtual string MyProperty {get;set;}

How can I provide a Razor view in an Add-on that will be used to render "MyProperty"? If I create a View in Views/Shared/DisplayTemplates/myhint.cshtml it will be used, but how do I let EPiServer know about "myhint.cshtml" in my Add-on?


Aug 05, 2013 11:53
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.