asp.net.ph

FormView.ModeChanged Event

System.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 after the mode has changed.

[ VB ]
Public Event ModeChanged As EventHandler

[ C# ]
public event EventHandler ModeChanged;

[ C++ ]
public: __event EventHandler* ModeChanged;

In [ JScript ], you can handle the events defined by a class, but you cannot define your own.

Remarks

The ModeChanged event is raised whenever the FormView control switches between edit, insert, and read-only mode, but after 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.

See Also

FormView Members   ModeChanging Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 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 asp.net.ph