ignoreDeviceFilters Element for pages (ASP.NET Settings Schema)

Defines a collection of elements that identify the device-specific content that ASP.NET should ignore when it displays a page.

configuration Element (General Settings Schema)
  system.web Element (ASP.NET Settings Schema)
    pages Element (ASP.NET Settings Schema)
      ignoreDeviceFilters Element for pages (ASP.NET Settings Schema)

<ignoreDeviceFilters> 
   <filter /> 
</ignoreDeviceFilters>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element

Description

filter

Specifies the element that identifies the device-specific content that ASP.NET should ignore when it displays a page.

Parent Elements

Element

Description

configuration

Specifies the required root element in every configuration file that is used by the common language runtime and the .NET Framework applications.

system.web

Specifies the root element for the ASP.NET configuration settings in a configuration file and contains configuration elements that configure ASP.NET Web applications and control how the applications behave.

pages

Defines page-specific configuration settings globally, such as ASP.NET directives for pages and controls that are in the scope of the configuration file.

Example

The following example shows how to configure filter elements.

<system.web>
     
  <pages>
    <ignoreDeviceFilters>
      <filter name="TagA"/>
      <filter name="TagB"/>
    </ignoreDeviceFilters>
  </pages>
    
</system.web>

Element Information

Namespace

System.Web.Configuration

Schema Name

IgnoreDeviceFilterElementCollection

Validation File

Machine.config

Root-level Web.config

Application-level Web.config

See Also

Tasks

How to: Configure Specific Directories Using Location Settings

How to: Lock ASP.NET Configuration Settings

Reference

IgnoreDeviceFilterElementCollection

IgnoreDeviceFilterElement

system.web Element (ASP.NET Settings Schema)

configuration Element (General Settings Schema)

filter Element for ignoreDeviceFilters (ASP.NET Settings Schema)

Concepts

ASP.NET Configuration File Hierarchy and Inheritance

Securing ASP.NET Configuration

Other Resources

General Configuration Settings (ASP.NET)

ASP.NET Configuration Settings

ASP.NET Web Site Administration

ASP.NET Configuration API