On asp.net formview, when are the ModeChanged and ModeChanging events raised?
This popped up, when I was trying to find why the OnModeChanging handler
wasnt being called when I called the ChangeMode event of my formview.
On the msdn page about the formview's ChangeMode method, it says that it
"switches the FormView control to the specified data-entry mode" but also
that "the ModeChanged and ModeChanging events are not raised when this
method is called.". And in the pages about ModeChanged and ModeChanging
events, it says that they occur "when the FormView control switches
between edit, insert, and read-only mode" (after/before the mode changes,
respectively).
This got me confused! Can you explain it to me: when are the
ModeChanged/ing events raised? And, is there a way to force these events
to be raised? I wasnt able to find a explanation about this..
Thank you!
No comments:
Post a Comment