How to: Configure Device Filters
ASP.NET mobile controls enable you to edit and configure existing device filters according to your needs. It is recommended that you do not alter the settings of the filters provided with the ASP.NET mobile controls. Instead, define new custom filters that are appropriate to your requirements.
Only the current device filter can be edited, so you must select a device filter before you configure it.
To configure a device filter
Select the control to which the filter will be applied.
In the Properties window, click the ellipsis button () in the AppliedDeviceFilters box.
The Applied Device Filters dialog box appears.
In the Available Device Filters list, click the filter to edit, and then click Edit.
The Device Filter Editor dialog box appears.
Edit the name of the filter type by selecting the Type attribute. For more information about the Type attribute, see.
Fill in the appropriate attribute fields. For equality-comparison device filters, enter values for the Compare and Argument attributes. For evaluator-delegate filters, enter values for the Type and Method attributes.
Use the up arrow and down arrow buttons to change the order in which the device filters are saved in the Web.config file.
Because Visual Studio saves filter changes in the Web.config file, these changes affect the definition for every page in your project. Changing the order does not change the behavior at run time.