开发者

MVC3 controller action redirect to URL

I have this string "/TrackMyJob/JobTasksInvolvedPartiesDetail?jobtaskobjid=638e17c9-8d0a-4da4-866f-098c619bab63". I got the above from HttpContext.Current.Request.Url.PathAndQuery, is it possible my controller to redirec开发者_JAVA技巧t there ? if yes how ?

Thank you in advance.


You can use the Redirectdocs method of the controller.

But why would you want to do that ? Isn't that url supported by your routes ?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜