C# Class Spring.Web.UI.Controls.RadioButtonGroup

Inheritance: System.Web.UI.WebControls.WebControl, IPostBackDataHandler
ファイルを表示 Open project: spring-projects/spring-net

Private Properties

Property Type Description

Public Methods

Method Description
LoadPostData ( string postDataKey, NameValueCollection postCollection ) : bool

Loads postback data into the control.

RaisePostDataChangedEvent ( ) : void

Raises SelectionChanged event.

Protected Methods

Method Description
AddedControl ( Control control, int index ) : void

Overloaded to track addition of contained RadioButton controls.

OnPreRender ( EventArgs e ) : void

Registers the RadioButtonGroup for PostBack.

OnSelectionChanged ( EventArgs e ) : void

Method that is called on postback if selected radio button has changed.

RemovedControl ( Control control ) : void

Overloaded to track removal of a RadioButton

Render ( System.Web.UI.HtmlTextWriter writer ) : void

Renders only children of this control.

Method Details

AddedControl() protected method

Overloaded to track addition of contained RadioButton controls.
protected AddedControl ( Control control, int index ) : void
control System.Web.UI.Control
index int
return void

LoadPostData() public method

Loads postback data into the control.
public LoadPostData ( string postDataKey, NameValueCollection postCollection ) : bool
postDataKey string Key that should be used to retrieve data.
postCollection System.Collections.Specialized.NameValueCollection Postback data collection.
return bool

OnPreRender() protected method

Registers the RadioButtonGroup for PostBack.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
return void

OnSelectionChanged() protected method

Method that is called on postback if selected radio button has changed.
protected OnSelectionChanged ( EventArgs e ) : void
e System.EventArgs Empty event argument.
return void

RaisePostDataChangedEvent() public method

Raises SelectionChanged event.
public RaisePostDataChangedEvent ( ) : void
return void

RemovedControl() protected method

Overloaded to track removal of a RadioButton
protected RemovedControl ( Control control ) : void
control System.Web.UI.Control
return void

Render() protected method

Renders only children of this control.
protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter HtmlTextWriter to use for rendering.
return void