Redirect after add

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
gmandelli
User
Posts: 32

Redirect after add

Post by gmandelli »

What to do you suggest in order to redirect on two different pages after add?

The idea is that if we got 'Added successfully' after user press Save then redirect to addOK page.

If the user press cancel then redirect to addKO.

Thanks.

Best regards,
John


MichaelG
User
Posts: 1103

Post by MichaelG »

The idea is that if we got 'Added successfully' after user press Save then redirect to addOK page

You can specify the return page for Add in Table -> Table Options -> Return Pages -> After add

If the user press cancel then redirect to addKO

You can use the Page_Load server event of the add page to override the return URL. For example:

ReturnUrl = "MyReturnUrl";


Post Reply