TemplateBasedControl.Web property
SharePoint 2013
Gets the site of the control's rendering context; which is the value of the SPContext.Web property of the object held by the TemplateBasedControlRenderContext() property.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: Microsoft.SharePoint.SPWebA SPWeb object that represents the site (not site collection) of the control's rendering context.