SPControl.SetContextWeb method
SharePoint 2013
Specifies the context and SPWeb for the control.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Parameters
- context
- Type: System.Web.HttpContext
The HTTP context of the request.
- web
- Type: Microsoft.SharePoint.SPWeb
The SPWeb containing the page that contains this control.