On-page edit on string property with autocomplete functionality

Vote:
 

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?

#71805
May 29, 2013 17:14
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.