Hye,
I spend all this afternoon on this problem without find the solution, I just have a simple DnnfilePicker
<
dnn:DnnFilePicker
ID
=
"ctlImage"
runat
=
"server"
Width
=
"150px"
ShowSecure
=
"False"
Required
=
"False"
ShowDatabase
=
"True"
/>
and when i load from database the filepath for editing the control
if ((string)Settings["wmFilePath"] != null)
{
ctlImage.FilePath = Settings["wmFilePath"].ToString();
}
in the textbox I have got the right file but the folder in the Dropdownlist is never set. I have checked the path it's Ok, it's the same that I have saved.
I made exactly like the siteSettings with the logo file, so i don't understand what can happen,
What I can see, it's that the private member "cbofolders" are not set at the moment that i set the filepath, so I try to set the filePath on PreRender method, but nothing change.
Thanks You very much
David