Url does not change in display when redirecting
        Posted  
        
            by zsharp
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by zsharp
        
        
        
        Published on 2010-06-17T19:40:58Z
        Indexed on 
            2010/06/17
            19:53 UTC
        
        
        Read the original article
        Hit count: 296
        
asp.net-mvc
action: User/Details View: Details
In my 'Details' view, a user can click on an actionlink that goes to the action :User/UserBehavior From which I again return a "Details" View.
the url shows http://User/UserBehavior
If I return redirectToAction to the Details action, I still get the "UserBehavior" action in the url.
how do I redirect and present the new url of the action? isnt that the way its supposed to be?
TO CLARIFY: WHEN YOU USE REDIRECTTOACTION, SHOULD THE URL IN THE BROWSER SHOW THE ORIGINAL ACTION OR THE ACTION YOU REDIRECTED TO?
© Stack Overflow or respective owner