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
SELECT | |
PageNode.title_, | |
ObjectData.caption_, | |
ObjectData.object_type, | |
PageNode.url_name_ | |
FROM | |
sf_page_node AS PageNode | |
INNER JOIN | |
sf_object_data AS ObjectData ON PageNode.content_id = ObjectData.page_id | |
WHERE |
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
<compilation targetFramework="4.7.1" numRecompilesBeforeAppRestart="2000" optimizeCompilations="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
@ECHO OFF | |
cls | |
Title IISRESET - CLEAN | |
ECHO ====================================================================== | |
ECHO Performing IIS Reset and Clean | |
ECHO ====================================================================== | |
ECHO. | |
ECHO STOPPING IIS... |
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 Telerik.Sitefinity.Frontend.Media.Mvc.Helpers | |
@using SitefinityWebApp.Mvc.Models.Image | |
@model Telerik.Sitefinity.Frontend.Media.Mvc.Models.Image.ImageViewModel | |
@{ | |
var customViewModel = Model as CustomImageViewModel; | |
bool useAdaptiveRendering = customViewModel.UseAdaptiveRendering; | |
} | |
@helper ImageTag(CustomImageViewModel customViewModel) |
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 Telerik.Sitefinity.Frontend.Mvc.Helpers; | |
<div class="form-group"> | |
<div class="checkbox"> | |
<label> | |
<input type="checkbox" ng-model="properties.UseAdaptiveRendering.PropertyValue" ng-true-value="'True'" ng-false-value="'False'" /> | |
@Html.Resource("UseAdaptiveImageRendering", "CustomImageDesignerResources") | |
</label> | |
</div> | |
<div class="text-muted">@Html.Resource("AdaptiveImageRenderingDescription", "CustomImageDesignerResources")</div> |
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
private void Bootstrapper_Bootstrapped(object sender, EventArgs e) | |
{ | |
ControllerSettingsPropertyDescriptorCustom.Install("Telerik.Sitefinity.Mvc.Proxy.MvcControllerProxy.Settings"); | |
ControllerSettingsPropertyDescriptorCustom.Install(string.Format("{0}.{1}", typeof(MvcProxyBase).FullName, "Settings")); | |
ControllerSettingsPropertyDescriptorCustom.Install(string.Format("{0}.{1}", typeof(MvcWidgetProxy).FullName, "Settings")); | |
} |
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 ControllerSettingsTypeConverterCustom : ControllerSettingsTypeConverter | |
{ | |
public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes) | |
{ | |
IDynamicMetaObjectProvider dynamicMetaObjectProvider = value as IDynamicMetaObjectProvider; | |
if (dynamicMetaObjectProvider == null) | |
{ | |
return new PropertyDescriptorCollection(new PropertyDescriptor[0]); | |
} |
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 DynamicPropertyDescriptorPreview : DynamicPropertyDescriptorCustom | |
{ | |
public DynamicPropertyDescriptorPreview(string propertyName, IControllerSettings instance) | |
: base(propertyName, instance) | |
{ | |
} | |
public override Type PropertyType | |
{ | |
get |
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 DynamicPropertyDescriptorCustom : DynamicPropertyDescriptor | |
{ | |
protected IControllerSettings Instance { get; set; } | |
protected string PropertyName { get; set; } | |
public DynamicPropertyDescriptorCustom(string propertyName, IControllerSettings instance) | |
: base(propertyName, instance) | |
{ | |
if (instance != null) | |
{ |
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 ControllerSettingsPropertyDescriptorCustom : ControllerSettingsPropertyDescriptor, IControlPropertyDescriptor | |
{ | |
public ControllerSettingsPropertyDescriptorCustom(PropertyInfo propertyInfo) | |
: base(propertyInfo) | |
{ | |
} | |
public override TypeConverter Converter | |
{ |