This is a migrated thread and some comments may be shown as answers.

Standalone image manager LightWeight RadUpload issue

3 Answers 49 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Fit2Page asked on 29 Aug 2016, 08:25 AM

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

3 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 29 Aug 2016, 02:04 PM

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.
0
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
answered on 31 Aug 2016, 10:04 AM

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

 

Marc

0
Ianko
Telerik team
answered on 31 Aug 2016, 10:13 AM

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.
Tags
Editor
Asked by
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Ianko
Telerik team
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or