HierarchicalDataBoundControlDesigner.UseDataSourcePickerActionList Property

Note: This property is new in the .NET Framework version 2.0.

Used to determine whether the control should render its default action lists, containing a data source ID drop-down list and related tasks.

Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in system.design.dll)

protected:
virtual property bool UseDataSourcePickerActionList {
	bool get ();
}
/** @property */
protected boolean get_UseDataSourcePickerActionList ()

protected function get UseDataSourcePickerActionList () : boolean

Property Value

Always true.

The default action lists for the HierarchicalDataBoundControlDesigner class include a Choose Data Source menu item that has a drop-down list from which a data source can be selected, and any other action items on the action lists of the data source control.

Typically, the data source control action lists will include Configure Data Source and Refresh Schema menu items, although these need not always be present. The Configure Data Source menu item displays a dialog box that is appropriate to the type of data source chosen. For example, if the data source is an ObjectDataSource control, the Configure Data Source dialog box allows you to choose a business object for the ObjectDataSource. The Refresh Schema menu item refreshes the designer schema that is applied by the data source.

Notes to Inheritors If you do not want the default data source action list items to be displayed, override the UseDataSourcePickerActionList property to return false. If you want other data source action list items to be displayed, override the UseDataSourcePickerActionList to return false and override the ActionLists property to add the appropriate DesignerActionItem objects to the DesignerActionListCollection object that it returns.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Show: