Web.Config Modifications Overview

  • 2 min to read

DevExpress provides special modules, handlers and options that support DevExpress control functionality. Some must be registered in a web application's Web.Config file for DevExpress controls to work properly; others can be optionally registered to provide extended capabilities.

ASPxHttpHandlerModule

ASPxHttpHandlerModule combines handler and module functionalities.

ASPxHttpHandlerModule requires registration as a module to support base DevExpress control functionality. It is automatically registered in system.web/httpModules and system.webServer/modules sections when you place a DevExpress control on a page, or create an application with the Template Gallery. You can also register the module manually, if required (e.g., when you create controls programmatically instead of at design time).

The optional ASPxHttpHandlerModule handler provides tools to merge and compress custom CSS and JavaScript files.

See the ASPxHttpHandlerModule topic to learn more.

ASPxUploadProgressHttpHandler

If the application includes ASPxUploadControl, you must register ASPxUploadProgressHttpHandler to correctly process the upload. The handler is automatically registered within a web project's Web.Config file when you add ASPxUploadControl to a form in Design view or create an application with the Template Gallery.

See the ASPxUploadProgressHttpHandler topic for details.

DevExpress Section

The DevExpress section is automatically created within a Web.Config file when any DevExpress web control is added to the Design area or an application is created using the Template Gallery. By default, this section contains option settings that allow you to control different aspects of DevExpress functionality, and it lists all available DevExpress options.

See Web.Config Options Overview for more information.

NOTE

You can use the configSource attribute to define configuration settings in a separate file. If you use this attribute, take note of behaviors specific to it, as described in the ConfigSource Attribute topic.

See Also