System.Web.UI.HtmlControls Namespace HtmlInputRadioButton Class
Occurs when the Checked property of the HtmlInputRadioButton changes state between posts to the server.
[ VB ]
Public Event ServerChange As EventHandler
[ C# ]
public event EventHandler ServerChange;
[ C++ ]
public: __event EventHandler* ServerChange;
In [ JScript ], you can handle the events defined by a class, but you cannot define your own.
The event handler receives an EventArgs containing data related to the ServerChange event.
This event is raised when the Web page is submitted to the server and the Checked property of the HtmlInputRadioButton control changes state from the previous post.
NOTE: The control must have viewstate enabled for the ServerChange event to work correctly.
For more information about handling events, see Web Forms Events Model.
The following illustrates how to attach a handler to the onServerChange event of an HtmlInputRadioButton control.
<input type="radio" id="myRadioButton" runat="server"
onServerChange="showIfChanged">Check me out
Show me
HtmlInputRadioButton Members