Export (0) Print
Expand All
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)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.