Skip to main content

Posts

Showing posts from 2013

IE 9 and IE 10 Issue for Dropdown list with many items...Sharepoint 2010

Issue $(document).ready(function () {             // Country column             var _countyName = "Country";             //State Column             var _stateName = "State";             // Override the Country             OverrideDropDownList(_countyName);             //Set first value of the country as default.             updateOriginalField(_countyName, "tempDDLName_" + _countyName);             //Override for State             OverrideDropDownList(_stateName);             // Main Function             function OverrideDropDownList(columnName) {                 // Co...

Create Managed Property for Search Service Application.

Function for Create Managed property for Search Service Application. private static void CreateManagedProperty( Schema schema, string managedPropertyName, string crawledPropertyCategory, string crawledPropertyName)         {             if (!schema.AllManagedProperties.Contains(managedPropertyName))             {                              Category category = schema.AllCategories[crawledPropertyCategory];                 var crawledProps = category.QueryCrawledProperties(crawledPropertyName, 1, Guid .NewGuid(), String .Empty, true ).Cast< CrawledProperty >();   ...