This property sets whether or not an external javascript file, ImageKitNet3.js, is used for the mouse and scroll events that allow the ImageKit control and the PanWindow control to work together in the client browser.
Property Value
Value | Explanation |
---|---|
True | The external javascript file, ImageKitNet3.js, is used. The javascript needed for the ImageKit control and PanWindow control to work together is contained in the ImageKitNet3.js file. No javascript is created within the html code. |
False (Default) | The javascript needed for the ImageKit control and PanWindow control to work together is dynamically generated within the html code. |
Explanation
The UseJavaScriptFile property sets whether or not an external javascript file is used for the mouse and scroll events that allow the ImageKit control and the PanWindow control to work together in the client browser. The default value is false.
When the UseJavaScriptFile property is false, JavaScript code that enables the ImageKit and PanWindow controls to work together in the client browser is generated on the fly and written within the html code. When the UseJavaScriptFile property is true, no javascript code is written within the html code. Instead, an external javascript file, called ImageKitNet3.js, can be linked. ImageKitNet3.js ships with the ImageKit.NET3.
This property value is ignored when the PanWindow control is not being used.
See Also
ImageKit Members | Newtone.ImageKit.Web.ImageKit