Microsoft
Software
Hardware
Network
Question : How to redirect to other action by using MVC2 framework
i have two folders in MVC2 view, one is Account and other Home.
In Account i have Login.aspx page.
In Home i have index page.
I run login page.-->it call one method.
public ActionResult Login() {
DoSomeThing();
return View(u);
}
public void DoSomeThing()
{
//Here i do some functionality
//I am trying to redirect to index page.
//This function is not redirecting to that action.
RedirectToAction("Index", "Home");
}
Could you please say me how to redirect to index page by using MVC 2.
Answer : How to redirect to other action by using MVC2 framework
Open the csv file with a text editor and change the encoding by resaving it as UTF-8 or UTF-16.
Random Solutions
Dell desktop will not boot
Voltage sensor detected a failure on DELL PowerEdge 2650 server
Wyse thin client and Citrix display/graphic lag
Unknown USB Device
automatically install tomcat 5.5
DOS Bat File Copy a File with Date Timestamp
Adding URL Parameter
Print Management Export issue srv 2008
Disabling software restriction policy
Select statement with Datepart failing