Share via


SPRememberScroll class

Wraps controls that need scroll bars, and remembers the scroll position between postbacks.

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      System.Web.UI.WebControls.Panel
        Microsoft.SharePoint.WebControls.SPRememberScroll

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPRememberScroll _
    Inherits Panel
'Usage
Dim instance As SPRememberScroll
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPRememberScroll : Panel

Remarks

This control is specialized for SPTreeView and is therefore not generically reusable.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPRememberScroll members

Microsoft.SharePoint.WebControls namespace