diagram image
This example demonstrates how a custom client side tool can be created that runs as a part the Nevron JavaScript Framework.
 
The task is acheived by implementing the server side C# class NAjaxCustomTool and setting the AjaxToolsFactoryType property of the web control to the name of the custom JavaScript tool factory: "NCustomToolFactory", and by implementing the client side JavaScript classes NCustomToolConfig, NCustomTool, NDisplayBookInfoCommand, NHideBookInfoCommand and NCustomToolFactory.
 
The image that appears inside the floating DIV element is generated dynamically through the NBookZoomHttpHandler class, which is located under the examples project inside App_Code\Examples\AJAX\Engine\NBookZoomHttpHandler.cs. The sample book data is defined in App_Code\Examples\AJAX\Engine\NCustomToolsData.cs. Both classes cannot be examined directly from the running examples, so please find them in the examples solution that Nevron .NET Vision has installed on your computer.
 
Please look at the web.config file, where the NevronCustomTools.axd HTTP handler must defined for this example to run properly.