MetaBuilders.WebControls.DefaultButtons
Allows the developer to assign default buttons to per control on a web form.
This is a non-visual control, using the IExtenderProvider to add properties to other controls.
With a designer, after the DefaultButtons control is added to the page,
input controls will have a new property named "DefaultButton", where the ID of a button should go.
Without a designer, a page developer can simply add DefaultButtonSetting tags inside the DefaultButtons tag.
Here is an example page using the DefaultButtons control.
]]>
Creates a new instance of the DefaultButtons control.
Defines the controls which can be extended.
In general, the Page, the Form, and buttons cannot be extended.
gets the property value for the given control
sets the property value for the given control
Overrides .
Overrides .
No rendering is done for this control.
Examines the current properties to ensure their validity.
Finds the given control by id.
Determines if the given default button causes validation
Overrides
Overrides
Overrides
Gets the collection of settings which map input controls to their default buttons.
Overrides to hide it.
Ensures that the current properties are valid.
The designer for the DefaultButtons control.
Creates a new instance of the DefaultButtonsDesigner
Overrides
One mapping between a control and its default button.
Creates a new instance of the DefaultButtonSetting class.
Gets or sets the parent input control in the relationship.
Gets or sets the default button in the relationship.
Gets the ViewState for this setting.
The collection of settings for the property.
Adds a setting to the collection
Clears the collection.
Determines if the collection contains the given setting.
Gets the index of the given setting.
Adds the given setting to the collection at the given index
Removes the setting at the given setting
Removes the given setting from the collection
The enumerator for this collection
copies the settings to an array
The indexer for this collection.
Gets the number of settings in the collection.
returns false
Gets the SyncRoot
The builder for a
Creates a new instance of the DefaultButtonSettingControlBuilder class.
Overrides