November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Would it not just be ?
var page = DataFactory.Instange.GetPage(pageRef);
Response.Redirect(page.LinkUrl);
or
var repository = EPiServer.ServiceLocation.ServiceLocator.Current.GetInstance<IContentRepository>();
var v = repository.Get<IContent>(new ContentReference(intValue));
Response.REdirect(v.LinkURL)
So I need to know the id of the page so that I can pass that into the ContentReference constructor?
You can store this ID either in a config file, database table or store it as a property on a page type (start page normally).
I have a login form on my layout which posts to a controller that uses Membership to validate the user.
Once validated, I want to redirect them to a specific page.
How do I do this the "EPiServer Way"? I could just enter the url manually but that doesn't feel right. I also need to take into consideration which language branch the user is currently using.