Nevron .NET Vision
Nevron.UI.WebForm.Controls Namespace / NBrowserResponseSettings Class / BrowserResponsePairs Property


In This Topic
    BrowserResponsePairs Property
    In This Topic
    A collection of NBrowserResponsePair objects linking a browser to an object derived from NResponse.
    Syntax
    'Declaration
     
    
    <System.Xml.Serialization.XmlElementAttribute(Nevron.UI.WebForm.Controls.NBrowserResponsePair)>
    Public Property BrowserResponsePairs As NReferenceHolderArrayList
    'Usage
     
    
    Dim instance As NBrowserResponseSettings
    Dim value As NReferenceHolderArrayList
     
    instance.BrowserResponsePairs = value
     
    value = instance.BrowserResponsePairs
    [System.Xml.Serialization.XmlElement(Nevron.UI.WebForm.Controls.NBrowserResponsePair)]
    public NReferenceHolderArrayList BrowserResponsePairs {get; set;}
    Remarks
    The component checks the browser description in each NBrowserResponsePair object and tries to match it to the current browser accessing the page. If a match occurs than the associated response is generated. If not the response specified by the DefaultResponse property is generated. By default this collection is empty which means that the component will always generate the response type specified by the DefaultResponse property. For more information on browser detection check out the Integration in WebForms book in the documentation.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also