Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning to a different view
Message
From
12/03/2014 10:13:41
 
General information
Forum:
ASP.NET
Category:
MVC
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01596244
Message ID:
01596290
Views:
48
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform