Author: pmcc_123 | Posted on: 7/7/2009 8:07:40 AM | Views : 288

Hi,


I have a formview inside a multiview wired to an objectdatasource which has select parameter as selectedindex of a gridview.  The datakey names of the FormView are Id, ConcurrencyId.  All these controls are in an UpdatePanel
When the update button of formview is clicked, the objectdatasource_selecting event rebinds the datakeynames to the database ID and ConcurrencyID meaning the concurrency check cannot happen as it looks at the most recent timestamp.
I have checked that nothing else is rebinding FormView although this seems to happen anyway on the postback.  
Any suggestions as to why this is happening.
Thanks
Paul
...

Go to the complete details ...