For the rendering parameters, I have a droplist which consists of the friendly name of the CSS-classCSS-class
which further consists of a value field for the actual CSS-classCSS-class
.
In
In my view when I try to retrieve the rendering parameter, I am always getting a friendly name and not the actual value.:
var parameter = RenderingContext.Current.Rendering.Parameters["Background"];
var parameter = RenderingContext.Current.Rendering.Parameters["Background"];
<div class="@parameter">
</div>