FormView renders EmptyDataTemplate when in Insert Mode
description
The CSSFriendly FormView will render the EmptyTemplate if you switch to insert mode when there is no data in the datasource. With the adapter turned off .Net correctly renders the InsertItemTemplate.
Attached is my fix (based on build 16291) which adds a check for the current mode when rendering the EmptyItemTemplate in the BuildItem function.