RADactive I-Load 2009.R1
Adding RADactive I-Load to an Asp.net WebForm
See Also
Installation and deployment > Installation > Adding RADactive I-Load to an Asp.net WebForm

Glossary Item Box

To add RADactive I-Load to an ASP.NET WebForm you can use either of the following approaches:

 

Adding RADactive I-Load to a WebForm using Microsoft Visual Studio .Net

The easiest way to deploy RADactive I-Load is by dragging its icon from the Microsoft Visual Studio .NET Toolbox in Design mode.
Visual Studio will automatically copy the "RADactive.WebControls.ILoad.dll" and "RADactive.WebControls.ILoad.Core.dll" assemblies to the ~/bin folder of your web-application and will create the respective references.

In order to work, RADactive I-Load web control requires the WebCoreModule HttpModule installed in the Application Web.Config file.
If required, Microsoft Visual Studio will ask you to automatically edit the Web.Config file to add the HttpModule.
Please see: Web.Config file settings

 

Adding RADactive I-Load to a WebForm manually

If you are not using Microsoft Visual Studio .NET, you can deploy RADactive I-Load manually. Follow the instructions below:

  1. Copy the "RADactive.WebControls.ILoad.dll" and "RADactive.WebControls.ILoad.Core.dll" assemblies from the Bin folder of the RADactive I-Load 2009.R1 installation (usually 'C:\Program files\RADactive\I-Load 2009.R1\') to the ~/bin folder of your web application.
  2. Add the WebCoreModule HttpModule to the Application Web.Config file:

    Web.Config Copy Code
    <?xml version="1.0"?>
    <
    configuration>
     
    <system.web>
       
    ...
       ...
       
       
    <!-- Install the RADactive I-Load HttpModule -->
       
    <httpModules>
         
    <add name="WebCoreModule" type="Radactive.WebControls.ILoad.Core.WebCoreModule, Radactive.WebControls.ILoad.Core"/>
       
    </httpModules>
     
       
    <!-- Install the RADactive I-Load HttpHandler -->
       
    <httpHandlers>
         
    <add verb="*" path="WebCoreModule.ashx" type="Radactive.WebControls.ILoad.Core.WebCoreModule, Radactive.WebControls.ILoad.Core" validate="false"/>
       
    </httpHandlers>

     
    </system.web>
    </
    configuration>

    With Microsoft IIS7 running in "Integrated mode", the WebCoreModule HttpModule must be added inside the <modules> tag - <system.webServer> section:

    Web.Config for Microsoft IIS7 - "Integrated mode" Copy Code
    <?xml version="1.0"?>
    <
    configuration>
     
    <system.web>
       
    ...
       ...
       
    <httpModules>
         
    <add name="WebCoreModule" type="Radactive.WebControls.ILoad.Core.WebCoreModule, Radactive.WebControls.ILoad.Core" />
       
    </httpModules>

       
    <httpHandlers>
         
    <add verb="*" path="WebCoreModule.ashx" type="Radactive.WebControls.ILoad.Core.WebCoreModule, Radactive.WebControls.ILoad.Core" validate="false" />
       
    </httpHandlers>

     
    </system.web>
     
    <system.webServer>
       
    ...
       ...
       
    <validation validateIntegratedModeConfiguration="false"/>
       
    <modules>
         
    <add name="WebCoreModule" type="Radactive.WebControls.ILoad.Core.WebCoreModule, Radactive.WebControls.ILoad.Core" preCondition="managedHandler" />
       
    </modules>

       
    <handlers>
         
    <add name="WebCoreModule.ashx_*" path="WebCoreModule.ashx" verb="*" type="Radactive.WebControls.ILoad.Core.WebCoreModule, Radactive.WebControls.ILoad.Core" preCondition="integratedMode" />
       
    </handlers>

     
    </system.webServer>
    </
    configuration>

    Please see also: Web.Config file settings
  3. Open your aspx/ascx file and add the RADactive I-Load Register directive at the top:
    <%@ Register TagPrefix="rawcil" Namespace="Radactive.WebControls.ILoad" Assembly="Radactive.WebControls.ILoad" %>

    If you plan all pages in your application to use RADactive I-Load you can add the following lines in your Web.Config file. In this case you don't need to add this directive in your pages.

    Copy Code
    <pages>
     
    <controls>
       
    <add tagPrefix="rawcil" namespace="Radactive.WebControls.ILoad" assembly="Radactive.WebControls.ILoad" />
     
    </controls>
    </
    pages>
  4. Write the RADactive I-Load tags in the body of the WebForm:

    Copy Code
    <rawcil:ILoad runat="server" id="ILoad1">
    </
    rawcil:ILoad>  
  5. Add any additional properties you need between the RADactive I-Load tags.

 

 

Troubleshooting: I-Load display the error message: "I-Load exception: Unable to load resources..."

If you get the following error message:

I-Load exception: Unable to load resources.
Please ensure WebCoreModule HttpModule and HttpHandler are installed in the web.config file.
If you are using asp.net authentication please allow * access to "WebCoreModule.ashx" HttpHandler.

Then please see How to solve the exception: "Unable to load resources"

See Also

I-Load configuration
Web.Config file settings

Copyright © RADactive srl 2010 - All Rights Reserved.