Thursday, 13 August 2015

How can I ensure the rendering Properties is always opened when I add rendering to Item

The "Open Properties After Add" field allows you to choose if the component properties (datasource, caching, params etc.) windows will be opened automatically when a content editor adds a sublayout to a page. It has values of "Default", "Yes" and "No".

How Can I export Mime Types from One machine to other Machine

 The Mime type are stored on below files.. Copy Paste from one machine to other may help



Wednesday, 12 August 2015

Viewstate uses which classes in order to save control state

Manages the view state of ASP.NET server controls, including pages. This class cannot be inherited.


Is duration compulsary in OutputCache

If you will not pass you will get Run time parser error..
 [OutputCache( VaryByParam = "None")]
Will Throw run time error... 

Tuesday, 11 August 2015

How to disable Indexing in sitecore

<setting name="Indexing.Enabled" value="false" />

Sitecore.Configuration.Settings.Indexing.Enabled = false;
This is used in sitecore as
            public static bool Enabled
                    return Settings.Indexing.enabled;
                    Settings.Indexing.enabled = value;
    // How to pause indexing in Sitecore 7.0 Update-1 (rev130810) and later
    // Do a lot of item updates
    // Enable indexing again. Might be a good idea to also rebuild all indexes.

Thursday, 6 August 2015

Image compression using Dianoga

I installed using Nuget

PM> Install-Package Dianoga