Posted on: 1/31/2014 4:26:23 AM | Views : 611

I have a FormView which I bring up in Insert mode upon user request.  It has 4 Textboxes and 4 Dropdownlists, all of which are defaulted to some value in FormView_ItemCreated.
If user presses Insert button without having touched any other controls, a DB record is created using default values.
If user hits the ENTER key, this error occurs: "Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control."
What's going on?
One possible solution is to make the Insert button a default, so when user just presses ENTER, it will act like the user pressed the Insert button. Is that possible?  If so, how?
 
Help most appreciated!
 

Go to the complete details ...