Export (0) Print
Expand All

ignoreDeviceFilters Element for pages (ASP.NET Settings Schema)

.NET Framework 4

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>

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.

The following example shows how to configure filter elements.

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

Namespace

System.Web.Configuration

Schema Name

IgnoreDeviceFilterElementCollection

Validation File

Machine.config

Root-level Web.config

Application-level Web.config

Community Additions

ADD
Show:
© 2014 Microsoft