FormView controls are very useful in rapidly putting together a multi-view Web form. As part of this, dynamically changing the status of the Form between Read, Edit, Insert is an important task.
The catch can be that this can get quirky to do right. and the simplest method is to programmatically trigger an event when a Control in your Form gets rendered or bound to data. The ways of doing so vary depending on the type of control that you are checking. In this example I will take a look at adding an event to the DropDownList and to the TextBox controls. (more…)
