Table of Contents
  • Getting Started
  • EO.Pdf
  • EO.Web
    • Overview
    • Installation & Deployement
    • EO.Web ToolTip
    • EO.Web Rating
    • EO.Web Slider & RangeSlider
    • EO.Web ListBox
    • EO.Web ComboBox
    • EO.Web Captcha
    • EO.Web ASPX To PDF
    • EO.Web Slide
    • EO.Web Flyout
    • EO.Web EditableLabel
    • EO.Web ImageZoom
    • EO.Web Floater
    • EO.Web Downloader
    • EO.Web ColorPicker
    • EO.Web HTML Editor
    • EO.Web File Explorer
    • EO.Web SpellChecker
    • EO.Web Grid
    • EO.Web MaskedEdit
    • EO.Web Splitter
    • EO.Web Menu
    • EO.Web Slide Menu
    • EO.Web TabStrip
    • EO.Web TreeView
    • EO.Web Calendar
    • EO.Web Callback
    • EO.Web MultiPage
    • EO.Web Dialog
    • EO.Web AJAXUploader
    • EO.Web ProgressBar - Free!
    • EO.Web ToolBar - Free!
  • EO.WebBrowser
  • EO.Wpf
  • Common Topics
  • Reference
Modifying Web.config

Some EO.Web Control features require you to add EO.Web.Runtime into your web.config's httpModules list. If you use any of those features, you should modify the httpModules section of your web.config to include EO.Web.Runtime module.

For application running in Classic Mode

If your application is running in classic mode, add the following section to inside system.web:

web.config
<httpModules>
    <add name="EOWebRuntime" type="EO.Web.Runtime,EO.Web"/>
</httpModules>

For example, if your original Web.config looks like this:

web.config
...
        <!--  Globalization
            This section sets the globalization settings of the application. 
        -->
        <globalization responseEncoding="utf-8" requestEncoding="utf-8" />   
    </system.web>
</configuration>

This is what it should be afterwards:

web.config
...
        <!--  Globalization
            This section sets the globalization settings of the application. 
        -->
        <globalization responseEncoding="utf-8" requestEncoding="utf-8" />   
        
        <httpModules>
            <add name="EOWebRuntime" type="EO.Web.Runtime,EO.Web"/>
        </httpModules>      
    </system.web>
</configuration>

If you already have other modules, you should only add the line that defines the module. For example, if your original Web.config looks like this:

web.config
...
        <!--  GLOBALIZATION
            This section sets the globalization settings of the application. 
        -->
        <globalization responseEncoding="utf-8" requestEncoding="utf-8" />   
        
        <httpModules>
            <add name="AnotherModule" type="AnotherModule,AnotherAssembly"/>
        </httpModules>      
    </system.web>
</configuration>

This is what it should be afterwards:

web.config
...
        <!--  GLOBALIZATION
            This section sets the globalization settings of the application. 
        -->
        <globalization responseEncoding="utf-8" requestEncoding="utf-8" />   
        
        <httpModules>
            <add name="EOWebRuntime" type="EO.Web.Runtime,EO.Web" />
            <add name="AnotherModule" type="AnotherModule,AnotherAssembly" />
        </httpModules>      
    </system.web>
</configuration>

For application running in Integrated mode

If your application is running in integrated mode, you must modify the modules section (inside system.webServer):
web.config
<configuration>
  <system.webServer>
    <modules>
      <add name="EOWebRuntime" type="EO.Web.Runtime,EO.Web"/>
    </modules>
  </system.webServer>
</configuration>

Note: Placing other HTTP modules before EO.Web module may cause problems for EO.Web AJAXUploader. In this case please make sure EO.Web module is the first module in your HTTP module list.