Server validation and cross page postback

M

Martin

Hi,

In the scenario described by Scott Allen at
http://odetocode.com/Articles/421.aspx, he points out the issue of handling
server side validation failing on the source page of a cross page post back.

I would expect there would be a way of source page knowing it was executing
on behalf of the destination page (could be IsCrossPagePostBack==true &&
PreviousPage==null), and being able to abort/cancel the hand back to the
destination page, so that the source page was served back to the user with
relevant error messages and original data. However the call stack pretty
much comits a return to the destination page.

Does any one have a solution for managing this scenario?

Thanks
Martin
 

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
473,995
Messages
2,570,228
Members
46,817
Latest member
AdalbertoT

Latest Threads

Top