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
Full Cone Nat on a Cisco router
Linux under virtual box
Black screen of death upon turning PC On
Merging excel spreadsheets
Passing a structure from VBA in Excel to a C DLL
2 levels treeMap
Microsoft Live Meeting Recordings Locally
Set desktop wallpaper through Group Policy in SBS 2008
The following recipient(s) cannot be reached
Citrix presentation Svr 4.5 - Data collector election