0

I am posting a form to url /Admin/EditInPlace from page /About
In EditInPlace's conroller code i can find the Url-Referrer i.e. from which page request is coming. But how can i map the Url-Referrer to its View page??

In short how can i found that a page /xyz is mapping to which View.aspx file programmatically?

1 Answer 1

2

Needing to know what View the user was previously looking at smells like a design problem. As a workaround, consider passing a query string parameter to the Admin controller's EditInPlace method that describes which UI the user just saw.

/Admin/EditInPlace?channel=basic
Sign up to request clarification or add additional context in comments.

1 Comment

+1 And how can you develop a RESTful application with those sorts of dependencies?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.