forum

Home / DeveloperSection / Forums / How to RedirectToAction with anchor tag in mvc?

How to RedirectToAction with anchor tag in mvc?

Takeshi Okada818109-Oct-2014
I have the following problem: For example I have route like this.

routes.Add(newRoute("forums/thread/{threadOid}/last", newMvcRouteHandler())
           Defaults = newRouteValueDictionary(
             new { controller = "Thread", action ="ShowThreadLastPostPage"}),
        Constraints = newRouteValueDictionary(new { threadOid = @"^\d+$" })
    }
);

Is there a way using RedirectToAction method navigate to the URL like this.
forums/thread/{threadOid}/last#postOid


Updated on 09-Oct-2014

Can you answer this question?


Answer

1 Answers

Liked By