0

I Have Two Controller Customer_Infocontroller and another Order_Infocontroller . Right Now I Am In Customer_Infocontroller . I Want To view Order_Infocontroller without Route Change . Only Use Link Tag How it Possible .Please Help Me

Akshay
  • 1,161
  • 1
  • 12
  • 33
benjir
  • 9
  • 1
  • Possible duplicate of [RedirectToAction to different controller without changing URL](https://stackoverflow.com/questions/19145339/redirecttoaction-to-different-controller-without-changing-url) – monstertjie_za Feb 19 '18 at 10:16
  • you can try `return RedirectToAction("Order_Infocontroller")`, this works to Redirect to an `Action` you can also pass parameters. – Sabir Hossain Feb 19 '18 at 10:16
  • Use `RedirectToAction` and `RedirectToRoute` with caution. This causes the server to send an HTTP 302 response to the browser telling it to lookup a new location on the server. You should only use them when you want the URL to change in the browser. If you want to send the user somewhere else *without* a URL change, you should change your routing or programatically change the route values before the controller is instantiated. – NightOwl888 Feb 19 '18 at 12:44

0 Answers0