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
define([ | |
"dojo/_base/declare", | |
"dojo/_base/lang", | |
"dojo/dom-style", | |
"dojo/dom-construct", | |
"dojo/keys", | |
"dojo/on", | |
"epi/shell/widget/DateTimeSelectorDropDown" | |
], | |
function( |
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
define([ | |
"dojo/_base/array", | |
"dojo/_base/connect", | |
"dojo/_base/declare", | |
"dojo/_base/lang", | |
"dojo/query", | |
"dojo/dom-class", | |
"dojo/on", | |
"dojo/dom", | |
"dijit/popup", |
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 EPiServer.Cms.Shell.UI.UIDescriptors.ViewConfigurations; | |
using EPiServer.ServiceLocation; | |
using EPiServer.Shell; | |
using EpiServerThumbnail.Models.Pages; | |
namespace EpiServerThumbnail.Business.EditorDescriptors | |
{ | |
[UIDescriptorRegistration] | |
public class ProdcutDetailsUiDescriptor : UIDescriptor<ProductPage> | |
{ |
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 EPiServer.Shell; | |
using EPiServer.Shell.ObjectEditing; | |
using EPiServer.Shell.ObjectEditing.EditorDescriptors; | |
namespace EpiServerThumbnail.Business.EditorDescriptors | |
{ | |
[EditorDescriptorRegistration(TargetType = typeof (bool), UIHint = UiHint)] | |
[EditorDescriptorRegistration(TargetType = typeof(bool?), UIHint = UiHint)] |
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.Data; | |
using System.Data.Common; | |
using System.Data.Sql; | |
using System.Data.SqlClient; | |
using System.Reflection; | |
using System.Security; | |
using System.Security.Permissions; | |
namespace CustomSqlProvider | |
{ |
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
public class ExtendedContentReferenceSelctorAttribute : Attribute, IMetadataAware | |
{ | |
public void OnMetadataCreated(ModelMetadata metadata) | |
{ | |
((ExtendedMetadata)metadata).ClientEditingClass = "alloy.editors.extendedContentSelector"; | |
} | |
} |
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
define([ | |
"dojo", | |
"dojo/_base/declare", | |
"epi/_Module", | |
"dojo/topic" | |
], function( | |
dojo, | |
declare, | |
_Module, | |
topic |
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
[EditorDescriptorRegistration(TargetType = typeof(ContentArea), UIHint = UIHint)] | |
public class NoPreviewContentAreaEditorDescriptor : EditorDescriptor | |
{ | |
public const string UIHint = "NoPreviewContentArea"; | |
public NoPreviewContentAreaEditorDescriptor() | |
{ | |
this.ClientEditingClass = "alloy.editors.contentAreaWithNoOptions"; | |
} |
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
[SiteContentType(GUID = "263B8330-791D-4A5E-BAE4-E7B59F93D3FB")] | |
public class ArticleWithSlider: ArticlePage | |
{ | |
[UIHint(MultipleReferencesEditorWithPreviewDescriptor.UiHint)] | |
[Display(GroupName = SystemTabNames.Content, Name = "Carousel", Order = 100)] | |
public virtual IList<ContentReference> ContentReferencesCollection { get; set; } | |
} |
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 EPiServer.Core; | |
using EPiServer.ServiceLocation; | |
using EPiServer.Shell; | |
namespace ExtendingCompareVersion.Business.ViewConfiguration | |
{ | |
[ServiceConfiguration(typeof(EPiServer.Shell.ViewConfiguration))] | |
public class CompareWithMarkup : ViewConfiguration<IContentData> | |
{ | |
public CompareWithMarkup() |
OlderNewer