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
mysql UPDATE TABLE where field 1 IN feild 2
adding a file to windows/winsxs/.....
Data truncated MYSQL
Can I use Powershell to install Windows components?
oracle 10g - Remove Duplicates from large table
confused about forms in Visual Studio Designer
Readystate in IE in VBA program
Receive connector Permission Groups
Cannot ping Unbuntu Linux Machine Running on VMWare
anyone familur ith using the swing classes HTMLEditorKit StyleSheet and reading a external CSS