Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning to a different view
Message
De
12/03/2014 10:13:41
 
Information générale
Forum:
ASP.NET
Catégorie:
MVC
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01596244
Message ID:
01596290
Vues:
49
What you needed is the referrer. http://stackoverflow.com/questions/1471188/how-do-i-get-the-referrer-url-in-an-asp-net-mvc-action

>That's what I do presently Craig, but how do I know where the action was invoked ? e.g. The action can be invoked from my "Index" view of all Employees or a view showing a list of employees linked to a department, if the latter is true I want to return to the "list of employees linked to a department" not the "Index" view. This is me still on my learning curve of Web stuff so there's no urgency, thanks for your time.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform