Standalone image manager LightWeight RadUpload issue

4 posts, 0 answers
  1. Fit2Page
    Fit2Page avatar
    345 posts
    Member since:
    Feb 2007

    Posted 29 Aug Link to this post

    When using stand-alone ImageManager I keep getting the message:

     

    Telerik.Web.UI.RadUpload with ID='upload1' was unable to find an embedded skin with the name 'Material'. Please, make sure that the skin name is spelled correctly and that you have added a reference to the Telerik.Web.UI.Skins.dll assembly in your project. If you want to use a custom skin, set EnableEmbeddedSkins=false.

    I am using Material skin, but obviously the obsolete RadUpload is stille used there?
    I use LightWeight rendering but still get the message:

    imageManager.Parameters("RenderMode") = Telerik.Web.UI.RenderMode.Lightweight

  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 29 Aug Link to this post

    Hello,

    You should switch to RadAsyncUpload as the obsolete RadUpload control has no Material skin implemented. 

    This is done by setting the FileManagerDialogParameters instance's EnableAsyncUpload property to true. Like so: 

    FileManagerDialogParameters imageManagerParameters = new FileManagerDialogParameters();
    ...
    imageManagerParameters.EnableAsyncUpload = true;
    ...

    Regards,
    Ianko
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Fit2Page
    Fit2Page avatar
    345 posts
    Member since:
    Feb 2007

    Posted 31 Aug in reply to Ianko Link to this post

    RadUpload is obsolete....Should the AsyncUpload not be the default then?

     

    Marc

  5. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 31 Aug Link to this post

    Hello,

    Using the File Browser dialogs in RadEditor (where supported) RadAsyncUpload is enabled by default. 

    Due to legacy reasons, using them as standalone dialogs (which is a custom solution) involves this additional configuration to be set up.

    Regards,
    Ianko
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top