This file contains 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
/* | |
.remote-styles-example { | |
color: red; | |
} | |
*/ |
This file contains 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
// this relies heavily on Fabric.js. You'll need to add it as a resource for your external component. | |
// the URL I used was: https://cdnjs.cloudflare.com/ajax/libs/fabric.js/3.6.0/fabric.min.js | |
var self = this; | |
self.sb = null; | |
var entityLoadedSubscription = options.mediator.subscribe("entityLoaded", function (entity) { | |
self.sb = new StickerBuilder(); | |
self.sb.initialize(entity); | |
}); |
This file contains 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.Configuration; | |
using System.Linq; | |
using Telerik.Sitefinity.Abstractions; | |
using Telerik.Sitefinity.Configuration; | |
using Telerik.Sitefinity.Localization; | |
using Telerik.Sitefinity.Modules.GenericContent.Configuration; | |
using Telerik.Sitefinity.Web.Configuration; | |
namespace SitefinityWebApp.Custom.Configuration |
This file contains 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.Routing; | |
using System.Web.Security; | |
using System.Web.SessionState; | |
using Telerik.Sitefinity.Abstractions; | |
using Telerik.Sitefinity.Data; | |
using System.Web.Mvc; |
This file contains 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
<div id="treeview"></div> | |
<script> | |
$(function() { | |
var children = { | |
transport: { | |
read: function (options) { | |
var columns = []; | |
for (var key in children.schema.model.fields) { |
This file contains 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
<div id="grid2"></div> | |
<script> | |
$(function() { | |
var anotherDataSource = new kendo.data.DataSource({ | |
transport: { | |
read: function (options) { | |
var columns = []; | |
for (var key in anotherDataSource.options.schema.model.fields) { |
This file contains 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
<div id="grid1"></div> | |
<script> | |
$(function() { | |
var dataSource = new kendo.data.DataSource({ | |
serverFiltering: true, | |
serverSorting: true, | |
serverPaging: true, | |
pageSize: 2, | |
transport: { |
This file contains 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 Telerik.Sitefinity.Abstractions; | |
using Telerik.Sitefinity.Services; | |
using Telerik.Sitefinity.Web.Events; | |
using System.Web.UI.HtmlControls; | |
using Telerik.Sitefinity.Web; | |
using System.Globalization; |
This file contains 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 Telerik.OpenAccess; | |
using Telerik.Sitefinity.Services.Search.Data; | |
using Telerik.Sitefinity.Taxonomies; | |
using Telerik.Sitefinity.Taxonomies.Model; | |
using Telerik.Sitefinity.Utilities.TypeConverters; | |
using Telerik.Sitefinity.Data; |
This file contains 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 Telerik.Sitefinity.News.Model; | |
using timw255.AMP; | |
namespace SitefinityWebApp.Mvc.Models | |
{ | |
public class BlogPostDetailViewModel |
NewerOlder