Stopping Formview insert command button - too late to trigger isvalid=false ??? viewstate lost after

J

Jason

I'm reading that this is by design.. but It's just killing me.

I see all sorts of nice events - onclick, onupdating, onupdating .. I
can cancel the update with e.cancel etc... Great.

So why can't I stop the formview from posting and return back to my
page with all my viewstate data intact so the users can correct any
NON-VALIDATION issue and re-attempt to update?

Why do I need this? Say I want to bounce some of my data against
another table, or say I've got some crazy function or logic that just
don't fit into the validators and I want to trip the form so that It
doest not post, where can I do this If I'm using sqldatasource for
update/insert ?

Thanks.
 

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

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top