Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Galina 44 posts 258 karma points
    May 15, 2014 @ 14:56
    Galina
    0

    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). 

    var props = Services.ContentService.GetById(id);

    var code= props.Template.Content;

    But I get ChildTemplate code. How can I get ParentTemplate code?

    Thank you for attention.

Please Sign in or register to post replies

Write your reply to:

Draft