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




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note