DeviceSpecificChoice

DeviceSpecificChoice.NET 1.1

System.Web.UI.MobileControls (system.web.mobile.dll)class

This class represents the <Choice> element in a .aspx file. Each <Choice> element represents a distinct condition (typically corresponding to a different type of client device or set of client device abilities). When the page is loaded at run time, the first matching choice is used. For example, you might create a <Choice> element that specifies a Filter string "WML", which matches an entry in the <deviceFilters> section of the machine.config file. The settings in this choice will only be used if the target device supports WML (and hasn't matched any previous choice conditions).

public class DeviceSpecificChoice : System.Web.UI.IParserAccessor, System.Web.UI.IAttributeAccessor { // Public Constructors    public DeviceSpecificChoice( ); // Public Instance Properties    public string Argument{set; get; }    public IDictionary Contents{get; }    public string Filter{set; get; }    public bool HasTemplates{get; }    public IDictionary Templates{get; }    public string Xmlns{set; get; } }

Returned By

DeviceSpecific.SelectedChoice, DeviceSpecificChoiceCollection.this

Passed To

DeviceSpecificChoiceCollection.{Add( ), AddAt( ), Remove( )}



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net