Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
One solution I came up with: http://erikengstrand.blogspot.se/2013/11/custom-rendering-of-episerverurl-image.html
I have problems rendering a property in Edit mode when the property ha changed.
The view Image.cshml renders the image with the CssClass. This is a simplified example.
Image.cshtml
In the page view
When editing the Image property (which is of type Url) the new image is viewed, but the all additional view data dissapear.
If I change the code to this the view data don't dissapear, but the caption gets outside the property which is not what I want. Does anyone has a solution to this problem which come up many times when developing with EPiServer 7.