I have 2 templates in my webforms site: ParentTemplate and ChildTemplate (which masterTemplate=ParentTemplate). I'm trying to get server code page (masterTemplate=ChildTemplate).
var props = Services.ContentService.GetById(id);
var code= props.Template.Content;
But I get ChildTemplate code. How can I get ParentTemplate code?
Get MasterTemplate code?
Hello.
I have 2 templates in my webforms site: ParentTemplate and ChildTemplate (which masterTemplate=ParentTemplate). I'm trying to get server code page (masterTemplate=ChildTemplate).
But I get ChildTemplate code. How can I get ParentTemplate code?
Thank you for attention.
is working on a reply...