Sharepoint 2013 search pagination and refinement panel not working with anonymous access.

RajeshkannanSharepointBlog

Step1:

Open the  visual studio 2013 new project and create new visual web part .

Search1

And  just  double Click the  SearchResultPage.ascx page and  paste  the  given code  like this .

<%@ Register TagPrefix=”wssawc” Namespace=”Microsoft.SharePoint.WebControls” Assembly=”Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c” %>

<%@ Register TagPrefix=”SharePoint” Namespace=”Microsoft.SharePoint.WebControls” Assembly=”Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c” %>

<%@ Register TagPrefix=”SearchWC” Namespace=”Microsoft.Office.Server.Search.WebControls” Assembly=”Microsoft.Office.Server.Search, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c” %>

 

” RenderTemplateId=”~sitecollection/_catalogs/masterpage/Display Templates/Search/Control_SearchBox.js” EmitStyleReference=”false” ShowNavigation=”true” ChromeType=”None” runat=”server” />

Search2

After that deploy the solutions .

Now  You can Use WepartZone And Page layouts  working Fine anonymous access

View original post

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s