Hi,
You can set the default value.
public override void SetDefaultValues(ContentType contentType)
{
base.SetDefaultValues(contentType);
//Set values here
}
@Ravindra S. Rathore,
I think I have tried it and it partly works - on publish it passes further the default value, but the placeholder of selectbox is still empty
Hi all,
I found this topic here - https://world.episerver.com/forum/developer-forum/-Episerver-75-CMS/Thread-Container/2014/9/Setting-a-ISelectItem-as-selected/ - but none of the solutions solves my problem.
I have this property on a page, which uses custom Selection Factory.
And I want to set initial value and display it's placeholder (in admin view, under "All properties" view while creating new page) here in a select box. I do it like this:
Help appreciated!