filter Element for ignoreDeviceFilters (ASP.NET Settings Schema)

Defines the element that identifies 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)
        filter Element for ignoreDeviceFilters (ASP.NET Settings Schema)

<ignoreDeviceFilters> 
   <filter name= "tag name" /> 
</ignoreDeviceFilters>

Attributes and Elements

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

Attributes

Element

Description

name

A String attribute.

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

Child Elements

None

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.

ignoreDeviceFilters

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

Example

The following example shows how to configure the filter tags.

<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)

ignoreDeviceFilters Element for pages (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