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
Server 2008 R2 DC File Permissions
SQL*Loader - Trim Leading & Trailing Space for Columns with Spaces in Name
Sharepoint Calculated Column Question:How to convert date to (YY) Month format from mm/dd/yy?
Access to toher User's Inboxes
WSUS Client Updating
restore from DB?
Windows 2003 to 2008R2 cluster migration and enforced quota
Outlook 2010 fails to login via POP3 to SBS2008 server
Outlook/Exchange Issue with Emails not showing
Can't access variable in code behind page