Category: Sitecore

How To Get “Near By Me” Location Using Sitecore Search?

Dear Sitecorians, to provide better experience to your website users sometimes you are asked implement a feature such as StoesNearByMe, EventsNearByMe or JobsNearByMe in your Sitecore solution. In such scenarios, basically you need two information: 1) User’s location (e.g latitude and longitude) 2) Search all stores, events or jobs near to user’s location. We have already …

How to Set Persona/Pattern Card Programmatically in Sitecore?

Recently came across a very interesting requirement of analyzing user’s pattern based on search action performed by user on the site. Every webiste has one common functionality implemented – site search. Here you can hook your code to understand user’s pattern by observing the keywords user is searching. For example: whenever user search terms like software, programming or computer …

Is Dropdown Postback Not Working in Sitecore?

Wondering why your page is not getting postback when you select any dropdown item even-though you have set AutoPostback property to true? If so, then it can be fixed by adding below configuration in your web.config file under    <typesThatShouldNotBeExpanded> section. System.Web.UI.WebControls.Repeater System.Web.UI.WebControls.DataList System.Web.UI.WebControls.GridView System.Web.UI.WebControls.ListView System.Web.UI.WebControls.FormView Microsoft.Reporting.WebForms.ReportViewer Telerik.Web.UI.RadGrid System.Web.UI.WebControls.LoginView System.Web.UI.WebControls.DropDownList