Vulnerability in EPiServer.Forms
I have a dropdown populated through an editordescriptor/iselectionfactory. It contains pagereferences to contacpages.
Now Im trying to set it to an default value in override setdefaultvalues in my sitepagebase class.
I have verified that I can I find the matching contact page for the currently logged in user.
But setting the dropdown make the dropdown not display or doesn't display.
I have tried the following. user below contains the pageref value of the contact page.
this.InformationOwnerBlock.PageOwner = PageReference.Parse(user); this.SetPropertyValue(p => p.InformationOwnerBlock.PageOwner,PageReference.Parse(user));
Am i doing something wrong or isn't it possible?