Nevron .NET Vision
Nevron.UI.WebForm.Controls Namespace / NControlStateSettings Class / PersistControlState Property


In This Topic
    PersistControlState Property
    In This Topic
    Whether or not the control should persist its state across roundtrips.
    Syntax
    'Declaration
     
    
    <System.Xml.Serialization.XmlAttributeAttribute()>
    <System.ComponentModel.DefaultValueAttribute(False)>
    Public Property PersistControlState As System.Boolean
    'Usage
     
    
    Dim instance As NControlStateSettings
    Dim value As System.Boolean
     
    instance.PersistControlState = value
     
    value = instance.PersistControlState
    [System.Xml.Serialization.XmlAttribute()]
    [System.ComponentModel.DefaultValue(false)]
    public System.bool PersistControlState {get; set;}
    Remarks
    By default the control will not save the state. If you enable this property the control state will be serialized in the specified repository.
    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