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

Preview Icon for .zip file

1 Answer 39 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Simone
Top achievements
Rank 1
Simone asked on 15 May 2013, 06:18 PM
Hello everybody,

I need to find a way to have a preview of the file like img files.
To explain better.
I had developed a new innovative CMS and one of the feature inside it, is the option to export and import CSS style and functionality of every object in the page.
For example if I have a menu very cool, and I want to export the graphic style and the functionality (template) into my library, I just follow this sequence:
  1. Take a snapshot of the object (menu or any other things)
  2. Go to the style Editor (it's a CSS realtime editor like the classic toolbar of Word. You can edit any object's CSS just using mouse)
  3. Link the snapshot to the class CSS of the object
  4. Go to the export manager
  5. Select the object I want export (export in .zip file) and click ok

The problem is when I want to import a template of the Menu or the others objects.
Because in the FileExplorer, all the .zip file has the same icon.
I want to change the icon like the .jpg or .png files.
If I assign a single custom icon to any single .zip of the templates from windows or mac, is it possible to FileExplorer show the custom icon?

May be I have to find the CSS file of the img extension and use the same logic to overrite the CSS file of the .zip extension.

Thank you

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 20 May 2013, 11:58 AM
Hi Simone,

You could use the custom-thumbnails approach, discussed in the following forum threads:
Thumbnails
Replacing thumbnail functionality


All the best,
Veselina Raykova
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
FileExplorer
Asked by
Simone
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or