A common question I received from customers is that they would like to edit property values during authoring time similar to editing placeholder content.
I have previously provided a solution for this but this needs to do some coding for every property. A better solution would be to have a server control similar to the MCMS placeholder controls to do this.
After spending a several hours I just finished such a server control which will be available on GotDotNet in a few days.
Here are some screenshots to give you an idea about how this control can be used.
The first picture shows a template loaded in VS.NET that contains several instances of this server control to all the author to modify some properties. As you can see the control allows to edit as well custom properties and standard page properties like the Description property.
Usage is very simple: In the property window you will find 3 properties:
During authoring time this will look as follows:
And here is a picture of the Calendar Picker control:
The server control allows to control whether the property value should also be shown in presentation mode or not. If yes, the current version just shows the value in clear text as seen here:
Design Limitation: AuthoringPreview will not show updated values as there is no in-memory save feature as with the placeholder objects. I did not find a quick solution to overcome this limitation.
The sample code is now live on GotDotNet.