More in this section
Forums / General Discussions / Sitefinity Routing Ability

Sitefinity Routing Ability

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. joe jeanjaquet
    joe jeanjaquet avatar
    2 posts
    17 May 2010
    17 May 2010
    Link to this post
    I'm new to Sitefinity, and our IT staff has been posed a question that I don't know the answer to.  We want to create two separate styles for our new site, and would like to test to see which performs better.  Our ultimate goal is to serve a different style every other unique visitor.  Is there anything that Sitefinity already has that can act as our traffic cop?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    18 May 2010
    Link to this post
    Hello joe jeanjaquet,

    It depends on whether you want to switch the whole page theme or you want to change the css of a given control.

    • For changing the whole theme depending on the current user you need to create a custom class that inherits from InternalPage and override GetTheme where you could check the currently logged in user and set the theme
    • For changing the style of a given control you need to set some publicly exposed property that gets/sets Css or Skin.

    Best wishes,
    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