Click here to Skip to main content
15,913,361 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all visitors,

I have 1 controller for display list of customer and in this controller i have 1 condition and when is error such as : session is expired or conversion is not correct=> System will display other page.

Does anybody know that how i can open new page in controller?

Thanks

TONY
Posted
Comments
Jameel VM 24-Jul-13 12:13pm    
how can we identify the issue?so please post the code for better answer.
TryAndSucceed 24-Jul-13 17:11pm    
Do you want to Redirect to new View/Page?
soeun tony 4-Sep-13 23:52pm    
i want to display logout page when the code is error in controller.
Thanks
TryAndSucceed 5-Sep-13 10:40am    
Use RedirectToAction in Catch when you get an error and redirect to Error page.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900