| |||||||||
FormView.ModeChanging EventSystem.Web.UI.WebControls Namespace FormView Class .NET Framework version 2.0 Occurs when the FormView control switches between edit, insert, and read-only mode, but before the mode changes. [ VB ] Public Event ModeChanging As FormViewModeEventHandler [ C# ] public event FormViewModeEventHandler ModeChanging; [ C++ ] public: __event FormViewModeEventHandler* ModeChanging; In [ JScript ], you can handle the events defined by a class, but you cannot define your own. RemarksThe ModeChanging event is raised whenever the FormView control switches between edit, insert, and read-only mode, but before the mode actually changes. This allows you to provide an event-handling method that performs a custom routine, such as configuring the FormView control for a specific mode or canceling the mode change, whenever this event occurs. Event DataThe method assigned to handle the event is passed an argument of type FormViewModeEventArgs object containing data related to this event. The following FormViewModeEventArgs properties provide information specific to this event.
See AlsoFormView Members FormViewModeEventArgs FormViewModeEventHandler |
| ||||||||
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