
<rss version="2.0">
    <channel>
        <title>Kentico CMS for ASP.NET - DevNet - FAQs</title>
        <link><![CDATA[http://dev.kentico.com/]]></link>
        <description>Kentico CMS for ASP.NET - DevNet - FAQs</description>  
        
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/Web-parts---Controls/How-to-dynamically-change-the-number-of-results-di.aspx]]></guid>
     <title><![CDATA[How to dynamically change the number of results displayed by the UniPager]]></title>
     <description><![CDATA[Please navigate to the file \CMSWebParts\Viewers\Basic\UniPager.ascx.cs. Please change the line:<br />
<br />
<code>pagerElem.PageSize = PageSize;</code><br />
<br />
for&nbsp;the following code:<br />
<br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (CheckBox1.Checked)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pagerElem.PageSize = 1000;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pagerElem.PagedControl.PagerForceNumberOfResults = 1000;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pagerElem.PagedControl.ReBind();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pagerElem.DataBind();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pagerElem.PageSize = PageSize;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</code><br />
<br />
Now add this method to the file:<br />
<br />
<code>&nbsp;&nbsp;&nbsp; protected void CheckBox1_CheckedChanged(object sender, EventArgs e)<br />
&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SetupControl();<br />
&nbsp;&nbsp;&nbsp; }</code><br />
<br />
The last thing to do is to alter the file CMSWebParts\Viewers\Basic\UniPager.ascx&nbsp;and add the code below:<br />
<br />
<code>&lt;asp:CheckBox ID=&quot;CheckBox1&quot; runat=&quot;server&quot;<br />
&nbsp;&nbsp;&nbsp; oncheckedchanged=&quot;CheckBox1_CheckedChanged&quot;&nbsp; AutoPostBack=&quot;true&quot;&nbsp;EnableViewState=&quot;true&quot;/&gt;</code><br />
<br />
Now you&rsquo;ve added a checkbox which, when checked, will display 1000 results instead of the number set in the properties of the UniPager web part.<br />
<div style="text-align: right;">
 <em>-bp-</em></div>
]]></description>
     <pubDate>Tue, 24 Jan 2012 07:41:59 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/Web-parts---Controls/How-to-dynamically-change-the-number-of-results-di.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/General/How-to-solve-the-Invalid-image-data-Please-check-e.aspx]]></guid>
     <title><![CDATA[How to solve the "Invalid image data. Please check eventlog for more details." error message?]]></title>
     <description><![CDATA[Please make sure you have the Data Visualization Charting component installed (please use the correct .NET version):<br />
<a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=14422">http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=14422</a><br />
<br />
Additionally, please check the <code>&lt;httpHandlers&gt;</code> section in the web.config file if it contains a similar entry to the one below:<br />
<br />
<code>&lt;add path=&quot;ChartImg.axd&quot; verb=&quot;*&quot; type=&quot;System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot; validate=&quot;false&quot;/&gt;</code><br />
<div style="text-align: right;">
 <em>-bp-</em></div>
]]></description>
     <pubDate>Thu, 19 Jan 2012 08:16:42 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/General/How-to-solve-the-Invalid-image-data-Please-check-e.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/API-and-Internals/How-to-track-all-downloads-in-the-analytics-module.aspx]]></guid>
     <title><![CDATA[How to track all downloads in the analytics module]]></title>
     <description><![CDATA[A bit of customization is&nbsp;required to track all the downloaded files. The problem is that only <span style="font-family: courier new,courier,monospace;">CMS.File</span> document type downloads are tracked by default. However, you can change that by going to the file:<br />
<br />
<span style="font-family: courier new,courier,monospace;">\CMSPages\GetFile.aspx.cs</span><br />
<br />
Within this file, around line 451 there is the following condition:<br />
<br />
<span style="font-family: courier new,courier,monospace;">if (IsLiveSite &amp;&amp; (file.FileNode != null) &amp;&amp; (file.FileNode.NodeClassName.ToLower() == &quot;cms.file&quot;))</span><br />
<br />
You have to alter it to the following one so all files are logged, not only files attached to a CMS.File document:<br />
<br />
<span style="font-family: courier new,courier,monospace;">if (IsLiveSite &amp;&amp; (file.FileNode != null) )</span><br />
<br />
You can also add only your document type, it&#39;s up to you:<br />
<br />
<span style="font-family: courier new,courier,monospace;">if (IsLiveSite &amp;&amp; (file.FileNode != null) &amp;&amp; ((file.FileNode.NodeClassName.ToLower() == &quot;cms.file&quot;)) II (file.FileNode.NodeClassName.ToLower() == &quot;custom.documenttype&quot;)))</span><br />
<div style="text-align: right;">
 <em>-bp-</em></div>
]]></description>
     <pubDate>Tue, 13 Dec 2011 06:17:41 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/API-and-Internals/How-to-track-all-downloads-in-the-analytics-module.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/General/How-to-solve-Could-not-load-type-System-ServiceMod.aspx]]></guid>
     <title><![CDATA[How to solve the “Could not load type 'System.ServiceModel.Activation.HttpModule' …” error message]]></title>
     <description><![CDATA[When you encounter a&nbsp;similar issue, the&nbsp;following action may help solve the problem:<br />
Call:<br />
<span style="font-family: courier new,courier,monospace;">aspnet_regiis.exe /iru</span><br />
through the command prompt. You can find it in the folder:<br />
<span style="font-family: courier new,courier,monospace;">* %windir%\Microsoft.NET\Framework\v4.0.30319<br />
* %windir%\Microsoft.NET\Framework64\v4.0.30319</span> (64-bit machine)<br />
<br />
Additional info can be found&nbsp;under the&nbsp;links below:<br />
<a href="http://blogs.iis.net/webtopics/archive/2010/04/28/system-typeloadexception-for-system-servicemodel-activation-httpmodule-in-asp-net-4.aspx">IIS.NET blogs</a><br />
<a href="http://devonenote.com/2010/06/could-not-load-type-system-servicemodel-activation-httpmodule/">DevOneNode</a><br />
<div style="text-align: right;">
 <em>-rm-</em></div>
]]></description>
     <pubDate>Tue, 13 Dec 2011 06:03:26 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/General/How-to-solve-Could-not-load-type-System-ServiceMod.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/Upgrade/How-and-why-to-unify-UI-elements-before-the-upgrad.aspx]]></guid>
     <title><![CDATA[How and why to unify UI elements before upgrade to version 6.0?]]></title>
     <description><![CDATA[The import of UI elements was changed in version 6.0. The unique identifier of each element is its GUID. It may happen that on a site created in one of the previous versions elements exist with the same element names as in version 6.0, but with different GUIDs than they should have in version 6.0. As a result, after importing the site to version 6.0, UI elements are duplicated and not displayed correctly in the UI.<br />
To ensure this will not occur, you need to unify the UI elements&nbsp;on the older site (for example 5.5 R2) before perfoming&nbsp;its export and importing it to&nbsp;version 6.0.<br />
<br />
You can do it easily if you apply <a href="~/getattachment/FAQs/Upgrade/How-and-why-to-unify-UI-elements-before-the-upgrad/UIElementsUnification.sql">this script</a> to the 5.5 R2 database.<br />
<div style="text-align: right;">
 <em>-it-</em></div>
]]></description>
     <pubDate>Tue, 13 Dec 2011 05:41:54 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/Upgrade/How-and-why-to-unify-UI-elements-before-the-upgrad.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/installation/How-to-resolve-the-System-Web-DataVisualization-er.aspx]]></guid>
     <title><![CDATA[How to resolve the System.Web.DataVisualization error message on version 6.0?]]></title>
     <description><![CDATA[The missing assembly reference is usually caused by the missing component <strong>MSCharts</strong>. Please make sure you have it installed. Otherwise, please install it from <a href="http://www.microsoft.com/download/en/details.aspx?id=14422">here</a>.<br />
<div style="text-align: right;">
 <em>-bp-</em></div>
]]></description>
     <pubDate>Tue, 13 Dec 2011 05:38:11 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/installation/How-to-resolve-the-System-Web-DataVisualization-er.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/API-and-Internals/How-to-let-the-user-access-a-module-in-CMS-Desk-wh.aspx]]></guid>
     <title><![CDATA[How to let the user access a module in CMS Desk which is available only in CMS Site Manager?]]></title>
     <description><![CDATA[The easiest way is to create a new link to the pages in CMS Desk by defining a new UI element. In this example we will use the UI Cultures module as an example. At first, navigate to <span style="font-family: courier new,courier,monospace;">CMSModules/UICultures</span> in your project folder. Please find all the *.cs files in the subfolders and change the inheritance of the pages from <strong>SiteManagerPage</strong> to <strong>CMSModalPage.</strong> Now, create a new element in CMS Site Manager / Development / Modules / CMS Desk / User Interface. Here add a new element with the following properties:<br />
<span style="font-family: courier new,courier,monospace;">&nbsp;<br />
Display name: UI Cultures<br />
Code name: UICulturesCMSDesk<br />
Parent element: CMS Desk<br />
Elemet is custom: true<br />
Caption: UI Cultures<br />
Target URL: ~/CMSModules/UICultures/Pages/Development/UICultures_Default.aspx</span><br />
<br />
Now, when accessing CMS Desk a new UI element should be available with the caption &ldquo;UI Cultures&rdquo;.<br />
<div style="text-align: right;">
 <em>-bp-</em></div>
]]></description>
     <pubDate>Tue, 13 Dec 2011 05:16:12 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/API-and-Internals/How-to-let-the-user-access-a-module-in-CMS-Desk-wh.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/Web-parts---Controls/Why-several-Attachment-image-galleries-do-not-work.aspx]]></guid>
     <title><![CDATA[Why several Attachment image galleries do not work on one page?]]></title>
     <description><![CDATA[Regrettably, the <em>Attachment image gallery </em>contains a lightbox and more than one lightboxes on one page do not work together. You can use <em>Document attachments </em>web part instead of <em>Attachment image gallery </em>if you need more attachment web parts on one page.<br />
<br />
Version 6 include <em>Repeater with lightbox </em>and <em>Attachments with lightbox</em> which can work in several copies on one page.<br />
<div style="text-align: right"><em>-hg-</em></div>]]></description>
     <pubDate>Tue, 04 Oct 2011 08:42:02 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/Web-parts---Controls/Why-several-Attachment-image-galleries-do-not-work.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/Content-Management/Youtube-videos-are-not-being-shown-in-our-forums.aspx]]></guid>
     <title><![CDATA[YouTube videos are not shown in our forums]]></title>
     <description><![CDATA[Even if you have enabled the YouTube video button in the forum WYSIWYG editor, the video is not shown in the forum post when a user fills all the necessary data for the Youtube video in the dialog and clicks OK.<br />
The trick lies in the following setting which needs to be set on (either for the whole forum group or on a particular forum level):<br />
<br />
<strong>Enable images in posts: Advanced dialog</strong><br />
<br />
You can find it in the <strong>CMS Desk -&gt; Tools -&gt; Forums -&gt; Edit -&gt; General</strong> tab.<br />
<br />
<img src="~/getattachment/4313eaaa-7507-40e5-bd96-46a6a038c9df/forum-youtube2.png?width=618&amp;height=546" style="width: 618px; height: 546px;" alt="forum-youtube2.png" /><br />
<br />
<div style="text-align: right;"><em>-ov-</em></div>]]></description>
     <pubDate>Mon, 03 Oct 2011 02:58:07 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/Content-Management/Youtube-videos-are-not-being-shown-in-our-forums.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/Content-Management/How-to-enable-Google-analytics-to-track-PDF-downlo.aspx]]></guid>
     <title><![CDATA[How to enable Google analytics to track PDF downloads]]></title>
     <description><![CDATA[You will need to edit the ~\CMSPages\GetFile.aspx file and add your Google analytics code to this file. You should receive JavaScript code with your account number from Google. Place this code into the&nbsp;GetFile.aspx file under the first line of code. Please see the example below:<br />
<br />
<span style="font-family: Courier New;">&lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; CodeFile=&quot;GetFile.aspx.cs&quot; Inherits=&quot;CMSPages_GetFile&quot; %&gt;<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
var _gaq = _gaq || [];<br />
_gaq.push([&#39;_setAccount&#39;, &#39;&lt;YOUR ACCOUNT HERE&gt;&#39;]);<br />
_gaq.push([&#39;_trackPageview&#39;]);<br />
(function() {<br />
var ga = document.createElement(&#39;script&#39;); ga.type = &#39;text/javascript&#39;; ga.async = true;<br />
ga.src = (&#39;https:&#39; == document.location.protocol ? &#39;https://ssl&#39; : &#39;http://www&#39;) + &#39;.google-analytics.com/ga.js&#39;;<br />
var s = document.getElementsByTagName(&#39;script&#39;)[0]; s.parentNode.insertBefore(ga, s);<br />
})();<br />
&lt;/script&gt;</span><br />
]]></description>
     <pubDate>Wed, 28 Sep 2011 08:41:02 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/Content-Management/How-to-enable-Google-analytics-to-track-PDF-downlo.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/Web-parts---Controls/I-cannot-view-a-SharePoint-file.aspx]]></guid>
     <title><![CDATA[I cannot view a SharePoint file]]></title>
     <description><![CDATA[If you want to view a SharePoint file using&nbsp;the handling file:<strong> GetSharePointFile.aspx</strong>, please check the global settings in: <br />
<br />
<strong>Site manager -&gt; Settings -&gt; Microsoft SharePoint</strong><br />
<br />
The settings configured here are automatically used for authentication by the <strong>GetSharePointFile.aspx </strong>page. It is not enough to set up the credentials in the SharePoint web parts&rsquo; properties if you want to see the content of file (not to list only).<br />
<div style="text-align: right"><em>-hg-</em></div>]]></description>
     <pubDate>Tue, 27 Sep 2011 03:21:14 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/Web-parts---Controls/I-cannot-view-a-SharePoint-file.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/installation/How-to-fix-server-error--CS0111--Type--CMSModuleLo.aspx]]></guid>
     <title><![CDATA[How to fix server error “Type 'CMSModuleLoader' already defines a member called...” in Kentico 6.0 installation]]></title>
     <description><![CDATA[This issue is related to 6.0 version of Kentico CMS. It may occur if you install Kentico into the same directory in the Program Files directory, by default it is:<br />
<br />
C:\Program Files (x86)\KenticoCMS\6.0<br />
<br />
In case you have a beta version already installed in this directory, the server error &ldquo;CS0111: Type 'CMSModuleLoader' already defines a member called 'CMSModuleLoader' with the same parameter types&rdquo; is thrown. To fix it you need to remove the previous installation or select a different installation folder.<br />
<div style="text-align: right"><em>-it-</em></div>]]></description>
     <pubDate>Mon, 26 Sep 2011 02:43:06 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/installation/How-to-fix-server-error--CS0111--Type--CMSModuleLo.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/Content-Management/How-to-change-a-default-command-in-the-FCK-editor.aspx]]></guid>
     <title><![CDATA[How to change a default command in the FCK editor]]></title>
     <description><![CDATA[We will demonstrate a behavior on the Paste button inside an editable text area. <img alt="1392011_94050.jpg" style="width: 72px; height: 83px; vertical-align: top" src="~/getattachment/0831169d-8f78-4cc7-a5b4-60ab98e14e4b/1392011_94050.jpg.aspx" /><br />
<br />
If you right click on it, the Paste option is visible and Paste dialog is opened. You may need to change this default behavior and open dialog Paste as a plain text instead. <br />
<br />
In this case can insert following line into the file: <strong>~/CMSAdminControls/FCKeditor/editor/plugins/Shortcuts/fckplugin.js</strong> (or another registered script)<br />
<br />
<span style="font-family: Courier New">FCKCommands.LoadedCommands['Paste'] = new FCKPastePlainTextCommand();</span><br />
<br />
Links to other resources: <a target="_blank" href="http://devnet.kentico.com/docs/devguide/defining_custom_toolbars.htm?zoom_highlightsub=fckeditor">Custom FCK editor toolbar</a>
<div style="text-align: right"><em>-it-</em></div>
]]></description>
     <pubDate>Tue, 13 Sep 2011 02:46:04 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/Content-Management/How-to-change-a-default-command-in-the-FCK-editor.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/installation/How-to-apply-css-stylesheets-and-display-images-if.aspx]]></guid>
     <title><![CDATA[How to apply css stylesheets and display images if the site is running on IIS 7]]></title>
     <description><![CDATA[It is a common issue on IIS 7 installations because&nbsp;the&nbsp;<strong>Static Content</strong> option&nbsp;is not enabled by default. You&nbsp;need to check&nbsp;this&nbsp;Windows setting&nbsp;to apply stylesheets and display images&nbsp;which&nbsp;are&nbsp;parts of&nbsp;the application's static content. Please see this article: <a target="_blank" href="http://weblogs.asp.net/anasghanem/archive/2008/05/23/don-t-forget-to-check-quot-static-content-service-quot-in-iis7-installation.aspx">Do not forget to check static content service</a>&nbsp;for more information.
<div style="text-align: right"><em><br />
-it-</em></div>]]></description>
     <pubDate>Tue, 06 Sep 2011 06:38:49 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/installation/How-to-apply-css-stylesheets-and-display-images-if.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/Web-parts---Controls/How-to-remove-colons-from-labels-of-Custom-registr.aspx]]></guid>
     <title><![CDATA[How to remove colons from labels of Custom registration form]]></title>
     <description><![CDATA[Please <a target="_blank" href="http://devnet.kentico.com/docs/devguide/modifying_the_code_of_standard_web_parts.htm">clone</a> the Custom registration web part and add this line to the <em>SetupControl() </em>method:<br />
<br />
<span style="font-family: Courier New">formUser.BasicForm.UseColonBehindLabel = false;</span><br />
<br />
where <em>formUser</em> is ID of a form control.<br />
<div style="text-align: right"><em>-hg-</em></div>]]></description>
     <pubDate>Mon, 15 Aug 2011 03:36:57 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/Web-parts---Controls/How-to-remove-colons-from-labels-of-Custom-registr.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/General/Is-Silverlight-4-supported-.aspx]]></guid>
     <title><![CDATA[Is Silverlight 4 supported?]]></title>
     <description><![CDATA[Yes, it is supported in Kentico CMS 5.5R2. You can develop your custom Silverlight 4 application with no problem.<br />
<br />
Links to related articles: <a target="_blank" href="http://devnet.kentico.com/Blogs/Petr-Vozak/February-2009/Data-communication-in-Silverlight-2-0.aspx">Data communication in Silverlight 2.0</a> <br />
<a target="_blank" href="http://devnet.kentico.com/Blogs/Petr-Vozak/November-2008/Kentico-CMS-supports-Silverlight-2-0.aspx">Kentico CMS supports Silverlight 2.0</a>&nbsp;<br />
<div style="text-align: right"><em>-ov-</em></div>]]></description>
     <pubDate>Wed, 10 Aug 2011 02:56:15 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/General/Is-Silverlight-4-supported-.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/General/Why-WCF-Data-Services-do-not-work-on-my-Windows-7.aspx]]></guid>
     <title><![CDATA[Why WCF Data Services do not work on my Windows 7 server]]></title>
     <description><![CDATA[When you&rsquo;ve installed Windows 7 and all the appropriate IIS features, WCF (formerly known as ADO.NET Data Services) will still not be available on your box by default.<br />
<br />
You can enable it if you open up the command prompt in the&nbsp;Administrator mode and run the following command:<br />
<br />
<span style="font-family: Courier New;">c:\&gt;&quot;%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe&quot; -r</span><br />
<br />
This will map the svc file type to aspnet_isapi.dll and make IIS recognize WCF services and startup the ServiceHost for you. In other words: the svc MIME type will be registered with IIS. The parameter on the end is:<br />
<br />
<span style="font-family: Courier New;">-r</span><span style="font-family: Courier New;">: </span>Re-registers this version of WCF and updates scriptmaps at the IIS metabase root and for all scriptmaps under the root. Existing scriptmaps are upgraded to this version regardless of the original versions.<br />
<br />
And just to be sure: restart the IIS after you&rsquo;ve run this command.<br />
<br />
<br />
You can find more information here: <a href="http://www.kjetilk.com/2009/11/configure-wcf-to-run-on-windows-7.html" target="_blank">Configure WCF to run on Windows 7</a>&nbsp;&nbsp;<br />
<br />
WCF services&nbsp;may be used with Kentico CMS&nbsp;for example like: <a href="http://devnet.kentico.com/Blogs/Petr-Vozak/February-2009/Data-communication-in-Silverlight-2-0/ADO-NET-Data-Services.aspx" target="_blank">Data communication - ADO.NET Data Services</a>&nbsp;&nbsp;<br />
<div style="text-align: right;">
 <br />
 <em>-hg-</em></div>
<br />
]]></description>
     <pubDate>Wed, 10 Aug 2011 02:46:26 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/General/Why-WCF-Data-Services-do-not-work-on-my-Windows-7.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/Search/How-to-smart-search-in-custom-tables.aspx]]></guid>
     <title><![CDATA[How to smart search in custom tables]]></title>
     <description><![CDATA[The smart search is supported by default in custom tables. You need to create a smart search index in the <strong>Site Manager &ndash;&gt; Administration &ndash;&gt; Smart search &ndash;&gt; New index </strong>and finally select an <strong>Index type</strong>: <em>Custom tables</em>. To display search results you need to write a <a target="_blank" href="http://devnet.kentico.com/docs/devguide/smart_search_transformations.htm?zoom_highlightsub=smart%2Bsearch">transformation</a> which will be used by the web part displaying results.<br />
<br />
Displaying detail information about some row is a little different from showing details of some document. The page with custom table row does not exist in the content tree. Therefore you need to create a special page for this purpose. You could insert for example a <a target="_blank" href="http://devnet.kentico.com/docs/webparts/KenticoCMS_WebParts.htm#_b0bc1b0d-81de-48af-9be5-e708cc06f760">custom table repeater</a> web part to this page and from the smart search transformation pass the ItemID value (or some other ID column) to this page. Using a query macro <span style="font-family: Courier New">{?ItemID?} </span>you could set a <strong>WHERE condition </strong>property of custom table repeater web part and <span style="font-family: Courier New">ItemID={?ItemID?}</span>. This way only a&nbsp;selected row will be displayed.<br />
<br />
You can find&nbsp;more information about Smart search transformations&nbsp;here: <a target="_blank" href="http://devnet.kentico.com/docs/devguide/smart_search_transformations.htm">Smart search transformations</a>.<br />
<div style="text-align: right"><em>-it-</em></div>]]></description>
     <pubDate>Thu, 21 Jul 2011 06:22:35 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/Search/How-to-smart-search-in-custom-tables.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/API-and-Internals/What-hotfix-am-I-currently-using-.aspx]]></guid>
     <title><![CDATA[What hotfix am I currently using?]]></title>
     <description><![CDATA[In newer versions (5.5 and higher) you can simply use the query below to get the hotfix number from the database:<br />
<br />
<span style="font-family: Courier New">SELECT KeyValue, KeyName FROM CMS_SettingsKey WHERE KeyName = 'CMSHotfixVersion'</span><br />
<br />
Otherwise you will have to simply determine it by the table below:<br />
<br />
Hotfixes (build #) Hotfix version Build number<br />
<u>5.5 R2 </u><br />
5.5.31 R2 4216<br />
5.5.30 R2 4206<br />
5.5.29 R2 4202<br />
5.5.28 R2 4191<br />
5.5.27 R2 4188<br />
5.5.26 R2 4181<br />
5.5.25 R2 4175<br />
5.5.24 R2 4164<br />
5.5.23 R2 4160<br />
5.5.22 R2 4150<br />
5.5.21 R2 4147<br />
5.5.20 R2 4136<br />
5.5.19 R2 4129<br />
5.5.18 R2 4125<br />
5.5.17 R2 4115<br />
5.5.16 R2 4108<br />
5.5.15 R2 4104<br />
5.5.14 R2 4097<br />
5.5.13 R2 4090<br />
5.5.12 R2 4083<br />
5.5.11 R2 4073<br />
5.5.10 R2 4070<br />
5.5.9 R2 4059<br />
5.5.8 R2 4051<br />
5.5.7 R2 4045<br />
5.5.6 R2 4041<br />
5.5.5 R2 4031<br />
5.5.4 R2 4027<br />
5.5.3 R2 4020<br />
5.5.2 R2 4014<br />
5.5.1 R2 4006<br />
5.5 R2 final / upgrade 3996<br />
<br />
<u>5.5</u> <br />
5.5.30 3999<br />
5.5.29 3992<br />
5.5.28 3981<br />
5.5.27 3978<br />
5.5.26 3971<br />
5.5.25 3964<br />
5.5.24 3957<br />
5.5.23 3950<br />
5.5.22 3943<br />
5.5.21 3936<br />
5.5.20 3926<br />
5.5.19 3922<br />
5.5.18 3912<br />
5.5.17 3905<br />
5.5.16 3901<br />
5.5.15 3894<br />
5.5.14 3887<br />
5.5.13 3880<br />
5.5.12 3873<br />
5.5.11 3866<br />
5.5.10 3859<br />
5.5.9 3849<br />
5.5.8 3842<br />
5.5.7 3834<br />
5.5.6 3828<br />
5.5.5 3821<br />
5.5.4 3817<br />
5.5.3 3810<br />
5.5.2 3803<br />
5.5.1 3793<br />
5.5.0 final / upgrade 3789<br />
5.5.0 beta 3751<br />
<br />
<u>5.0</u> <br />
5.0.19 3784<br />
5.0.18 3778<br />
5.0.17 3771<br />
5.0.16 3765<br />
5.0.15 3758<br />
5.0.14 3742<br />
5.0.13 3733<br />
5.0.12 3733<br />
5.0.11 3722<br />
5.0.10 3715<br />
5.0.9 3708<br />
5.0.8 3702<br />
5.0.7 3693<br />
5.0.6 3688<br />
5.0.5 3681<br />
5.0.4 3677<br />
upgrade includes 5.0.3 3671<br />
5.0.3 3670<br />
5.0.2 3659<br />
5.0.1 3656<br />
5.0.0 final 3644<br />
5.0.0 beta 3630<br />
<br />
<u>4.1</u> <br />
4.1.21 3667<br />
4.1.20 3639<br />
4.1.19 3639<br />
4.1.18 3638<br />
4.1.17 3631<br />
4.1.16 3625<br />
4.1.15 3617<br />
4.1.14 3612<br />
4.1.13 3603<br />
4.1.12 3597<br />
4.1.11 3590<br />
4.1.10 3582<br />
4.1.9 3576<br />
4.1.8 3571<br />
4.1.7 3561<br />
4.1.6 3554<br />
4.1.5 3552<br />
4.1.4 3541<br />
4.1.3 3537<br />
4.1.2 3525<br />
4.1.1 3523<br />
4.1.0 3518<br />
4.1.0 pre final 3513<br />
<br />
<u>4.0</u> <br />
4.0.15 3511<br />
4.0.14 3505<br />
4.0.13 3492<br />
4.0.12 3492<br />
4.0.11 3485<br />
4.0.10 3481<br />
4.0.9 3470<br />
4.0.8 3464<br />
4.0.7 3455<br />
4.0.6 3436<br />
4.0.5 3436<br />
4.0.4 3432<br />
4.0.3 3420<br />
4.0.2 3397<br />
4.0.1 3387<br />
4.0.0 3328<br />
<div style="text-align: right"><em>-bp-</em></div>]]></description>
     <pubDate>Wed, 20 Jul 2011 05:29:29 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/API-and-Internals/What-hotfix-am-I-currently-using-.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/API-and-Internals/How-to-resolve-text-with-Localization-macros-accor.aspx]]></guid>
     <title><![CDATA[How to resolve text with Localization macros according to a specific culture]]></title>
     <description><![CDATA[You can use a code like:<br />
<br />
<span style="font-family: Courier New">string output = ResHelper.RegExLocalize.Replace(input, LocalizedStringMatch);</span><br />
<br />
where<em> input </em>is a string with localization macros.<br />
<br />
Then you need to specify<em> LocalizedStringMatch</em>, for example:<br />
<br />
<span style="font-family: Courier New">/// &lt;summary&gt;<br />
/// Match evaluator for the string localization<br />
/// &lt;/summary&gt;<br />
/// &lt;param name=&quot;m&quot;&gt;Regular expression match&lt;/param&gt;<br />
private static string LocalizedStringMatch(System.Text.RegularExpressions.Match m)<br />
{<br />
string expression = m.Groups[1].ToString();<br />
return ResHelper.GetString(expression, culture);<br />
}<br />
</span><br />
where <em>culture</em> is a global string variable which contains a culture code (i.e. &ldquo;en-US&rdquo;).<br />
<div style="text-align: right"><em>-hg-</em></div>]]></description>
     <pubDate>Tue, 19 Jul 2011 03:41:56 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/API-and-Internals/How-to-resolve-text-with-Localization-macros-accor.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/Content-Management/Hiding-the-spell-check-button.aspx]]></guid>
     <title><![CDATA[Hiding the spell check button]]></title>
     <description><![CDATA[For disabling of the spell check option please set the &quot;<strong>ShowSpellCheck</strong>&quot; property of the editmenu in the file <strong>~\CMSModules\Content\CMSDesk\Edit\EditMenu.aspx</strong> to &quot;<strong>false</strong>&quot;. This disables the button in CMSDesk. If you want to hide this button on a User Contribution, you should be able to apply the same approach on the file <strong>~\CMSModules\Content\Controls\UserContributions\EditForm.ascx</strong>.<br />
<div style="text-align: right"><em>-bp-</em></div>]]></description>
     <pubDate>Mon, 18 Jul 2011 01:51:10 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/Content-Management/Hiding-the-spell-check-button.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/Security-and-membership/Functionality-of--Remember-me--checkbox-in-logon-w.aspx]]></guid>
     <title><![CDATA[Functionality of "Remember me" checkbox in logon web part]]></title>
     <description><![CDATA[If you log in and have this checkbox ticked and you stop working at all with your pages but don't log out, this feature will be useful because next time you access the pages you won't have to log in again. It&rsquo;s something like persistent connection. It works like e.g. Google account - if you check it, you should stay logged into the system. You don't need to fill your credentials anymore (until you&nbsp;click the&nbsp;'Sign out button').<br />
<br />
Many customers think that it provides auto-filling functionality of the username and password fields so that they wouldn&rsquo;t need to enter them&nbsp;every time&nbsp;they try to login to the site. It is handled by browser itself. Please take a look at the&nbsp;below links for more details.
<div style="text-align: left"><u><strong><br />
</strong></u><strong>See also: <a href="http://support.mozilla.com/en-US/kb/Form%20autocomplete">Auto complete in Firefox</a> , <a href="http://www.computerhope.com/issues/ch000604.htm">Auto complete in Internet Explorer</a><br />
</strong></div>
<div style="text-align: right"><strong><br />
</strong><em>-it-</em></div>]]></description>
     <pubDate>Mon, 06 Jun 2011 06:21:05 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/Security-and-membership/Functionality-of--Remember-me--checkbox-in-logon-w.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/Security-and-membership/Why-do-secured-Word-and-Excel-documents-need-an-ex.aspx]]></guid>
     <title><![CDATA[Why do secured Word and Excel documents need an extra logon page?]]></title>
     <description><![CDATA[If you secure&nbsp;Word and Excel documents uploaded as CMS.File-s (they require&nbsp;authentication) and the documents contain links to other secured documents, it always displays the logon screen if you click on the links no matter if you are already logged in. In other words, if you browse through the documents via links in the document content, you need to type&nbsp;the username and password&nbsp;every time you open a new document.<br />
<br />
Microsoft Word and Excel applications&nbsp;use a special request before the standard request which should check the URL. The extra request does not include needful information for Kentico and that is why it displays the extra logon screen. <br />
<br />
Regrettably, we cannot affect the behavior of these processors. For example Outlook and PDF reader use the standard way and it works OK.<br />
<div style="text-align: right"><em>-hg-</em></div>]]></description>
     <pubDate>Mon, 06 Jun 2011 03:51:18 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/Security-and-membership/Why-do-secured-Word-and-Excel-documents-need-an-ex.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/General/Do-Cross-page-postbacks-work-with-Kentico-CMS-.aspx]]></guid>
     <title><![CDATA[Do Cross-page postbacks work with Kentico CMS?]]></title>
     <description><![CDATA[Regrettably, the Cross-page postbacks do not work with Kentico CMS. The issue is caused by .NET and arises when used both of UrlRewrite and Cross-page postbacks.<br />
<br />
<u>Workaround</u>: You can use the MultiView .NET control which can be used for the wizard-like behavior.<br />
<div style="text-align: right"><em>-hg-<br />
</em></div>]]></description>
     <pubDate>Thu, 02 Jun 2011 07:22:55 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/General/Do-Cross-page-postbacks-work-with-Kentico-CMS-.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/API-and-Internals/Can-I-use-nested-macros-for-the-(equals)-or-(not-e.aspx]]></guid>
     <title><![CDATA[Can I use nested macros for the (equals) or (not equals) macro parameter?]]></title>
     <description><![CDATA[<div>Regrettably, the nested macros are resolved too late for the condition. That is why the nested macros work for the branches of condition - (truevalue) and (falsevalue) parameters but not for the condition expression. If you want to compare two macros, please use custom macros. You can find a sample code here: <a href="http://devnet.kentico.com/docs/devguide/appendix_a___macro_expressions.htm">Macro expressions</a></div>
<div><br />
More information about nested macros can be found here: <a href="http://devnet.kentico.com/Blogs/Martin-Hejtmanek/June-2010/New-in-5-5--Macro-parameters.aspx">New in 5.5 - Macro parameters</a></div>
<div>&nbsp;</div>
<div align="right"><i>-hg-</i></div>]]></description>
     <pubDate>Thu, 02 Jun 2011 06:42:25 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/API-and-Internals/Can-I-use-nested-macros-for-the-(equals)-or-(not-e.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/API-and-Internals/How-to-set-up-a-web-part-to-be-visible-on-two-page.aspx]]></guid>
     <title><![CDATA[How to set up a web part to be visible on two pages]]></title>
     <description><![CDATA[<div>If you want to configure a web part to be visible on one page (e.g. Home), you can use a simple macro in the<em> Visible </em>web part property:<br />
&nbsp;</div>
<div><span style="font-family: Courier New">{%DocumentName|(equals)Home|(truevalue)true|(falsevalue)false%}</span></div>
<div>&nbsp;<br />
&nbsp;</div>
<div>If you want to display the web part on the Home OR News document, you would need to use a nested macro. For example:<br />
&nbsp;</div>
<div><span style="font-family: Courier New">{%DocumentName|(equals)Home|(truevalue)true|(falsevalue){(1)%DocumentName\|(equals)New\|(truevalue)true\|(falsevalue)false%(1)}%}</span></div>
<div>&nbsp;<br />
&nbsp;</div>
<div>You can also develop a custom macro instead of nesting macro expressions like: <a href="http://devnet.kentico.com/docs/devguide/appendix_a___macro_expressions.htm">Macro expressions</a></div>
<div>More information about nested macros: <a href="http://devnet.kentico.com/Blogs/Martin-Hejtmanek/June-2010/New-in-5-5--Macro-parameters.aspx">New in 5.5 - Macro parameters</a></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div align="right"><i>-hg-</i></div>]]></description>
     <pubDate>Wed, 25 May 2011 06:23:33 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/API-and-Internals/How-to-set-up-a-web-part-to-be-visible-on-two-page.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/Web-parts---Controls/How-to-use-multiple-paths-on-a-web-part-.aspx]]></guid>
     <title><![CDATA[How to use multiple paths on a web part]]></title>
     <description><![CDATA[Regrettably, web parts don't support multiple paths. However, you can mimic this behavior with a custom <strong>WHERE condition</strong> if it is available. For example, the WHERE condition could look something like this:<br />
<br />
<span style="font-family: Courier New">NodeAliasPath like '/Articles/%' OR NodeAliasPath like '/Misc/%'<br />
<br />
</span>Please don't forget to set the path property to <span style="font-family: Courier New">/%</span> to include all the documents into the query.<br />
<div style="text-align: right"><em>-bp-</em></div>]]></description>
     <pubDate>Mon, 23 May 2011 01:18:55 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/Web-parts---Controls/How-to-use-multiple-paths-on-a-web-part-.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/Search/Where-can-I-manage-the-generic-document-fields-whi.aspx]]></guid>
     <title><![CDATA[Where can I manage the generic document fields which are indexed by Smart search (i.e. Document URL path)?]]></title>
     <description><![CDATA[You can manage these generic fields in <strong>Site manager -&gt; Development -&gt; System tables -&gt; edit Ecommerce - SKU -&gt; Search fields</strong>. You can uncheck the <em>Content</em> checkboxes so that the field content is not involved in the standard search. Please do not uncheck the ID fields - they need to be <em>Searchable</em>.<br />
<div style="text-align: right"><em>-hg-</em></div>]]></description>
     <pubDate>Thu, 12 May 2011 06:28:51 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/Search/Where-can-I-manage-the-generic-document-fields-whi.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/Search/May-I-change-the-location-of-Smart-search-indexes-.aspx]]></guid>
     <title><![CDATA[May I change the location of Smart search indexes in the file system?]]></title>
     <description><![CDATA[You can change the location by the <span style="font-family: Courier New">CMSSearchIndexPath</span> key in your web.config. For example:<br />
<br />
<span style="font-family: Courier New">&lt;add key=&quot;CMSSearchIndexPath&quot; value=&quot;App_Data\MyCustomIndexes&quot; /&gt;<br />
</span>
<div style="text-align: right"><em>-hg-<br />
</em></div>]]></description>
     <pubDate>Tue, 10 May 2011 02:24:48 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/Search/May-I-change-the-location-of-Smart-search-indexes-.aspx]]></link>     
</item>
<item>
     <guid isPermaLink="true"><![CDATA[http://dev.kentico.com/FAQs/General/My-site-is-off-due-to-the-CMSRoleProvider-error--W.aspx]]></guid>
     <title><![CDATA[My site is off due to the CMSRoleProvider error. What should I do now?]]></title>
     <description><![CDATA[It is usually enough to restart the application. Since you are unable to reach the Site Manager with this error, you can do that an alternative way: by making a small change in your <b>web.config </b>file (it can be a 1 character space somewhere). Afterwards, your site will be restarted and should be up and running.<br />
<br />
Please see the following detailed error message to check if this article applies to you: <br />
<div style="text-align: left;"><span style="font-family: Courier New;">Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. <br />
<br />
Parser Error Message: Thread was being aborted.<br />
<br />
Source Error: <br />
Line 62: &lt;providers&gt;<br />
Line 63: &lt;clear /&gt;<br />
Line 64: &lt;add name=&quot;CMSRoleProvider&quot; type=&quot;CMS.MembershipProvider.CMSRoleProvider&quot; connectionStringName=&quot;CMSConnectionString&quot; applicationName=&quot;SampleApplication&quot; writeExceptionsToEventLog=&quot;false&quot; /&gt;<br />
Line 65: &lt;/providers&gt;<br />
Line 66: &lt;/roleManager&gt;<br />
<br />
</span>
<div style="text-align: right;"><em>-ov-</em></div>
</div>]]></description>
     <pubDate>Wed, 04 May 2011 05:25:00 GMT</pubDate>
     <link><![CDATA[http://dev.kentico.com/FAQs/General/My-site-is-off-due-to-the-CMSRoleProvider-error--W.aspx]]></link>     
</item>
 </channel>
</rss>

