In Episerver cms, how to find a pagetype ID on a diffrent page? [Resolved]

Posted by Nishant_Mittal under Others on 1/30/2013 | Points: 10 | Views : 2016 | Status : [Member] | Replies : 1
I have to find a page type ID of a pagetype on a diffrent page in EPiserver 6.0.




Responses

Posted by: Ranjeet_8 on: 1/30/2013 [Member] [MVP] Gold | Points: 50

Up
0
Down

Resolved
Try this,


string RefPageID = PageTypeResolver.Instance.GetPageTypeID(typeof(YourPageTypeLocation.PageTypes.YourPageTypeName)).Value.ToString(System.Globalization.CultureInfo.InvariantCulture);


Nishant_Mittal, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response