| |||||||
Button.Click EventSystem.Web.UI.WebControls Namespace Button Class Occurs when a Button control on a Web Forms page is clicked. [ VB ] Public Event Click As EventHandler [ C# ] public event EventHandler Click; [ C++ ] public: __event EventHandler* Click; In [ JScript ], you can handle the events defined by a class, but you cannot define your own. Event DataThe method assigned to handle the event is passed an EventArgs object containing data related to the Click event. RemarksA Click event is raised whenever a Button control on a Web Forms page is clicked. This event is commonly used when no command name is associated with the Button control, typically to trigger a form submit handler. For more information about handling events, see Web Forms Events Model. ExampleThe following examples demonstrate how to specify and code a handler for the Click event of a Button control.
See Also |
| ||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme