Start Asp net formview onitemupdating

Asp net formview onitemupdating

Well I have no time to dig deep now, may be later I will inform you my finding.

Supports Event Validation]public class Form View : Composite Data Bound Control, IData Item Container, IPost Back Event Handler, IPost Back Container The Form View control is used to display a single record from a data source.

What I have done to narrow down the problem: (1) Replace Object Data Source with an equivalent Access Data Source : same problem.

An old friend of mine, Joe Shook, laughingly said, “you should read what other people write too once in a while.” Of course, he was right and naturally I do. I read almost everything I can get in my hands including technical books, blogs, and articles because I am surprised by the number of things I haven't mastered or that I still don't have a “best practices” sort of solution for. Thankfully I am still willing to stay up to 11 or 12 o'clock—used to be until the next morning—working out the details of what I don't know until I am happy with an answer.

A friend of mine actually asked me about this particular problem: what is a good way to bind a Drop Down List in a Form View.

(2) Check that sequence, parameter names and number of Bind("xxx") in Edit Item Template is identical to Object Data Source's parameter collection (3a) Create a new Test.aspx, using Access Data Source, update command works.

(3b) Then I copy and paste the exact coding from the problem aspx to ....this modified works, to my amazement !!! This aspx works......until not knowing when.....update command problem happen again.

| If Use Submit Behavior is true (default), the button makes a normal POST submit, instead of invoking the ASP. Apparently the Form View commands only work if invoked through javascript-submit. and i also remove the fileupload control from my formview since it not really flexible with update panel and formview.