This topic has not yet been rated - Rate this topic

SPControl.SetContextWeb method

Specifies the context and SPWeb for the control.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public static void SetContextWeb(
	HttpContext context,
	SPWeb web
)

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.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.