Try Now
More in this section

Forums / Suggestions / custom page controlAdapter

custom page controlAdapter

2 posts, 0 answered
  1. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    18 Jul 2012
    05 Jan 2009
    Link to this post
    I discovered this page controlAdapter: http://www.manuelabadia.com/blog/PermaLink,guid,7924eaf8-b406-43af-9444-b816f6dfa246.aspx which moves the hidden viewstate input field from the top of the page to the bottom for a more search-engine friendly page. Can anyone from the sitefinity team tell me if this adapter will interfere with sitefinity in any way?
  2. Parvan
    Parvan avatar
    151 posts
    24 Sep 2012
    06 Jan 2009
    Link to this post
    Hi SelArom,

    There is no problem to use this adapter with Sitefinity.

    Here are the steps to accomplish this:
    1.Put SEOFriendlyViewStatePageAdapter.cs and ViewStateForSEOPageStatePersister.cs files in App_Code folder of your web site.
    2.Add this line in file [your web site]/App_Browsers/BrowserFile.browser :
    <browser refID="Default">  
          <adapter controlType="System.Web.UI.HtmlControls.HtmlForm" adapterType="Telerik.Cms.Web.FormAdapter, Telerik.Cms" /> 
          <adapter controlType="System.Web.UI.WebControls.RadioButtonList" adapterType="Telerik.Cms.Web.UI.Adapters.RadioButtonListAdapter" /> 
          <adapter controlType="System.Web.UI.WebControls.HyperLink" adapterType="CustomAdapters.CustomHyperlinkAdapter,App_Code" /> 
          <adapter controlType="System.Web.UI.Page" adapterType="Manu.Web.Adapters.SEOFriendlyViewStatePageAdapter, App_Code" /> 

    We hope this helps you.

    All the best,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered