KaxNavigationBarPersistStateInCookie Property |
Gets or sets a value indicating whether the control would persists its state
between pages (expanded and selected items).
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic bool PersistStateInCookie { get; set; }
Public Property PersistStateInCookie As Boolean
Get
Set
public:
property bool PersistStateInCookie {
bool get ();
void set (bool value);
}
member PersistStateInCookie : bool with get, set
Property Value
Type:
Booleantrue if the control would persist its state;
false otherwise. The default value is
false.
RemarksUse the PersistStateInCookie property to make
KaxNavigationBar persist its state between pages. This feature requires
browser cookies to be enabled. Also the ClientID and
ID properties of the KaxNavigationBar control must be
the same in all pages accessible via the control (and containing it).
Page1.aspx:
<kaxP:KaxNavigationBar ID="KaxNavigationBar1" > ...
</kaxP:KaxNavigationBar>
Page2.aspx
<kaxP:KaxNavigationBar ID="KaxNavigationBar1" > ...
</kaxP:KaxNavigationBar>
See Also