Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

How to change display template on SearchBoxScriptWebPart programmatically

$
0
0

Hi there,

I have added an instance of the SearchBoxScriptWebPart on one of my publishing pages, but I haven't been able to figure out how to set the "Search box control Display Template" programmatically. The setting can be modified through the UI under"Properties for Search Box->Setting" when modifying the web part on the page, but I guess there is a way to set this programmatically as well, just like the ResultScriptWebPart when setting the ItemTemplateId property. Does anyone know how to set this?


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>