IFormDelegateControlSource Interface

Causes the form to submit code (generally the OK button click event handler to call the OnSave method of the control with the desired object). This can be an SPSite or an SPWeb or other Microsoft SharePoint Foundation object, the type of which depends on the purpose of the page.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

public interface IFormDelegateControlSource

This object is useful only for controls intended to be added to a form page, using DelegateControl. This is implemented only for certain pages and for certain form events. The object that is passed depends on the page, as shown in the following table:

Page

Capabilities

Object

/_layouts/themeweb.aspx

Create and save.

SPWeb

/_layouts/userdisp.aspx

Create only.

SPListItem object corresponding to the user.

/_layouts/wrkstat.aspx

Create only.

SPWeb

/_admin/createsite.aspx

Save only.

SPSite

/_layouts/newsbweb.aspx

Save only.

SPWeb

/_layouts/regionalsetng.aspx

Save only.

SPWeb

/_layouts/scsignup.aspx

Save only.

SPSite

/_layouts/themeweb.aspx

Save only.

SPWeb

Show: