Problem using FormView to insert.

Posted by matthew_360 on Stack Overflow See other posts from Stack Overflow or by matthew_360
Published on 2009-11-05T18:44:13Z Indexed on 2010/04/02 19:03 UTC
Read the original article Hit count: 148

Filed under:
|

I have a formview control, and on the ItemCreated event, I am "priming" some of the fields with default values.

However, when I try to use the formview to insert, before the ItemInserting event gets called, for some reason it calls ItemCreated first. That results in the fields being over-written with the default values right before the insert happens.

How do I get it to not call the ItemCreated event before the ItemInserting event?

© Stack Overflow or respective owner

Related posts about formview

Related posts about ASP.NET