How can I get the referenced item from a droplink
field in rendering parameters.
What I tried:
var model = new DFFVideoModel();
LookupField VideoItem = (LookupField)RenderingContext.Current.Rendering.Parameters["Video Item"];
model.VideoItem = VideoItem;
return View(model);
IntelliSense complains that it can't convert type string to Lookupfield
. Any other way to do it?