Hi,
I have a string property with autocomplete functionality made with the help of this blog post: http://world.episerver.com/Blogs/Linus-Ekstrom/Dates/2012/11/Creating-a-more-advanced-property-editor/
Works great. Now I'm trying to get it working with on-page edit.
As a value/id I have a userID. The string that I want to see is the actual name of the user. This is what I got so far:
<span @Html.EditAttributes(m => m.InformationOwner)> @{ Html.RenderAction("GetFullname", new { informationOwner = @Model.InformationOwner }); } </span>
This aaaalmost works but there is one flaw. The editor only see the full name AFTER a publish. I want it to trigger directly in the "on-page edit view" with the need of a reload? Is that possible?
Hi,
I have a string property with autocomplete functionality made with the help of this blog post: http://world.episerver.com/Blogs/Linus-Ekstrom/Dates/2012/11/Creating-a-more-advanced-property-editor/
Works great. Now I'm trying to get it working with on-page edit.
As a value/id I have a userID. The string that I want to see is the actual name of the user. This is what I got so far:
<span @Html.EditAttributes(m => m.InformationOwner)>
@{ Html.RenderAction("GetFullname", new { informationOwner = @Model.InformationOwner }); }
</span>
This aaaalmost works but there is one flaw. The editor only see the full name AFTER a publish. I want it to trigger directly in the "on-page edit view" with the need of a reload? Is that possible?