I want to redirect to some other page from startpage,based on some condition.I have pagereference of the page to which i want to redirect but I am not able to write the code which will allow me to redirect to that particular page reference?
I am using EPI 9 and MVC.
Please help me if anybody is having idea how it can be achieved?
Use UrlResolver.GetUrl to get url for content. Redirect to that url from controller.