Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Post Current Page Before Navigating Away

$
0
0

We have a web app that has 5 tabs with a form on each. After completing tab 1 and submitting it it posts the form data and redirects to tab 2.  The problem we are having is that we need navigation for the 5 different tabs.

So if you are on tab 1 and click on tab 3 we need it to first post the form data (check if the ModelState.IsValid) and then redirect to tab 3. What is the right approach for accomplishing this?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>