I have a web application in ASP.NET MVC and in there i have a jqueryUI tab with forms in.
And when i submit i want to return to the open tab.
With me RedirectToAction() i create the url
www.foo.com/CV/edit/9
But i want to be able to generate
www.foo.com/CV/edit/9#tab-2
I tried with RedirectToAction(“edit/”+id+”#tab-2”), but that generates:
www.foo.com/CV/edit/9%23tab-2
any1 knows the answer?
Create the URL, then append
#tab-2to it. Return a RedirectResult to redirect to the created URL: