Applies to: Nevron .NET Vision components

FAQ – I tried to implement the Nevron ASP.NET AJAX tools but I am receiving an error message and the AJAX features are not working. What may be causing this?

The reason may be that our script files are not registered correctly. You need to check the web.config file for the following line:

Visual Studio 2005/2008 (.NET 2.0/3.0/3.5):
        <add verb="GET,HEAD" path="NevronScriptManager.axd" type="Nevron.UI.WebForm.Controls.NevronScriptManager" validate="false"/>

Visual Studio 2010 (.NET 4.0):
        <add name="NevronScriptManager" preCondition="integratedMode" verb="*" path="NevronScriptManager.axd" type="Nevron.UI.WebForm.Controls.NevronScriptManager"/>

You can see the configuration from Nevron local example solutions for Visual Studio 2005/2008/2010.

When you render the web page, from the Page View -> Source, check for the following lines:

For Nevron Chart:
<script src="NevronScriptManager.axd?Assembly=Nevron.UI.WebForm.Controls&Resource=Nevron.UI.WebForm.Controls.EmbeddedScripts.NevronR.js" type="text/javascript"></script>
<script src="NevronScriptManager.axd?Assembly=Nevron.Diagram.WebForm&Resource=Nevron.Chart.WebForm.EmbeddedScripts.Ajax.NevronDiagramR.js" type="text/javascript"></script>

For Nevron Diagram:
<script src="NevronScriptManager.axd?Assembly=Nevron.UI.WebForm.Controls&Resource=Nevron.UI.WebForm.Controls.EmbeddedScripts.NevronR.js" type="text/javascript"></script>
<script src="NevronScriptManager.axd?Assembly=Nevron.Diagram.WebForm&Resource=Nevron.Diagram.WebForm.EmbeddedScripts.Ajax.NevronDiagramR.js" type="text/javascript"></script>

If these lines are present, try to navigate using the provided URL to see if the javascript is registered correctly.

If you are unable to navigate and receive a "Not Found" error, check that Nevron assemblies are included in the Bin folder of the project. If the required assemblies are not in project Bin folder, you can simply select them from the References section in the Solution Explorer and set the Copy Local property to True.

Related ASP.NET AJAX Examples:

Nevron Chart for .NET:
Contents > AJAX

Nevron Diagram for .NET:
Contents > AJAX

For more details, take a look at the Online Documentation
Framework > Web Forms

Article ID: 156, Created On: 12/10/2010, Modified: 12/29/2010