Try Now
More in this section

Forums / Developing with Sitefinity / Access to page header fields.

Access to page header fields.

2 posts, 0 answered
  1. Ian
    Ian avatar
    6 posts
    08 Jun 2009
    19 Nov 2010
    Link to this post
    In Sitefinity there are properties for CMS pages that allow you to set page title, meta keywords etc statically. I have a user control that is baked into the master page that needs to override the static values for meta keywords based on query string arguments. Is there an object in the Sitefinity API or some other method that will allow me to get at this and change it dynamically?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    19 Oct 2016
    21 Nov 2010
    Link to this post
    Hi Ian,

    You can create a custom class that inherits from InternalPage and override its virtual methods like SetTitle where you can inject your code.

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered