Re: Mulitple FileStorageTypes

  •  01-20-2012, 12:41 PM

    Re: Mulitple FileStorageTypes

    Hi kumbsky,
     
    1. The other settings are 
     
    Editor1.Setting["InsertImage-CuteEditorFileStorageType"];
    Editor1.Setting["ImageGalleryByBrowsing-CuteEditorFileStorageType"];
    Editor1.Setting["InsertDocuemnt-CuteEditorFileStorageType"];
    Editor1.Setting["InsertMedia-CuteEditorFileStorageType"];
     
     
    2. What I mean is if your use the flash dialog to use the sql store/load the file, then you must set the  path for the flash dialog too.
     
    For example,
     
    if you set
     
    Editor1.Setting["InsertFlash-CuteEditorFileStorageType"] = typeof(SqlFileStorage).AssemblyQualifiedName;   
     
    Then must set  
     
    Editor1.SetSecurityFlashGalleryPath("/");
     
    If you set  
     
    Editor1.Setting["InsertDocument-CuteEditorFileStorageType"] = typeof(SqlFileStorage).AssemblyQualifiedName;   
     
    Then must set  
     
    Editor1.SetSecurityDocumentGalleryPath("/");
     
     
    3. Editor1.SetSecurityGalleryPath("/"); is the global setting for all dialogs. If you want to set the dialog store type separate, then do not use this setting, need to set the path separate like above.
     
    Regards,
     
    Ken 
     
     
     
View Complete Thread