I have a multiview with 5 views. User enters name, phone number, address, etc.
I call 5 stored procs to save each section.
I have the "save" method wrapped in a try-catch and I roll back using Transaction in code.
Now, if an erorr occurs in any of the steps, i catch it and display a generic msg that an error has occured but user doesnt know what step has raised the error...i only display a generic msg to the user.
How can I tell the user which step has an invalid data? for example, i have text area that should only hold 1000 chars. I thought i had fixed this but user still got an error...
I have requiredfieldvalidators and user can't go to next step if the corresponding field is not met the right criteria but how else can I tell the user which step has caused the error?