How Server control handle events
| ASP.NET server controls can optionally expose and raise server events, which can be handled by developers.Developer may accomplish this by declaratively wiring an event to a control (where the attribute name of an event wireup indicates the event name and the attribute value indicates the name of a method to call).
Private Sub Btn_Click(Sender As Object, E As EventArgs) Message.Text = "http://www.dotnetquestion.info"End Sub |
|
