Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Export webpart include javascript View modes: 
User avatar
Member
Member
joel.reade-globalx.com - 4/23/2012 7:05:44 PM
   
Export webpart include javascript
Hey All,
We are currently evaluating Kentico and i'm just trying a few things out.

Using the Export webpart function how is it possible for this to include a javascript file in the zip?

I don't like the idea of having to include the javascript in the ascx file as we could potentially have large amounts of javascript for certain webparts and would prefer this to be cached on the client side.

Cheers,
Joel

User avatar
Member
Member
kentico_michal - 4/24/2012 3:28:34 AM
   
RE:Export webpart include javascript
Hi,

If the web part uses some additional files, you can place them in a folder that is named in the following format <webpartCodeName>_files. The content of such a folder will be exported with the web part.

Best regards,
Michal Legen