How to reset input data on detailsview, after error on insert

J

jparlato

I'm using the detailsview to perform edit and insert of new records via an
object datasource.
If an error occurs on the insert, I want to preserve the data the operator
tried to input, along with my error messages. Currently, it appears that the
detailsview is trying to rebind after the error, to the empty/null detail
item(on insert it is null), and thus I lose all the operator's input. Can
someone suggest the proper way for me to achieve the persistence I'm looking
for? Thanks.
 
J

jparlato

By the way, the error is being detected on the server not client side.... I
just wanted to explain that point.
 
J

jparlato

What I was hoping, is that there is some way to cancel the re-binding of the
detailview, after an error is detected... Have not found a way to do it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,141
Messages
2,570,818
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top