GetRequiresData Method

The GetRequiresData method of the ListViewWebPart class overrides the Microsoft.SharePoint.WebPartPage.WebPart.CreateWebPartMenu method. It indicates whether this Web Part needs data during this round of communication.

Return Value

true registers this Web Part for the appropriate BeginDataRetrieval and EndDataRetrieval events.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security