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
How to export data from Sql server to text or xml file using SSIS
Script to enable folder auditing
SQL Substr Order
Cisco VTY Access to particular line number
SharePoint - single user can't access Rich Text Editor
asp.net SQL Filestream access is denied
Shares unavailable
Hyperlink Pop UP
How to Configure Link aggregation on Cisco 3560G?
UI Design - How to mockup .net application?