How to: Select Templates
Editing a template requires that you select an ASP.NET mobile control and an applied device filter. Visual Studio always displays the template set associated with the current device filter. The current device filter determines which template set is available for editing. When you change the current device filter, the designer enables you to edit the templates associated with the newly selected filter.
To select a different template or template set to edit
Select the control whose template you want to edit.
Select the current device filter by doing the following:
Right-click the control, and in the shortcut menu, click Templating Options. The Templating Options dialog box is displayed.
In the Applied Device Filter list, select a device filter and then click Close.
-or-
In the Properties window, use the drop-down list next to the TemplateDeviceFilter property to select an applied device filter.
You can now edit the template or template set associated with the selected device.
See Also
Tasks
How to: Create and Edit Templates
Walkthrough: Creating Web Pages for Mobile Devices
Reference
Applied Device Filters Dialog Box
Concepts
Introducing Control Templates
Applying Device Filters
Overriding Properties