This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Pass "IE=9", "IE=10" etc. | |
| function DetectIE11AndRenderUACompat(mode) | |
| { | |
| var rv = -1; | |
| if (navigator.appName == 'Microsoft Internet Explorer') { | |
| var ua = navigator.userAgent; | |
| var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); | |
| if (re.exec(ua) != null) | |
| rv = parseFloat(RegExp.$1); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (window.matchMedia("screen and (-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5)").matches) { | |
| } else { | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Web; | |
| using System.Web.UI; | |
| using System.Web.UI.WebControls; | |
| using Telerik.Sitefinity; | |
| using Telerik.Sitefinity.Model; | |
| using Telerik.Sitefinity.DynamicModules; | |
| using Telerik.Sitefinity.Data.Linq.Dynamic; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function filterList(item) { | |
| var filter = $(item).text().toLowerCase().trim(); | |
| var dataSource = new kendo.data.DataSource({ | |
| transport: { | |
| read: { | |
| url: "/finished-work/getall/", | |
| dataType: "json", | |
| cache: true | |
| } | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CountryElement country = Config.Get<LocationsConfig>().Countries.Values.FirstOrDefault(c => c.IsoCode == countryCode.ToUpper()); | |
| List<SelectListItem> statesList = new List<SelectListItem>(); | |
| if (country != null) | |
| { | |
| foreach (StateProvinceElement state in country.StatesProvinces) | |
| { | |
| statesList.Add(new SelectListItem() | |
| { | |
| Text = state.Name, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Linq; | |
| using System.Text.RegularExpressions; | |
| using Telerik.Sitefinity.GenericContent.Model; | |
| using Telerik.Sitefinity.Libraries.Model; | |
| using Telerik.Sitefinity.Lifecycle; | |
| namespace Aptera.Sitefinity.Decorators | |
| { | |
| public class DocumentsDecorator : LifecycleDecorator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Web; | |
| using System.Web.Security; | |
| using System.Web.SessionState; | |
| using System.Web.Routing; | |
| using System.Web.Http; | |
| using Telerik.Sitefinity.Abstractions; | |
| using Telerik.Sitefinity.Data; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Aptera.Sitefinity.Models; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Web.Http; | |
| using System.Web.Http.OData; | |
| using Telerik.Sitefinity.DynamicModules; | |
| using Telerik.Sitefinity.Utilities.TypeConverters; | |
| using Telerik.Sitefinity.Model; | |
| using Telerik.Sitefinity.GenericContent.Model; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections.Generic; | |
| using Telerik.Sitefinity.Cloud.WindowsAzure; | |
| using Telerik.Sitefinity.Configuration; | |
| using Telerik.Sitefinity.Services; | |
| namespace SitefinityWebApp | |
| { | |
| /// <summary> | |
| /// Sitefinity's Windows Azure role entry point. | |
| /// </summary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using SitefinityWebApp.Custom; | |
| using System; | |
| using System.Linq; | |
| using System.Web.Http; | |
| using System.Web.Routing; | |
| using Telerik.Sitefinity.Abstractions; | |
| using Telerik.Sitefinity.Configuration; | |
| using Telerik.Sitefinity.Data; | |
| using System.Web.Http.OData.Builder; | |
| using Aptera.Sitefinity.Model; |
OlderNewer