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

ZipPackage.IsZipFile replacement?

3 Answers 91 Views
ZipLibrary
This is a migrated thread and some comments may be shown as answers.
Korn1699
Top achievements
Rank 1
Korn1699 asked on 26 Feb 2015, 03:09 PM
Since ZipPackage is now deprecated, is there a replacement to the IsZipFile method?  I haven't come across anything in the documentation yet...

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 03 Mar 2015, 01:31 PM
Hello,

You can use ZipArchive instead of ZipPackage. The ZIP archive is represented by ZipArchive class and it can be used in 3 modes (Read, Create and Update). For more information about them you can refer to the article below:
http://www.telerik.com/help/aspnet-ajax/ziplibrary-getting-started.html

Regards,
Pavlina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Herve
Top achievements
Rank 2
answered on 27 Mar 2015, 02:22 PM
Hello,

I receive an error with the Telerik.Web.Zip imports, was thinking to find the solution by following your link but this is the same withTelerik.Windows.Zip (doesn't contains any public member or cannot be found), any suggestion about it ?

Thanks,

Herve
0
Pavlina
Telerik team
answered on 31 Mar 2015, 03:31 PM
Hi,

All you need to do in order to use ZipLibrary control is to put the new Telerik.Windows.Zip.dll assembly, located in the External Libraries installation folder, into the bin folder of you application:
http://www.telerik.com/help/aspnet-ajax/introduction-included-assemblies.html

You should also change the old Telerik.Web.Zip namespace to Telerik.Windows.Zip in the file where you use zip library classes.

Regards,
Pavlina
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
ZipLibrary
Asked by
Korn1699
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Herve
Top achievements
Rank 2
Share this question
or