.NET formview edit mode problem
I encountered problem with the formview not switching to edit mode using the standard commandname=”Edit” for a linkbutton. It turns out the problem was with the way I bind the data source to the formview through code behind. I changed that to defining the formview tag with the attribute of datasource while defining the data source on the page code and everything worked just fine. Go figure.