Top "Redirecttoaction" questions

In ASP.

ruby - redirect_to(url, :myparam => 'abc')

I can't work this out. url = "www.mysite.com/?param1=abc" redirect_to(url, :param2 => 'xyz') ### Should this go …

ruby-on-rails param redirecttoaction
Propagating QueryString parameter in RedirectToAction calls

I want to make sure that a particular parameter in the QueryString, in my case the request_id is propagated …

asp.net asp.net-mvc asp.net-mvc-3 action-filter redirecttoaction
View doesn't refresh after RedirectToAction is done

Here is my problem: [HttpPost] public ActionResult AddData(CandidateViewModel viewModel) { var newCandidateId = 0; newCandidateId = this._serviceClient.AddCandidate(viewModel); return RedirectToAction("DisplayCandidate",…

asp.net-mvc redirecttoaction
setting query string in redirecttoaction in asp.net mvc

I have to do a redirecttoaction call in asp.net mvc view with varying params, extracted from the referrer page …

asp.net-mvc asp.net-mvc-routing query-string redirecttoaction
Asp.Net core Tempdata and redirecttoaction not working

I have a method in my basecontroller class that adds data to tempdata to display pop-up messages. protected void AddPopupMessage(…

asp.net-core-2.2 tempdata redirecttoaction
Passing a model into RedirectToAction()

I'm curious how this works. In MVC you can call View() and pass a model as a parameter, but RedirectToAction (…

asp.net-mvc redirecttoaction
RedirectToAction from different controller and with parameters/routevalues not working

I’m trying to call a action method from different controller but it´s not working. It simply skips the …

asp.net-mvc redirecttoaction
RedirectToAction inside a action method that creates a new object in the entity in MVC

I have a action method that is following: public ActionResult CreateNKITemplate(int id) { var goalcard = createNKIRep.GetGoalCardByID(id); createNKIRep.CreateTemplate(…

c# asp.net asp.net-mvc asp.net-mvc-3 redirecttoaction