Home - Forums-.NET - FlyTreeView (ASP.NET) - ** JavaScript on a separate file **

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

** JavaScript on a separate file **
Link Posted: 01-Feb-2008 05:51
Is it possible to have all the FlyTreeView related JavaScript moved from the aspx page to a separate js file? Please give detailed steps. Thanks a lot.
Link Posted: 01-Feb-2008 07:28
FlyTreeView uses two javascripts.
One is FlyTreeView runtime - it is compiled/compressed and built into assembly and loaded as an external resource with WebResource.axd.
Second part - is a compressed JSON-encoded data (nodes properties, treeview settings, etc) rendered to client in page. This cannot be a separate file, because it changes every request.
Link Posted: 01-Feb-2008 12:28
yes it is possible to move the Javascript code to another file but this will be the code that is used as client side Javascript