Web.config Modifications
- 2 minutes to read
Special modules, handlers and options that support control functionality are included in the installation. Some must be registered in a web application’s Web.Config file for DevExpress controls to work properly; others are optionally registered to provide additional features.
ASPxHttpHandlerModule
ASPxHttpHandlerModule combines handler and module functionality.
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 add a DevExpress control to a page or create an application via the Template Gallery. You can also register a 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 following help topic to learn more: ASPxHttpHandlerModule.
ASPxUploadProgressHttpHandler
If an application includes ASPxUploadControl, you must register ASPxUploadProgressHttpHandler to correctly process the upload. If you add ASPxUploadControl to a form in Design view or create an application via the Template Gallery, the handler is automatically registered within the web project’s Web.Config file.
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 the following help topic for more information: Web.Config Options Overview.
Note
You can use the configSource attribute to define configuration settings in a separate file. Note that this attribute has restrictions as described in the following help topic: configSource Attribute topic.