
<rss version="2.0">
    <channel>
        <title>Kentico CMS for ASP.NET - DevNet - FAQs</title>
        <link><![CDATA[http://devnet.kentico.com/]]></link>
        <description>Kentico CMS for ASP.NET - DevNet - FAQs</description>  
        <item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/Content-Management/Enable-the-Spell-Check-As-You-Type-feature-by-defa.aspx]]></guid>
     <title><![CDATA[Enable the Spell Check As You Type feature by default, when using the CK Editor]]></title>
     <description><![CDATA[<div>
 Edit the file ~\CMSAdminControls\CKeditor\config.js and add the following code: <strong>config.scayt_autoStartup = true;</strong> directly above the config.toolbar code for the toolbar you are using.&nbsp; Please see the example below:<br />
 &nbsp;<br />
 &nbsp;&nbsp;&nbsp; <strong>config.scayt_autoStartup = true;</strong><br />
 &nbsp;&nbsp;&nbsp; config.toolbar_Full = config.toolbar_Default =<br />
 &nbsp;&nbsp;&nbsp; [<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&#39;Source&#39;, &#39;-&#39;],<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&#39;Cut&#39;, &#39;Copy&#39;, &#39;Paste&#39;, &#39;PasteText&#39;, &#39;PasteFromWord&#39;, &#39;SpellChecker&#39;, &#39;Scayt&#39;, &#39;-&#39;],<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&#39;Undo&#39;, &#39;Redo&#39;, &#39;Find&#39;, &#39;Replace&#39;, &#39;RemoveFormat&#39;, &#39;-&#39;],<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&#39;Bold&#39;, &#39;Italic&#39;, &#39;Underline&#39;, &#39;Strike&#39;, &#39;Subscript&#39;, &#39;Superscript&#39;, &#39;-&#39;],<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&#39;NumberedList&#39;, &#39;BulletedList&#39;, &#39;Outdent&#39;, &#39;Indent&#39;, &#39;Blockquote&#39;, &#39;CreateDiv&#39;, &#39;-&#39;],<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&#39;JustifyLeft&#39;, &#39;JustifyCenter&#39;, &#39;JustifyRight&#39;, &#39;JustifyBlock&#39;, &#39;-&#39;],<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&#39;InsertLink&#39;, &#39;Unlink&#39;, &#39;Anchor&#39;, &#39;-&#39;],<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&#39;InsertImageOrMedia&#39;, &#39;QuicklyInsertImage&#39;, &#39;Table&#39;, &#39;HorizontalRule&#39;, &#39;SpecialChar&#39;, &#39;-&#39;],<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&#39;InsertForms&#39;, &#39;InsertInlineControls&#39;, &#39;InsertPolls&#39;, &#39;InsertRating&#39;, &#39;InsertYouTubeVideo&#39;, &#39;InsertWidget&#39;],<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#39;/&#39;,<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&#39;Styles&#39;, &#39;Format&#39;, &#39;Font&#39;, &#39;FontSize&#39;],<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&#39;TextColor&#39;, &#39;BGColor&#39;, &#39;-&#39;],<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&#39;Maximize&#39;, &#39;ShowBlocks&#39;]<br />
 &nbsp;&nbsp;&nbsp; ];<br />
 &nbsp;<br />
 &nbsp;</div>
<div style="text-align: right">
 <em>-eh-</em></div>
]]></description>
     <pubDate>Mon, 14 May 2012 07:19:42 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/Content-Management/Enable-the-Spell-Check-As-You-Type-feature-by-defa.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/Web-parts---Controls/How-to-make-navigation-web-parts-display-a-custom.aspx]]></guid>
     <title><![CDATA[How to make navigation web parts display a custom field]]></title>
     <description><![CDATA[<div>
 The Site map web part, as well as other navigation web parts, display the <strong>DocumentMenuCaption</strong> field. If it is empty, the <strong>DocumentName</strong> is displayed instead. If you need to let users define the caption on the Form tab, you can simply add a new system attribute to the document type in question which would represent the <strong>DocumentMenuCaption</strong>. This way, all navigation web parts would display the value of the custom system field.<br />
 <br />
 There might be times when you want one navigation web part to display a different field&nbsp;from other navigation web parts. Let&#39;s say that you have created a document type field <strong>SiteMapTitle</strong> that you want to display using the Site map web part, while other navigation web parts should display the standard <strong>DocumentMenuCaption</strong> field.<br />
 <br />
 If this is your scenario, you can modify the <strong>OnPreRender</strong> method of the Site map web part and change the <strong>DocumentMenuCaption</strong> column for each row in the DataSet so that it contain a value of the <strong>SiteMapTitle</strong> field:<br />
 <br />
 <div class="code">
  if (this.smElem.DataSource is DataSet)<br />
  {<br />
  &nbsp; DataSet ds = this.smElem.DataSource;<br />
  &nbsp; foreach (DataRow row in ds.Tables[0].Rows)<br />
  &nbsp; {<br />
  &nbsp;&nbsp;&nbsp; row[&quot;DocumentMenuCaption&quot;] = row[&quot;SiteMapTitle&quot;];<br />
  &nbsp; }<br />
  }</div>
 <br />
 <div style="text-align: right">
  <em>-ml-</em></div>
</div>
]]></description>
     <pubDate>Wed, 09 May 2012 07:53:28 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/Web-parts---Controls/How-to-make-navigation-web-parts-display-a-custom.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/E-commerce/How-can-I-extend-a-shopping-cart’s-content-table.aspx]]></guid>
     <title><![CDATA[How can I extend a shopping cart’s content table?]]></title>
     <description><![CDATA[<div>
 Kentico CMS provides a new customization model that allows you to modify each available provider very easily. For example, if you need to&nbsp;extend the shopping cart&#39;s content table and include a custom field that you have defined in the Site manager -&gt; Development -&gt; System tables&nbsp;-&gt; edit COM_SKU table, all you need to do is to override the <strong>CreateContentTableInternal</strong> and <strong>CreateContentRowInternal</strong> methods of the&nbsp;<strong>ShoppingCartInfoProvider</strong> class.<br />
 <br />
 First, you need to call their base versions and then modify the returned <strong>DataTable</strong> (in the&nbsp;<strong>CreateContentTableInternal</strong> ) and <strong>DataRow</strong> (in the <strong>CreateContentRowInternal</strong>) as&nbsp;is demonstrated here:<br />
 <br />
 <div class="code">
  protected override DataTable CreateContentTableInternal()<br />
  {<br />
  DataTable dt = base.CreateContentTableInternal();<br />
  dt.Columns.Add(new DataColumn(&quot;&lt;column name&gt;&quot;, typeof(&lt;type&gt;)));<br />
  return dt;<br />
  }<br />
  <br />
  protected override DataRow CreateContentRowInternal(ShoppingCartItemInfo item, DataTable table)<br />
  {<br />
  DataRow row = base.CreateContentRowInternal(item, table);<br />
  row[&quot;&lt;column name&gt;&quot;] = item.SKUObj.GetValue(&quot;&lt;SKU field name&gt;&quot;);<br />
  return row;<br />
  }</div>
 <br />
 <br />
 Then&nbsp;you can, for example, reference the custom field in the transformation, applied to the content table, by doing this:&nbsp;<br />
 <br />
 <div class="code">
  {% ContentTable.ApplyTransform(String transformationName, String contentBeforeTransformationName, String contentAfterTransformationName) #% }</div>
 <br />
 <br />
 <strong>Links to other resources: </strong><a href="http://devnet.kentico.com/Blogs/Petr-Vozak/October-2011/E-commerce-6--New-customization-model.aspx"><strong>E-commerce 6: New customization model</strong></a><strong>, </strong><a href="http://devnet.kentico.com/docs/devguide/transformations_macro_expressions.htm"><strong>Transformations in macro expressions</strong></a><br />
 &nbsp;</div>
<div style="text-align: right">
 <em>-ml-</em></div>
]]></description>
     <pubDate>Thu, 03 May 2012 08:53:54 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/E-commerce/How-can-I-extend-a-shopping-cart’s-content-table.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/E-commerce/How-do-I-make-the-discount-coupon-information-visi.aspx]]></guid>
     <title><![CDATA[How do I make the discount coupon information visible on the invoice?]]></title>
     <description><![CDATA[<div>
 You can use a&nbsp;macro expression. The field names originate from the <em>DiscountCoupon</em> class (database table <em>COM_DiscountCoupon</em>).<br />
 <br />
 Usage in the invoice template,&nbsp;therefore, would be:<br />
 <br />
 <strong>{% DiscountCoupon.DiscountCouponCode #% }</strong>&nbsp;<br />
 <br />
 for the coupon code, and in a similar way for getting other fields:<br />
 <br />
 <strong>DiscountCouponDisplayName</strong> (probably the most informative), <strong>DiscountCouponValue</strong>, etc...<br />
 &nbsp;</div>
<div style="text-align: right">
 <em>-zc-</em></div>
]]></description>
     <pubDate>Thu, 03 May 2012 08:31:06 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/E-commerce/How-do-I-make-the-discount-coupon-information-visi.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/General/How-can-I-rename-an-existing-custom-table.aspx]]></guid>
     <title><![CDATA[How can I rename an existing custom table?]]></title>
     <description><![CDATA[To change customtable.oldname to customtable.newname:<br />
&nbsp;<br />
First, rename the table using SQL Server Management Studio from &ldquo;customtable_oldname&rdquo; to &ldquo;customtable_newname&rdquo;.<br />
&nbsp;<br />
Then, edit the custom table from <strong>Site Manager -&gt; Development -&gt; Custom Tables </strong>and change the display name and the second part of the code name to newname.<br />
&nbsp;<br />
Next, run the following SQL statement against your Kentico database:<br />
&nbsp;<br />
<div class="code">
 UPDATE [CMS_Class]<br />
 SET [ClassTableName] = &#39;customtable_newname&#39;<br />
 WHERE [ClassTableName] = &#39;customtable_oldname&#39;<br />
 GO</div>
<br />
&nbsp;<br />
Finally, edit the table from the Site Manager again and switch to the Queries tab. Update all of the queries to refer to the new table name.<br />
&nbsp;
<div style="text-align: right">
 <em>-ag-</em></div>
]]></description>
     <pubDate>Wed, 02 May 2012 08:19:25 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/General/How-can-I-rename-an-existing-custom-table.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/Content-Management/How-to-make-the-Default-text-property-of-an-Editab.aspx]]></guid>
     <title><![CDATA[How to make the Default text property of an Editable text web part editable on a Page tab]]></title>
     <description><![CDATA[If you want to display the content you have entered in the<strong> Default text</strong> property of your <strong>Editable text</strong> web part to an editor&rsquo;s field to make it editable on a Page tab, please open the <strong>~\CMSWebParts\Text\editabletext.ascx.cs</strong> file and update the code as it is shown below. The code is located around the line 711 in the <strong>LoadContent() </strong>method:<br />
<br />
<div class="code">
	&hellip;<br />
	case CMSEditableRegionTypeEnum.HtmlEditor:<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // HTML editor<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ((forceReload || (!RequestHelper.IsPostBack()) || (viewMode != ViewModeEnum.Edit)) &amp;&amp; (this.htmlValue != null))<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (content == &quot;&quot;) this.htmlValue.ResolvedValue = DefaultText;<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else this.htmlValue.ResolvedValue = content;<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<br />
	&hellip;</div>
<br />
<div style="text-align: right;">
	<em>-jh-</em></div>
]]></description>
     <pubDate>Thu, 26 Apr 2012 06:35:54 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/Content-Management/How-to-make-the-Default-text-property-of-an-Editab.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/Blogs/How-to-display-URLs-of-blog-comments-in-the-CMS-De.aspx]]></guid>
     <title><![CDATA[How to display URLs of blog comments in the CMS Desk]]></title>
     <description><![CDATA[<div>
 If you want to display the URL address of a blog post which is related to a comment in <strong>CMS Desk -&gt; My desk -&gt; Blogs -&gt; Comments</strong>, please open the <strong>~\CMSModules\Blogs\Tools\Comments_List.xml </strong>file and add an extra column into it:<br />
 <br />
 <div class="code">
  &lt;column source=&quot;CommentPostDocumentID&quot; externalsourcename=&quot;PostDocument&quot; caption=&quot;$general.url$&quot; wrap=&quot;false&quot;&gt;<br />
  &lt;/column&gt;</div>
 <br />
 <br />
 The comment grid is now prepared to show URLs, but you need to fill that new column&nbsp;with the correct data, so please edit the <strong>~\CMSModules\Blogs\Controls\Blogs_Comments.ascx.cs </strong>file and update the line 233:<br />
 <br />
 <div class="code">
  gridComments.Columns = &quot;CommentID, CommentDate, CommentApproved, CommentUserName, CommentText, CommentIsSpam, CommentPostDocumentID&quot;;</div>
 <br />
 <br />
 Finally you can get a document&rsquo;s URL from its ID by adding an extra case into the <strong>gridComments_OnExternalDataBound()</strong> method in the same file:<br />
 <br />
 <div class="code">
  case &quot;postdocument&quot;:<br />
  return CMS.CMSHelper.CMSContext.GetDocumentUrl(ValidationHelper.GetInteger(parameter, 0));</div>
</div>
<div style="text-align: right">
 <em>-jh-</em></div>
]]></description>
     <pubDate>Thu, 26 Apr 2012 06:07:55 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/Blogs/How-to-display-URLs-of-blog-comments-in-the-CMS-De.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/General/Is-it-possible-to-delete-license-keys-on-the-Clien.aspx]]></guid>
     <title><![CDATA[Is it possible to delete license keys on the Client portal?]]></title>
     <description><![CDATA[<div>
 Currently, you cannot delete license keys directly, but you can archive them instead. There is a <strong>Archive</strong> button in the <strong>Actions</strong> column, which can be used for this purpose. When a license key is archived, is not shown in the list anymore. However, you can still display them if you want, using the <strong>Show archived keys </strong>checkbox. Furthermore, you can always <strong>Unarchive</strong> it, which is the advantage of archiving when compared to deleting.<br />
 <br />
 Particular options can be seen here:<br />
 <br />
 <a href="~/getattachment/ad008d24-6dce-4f05-b15d-d57b63a69cbc/Is-it-possible-to-delete-license-keys-on-the-Client-portal.png" target="_blank"><img alt="" src="~/getattachment/ad008d24-6dce-4f05-b15d-d57b63a69cbc/Is-it-possible-to-delete-license-keys-on-the-Client-portal.png?width=620&amp;height=262" style="width: 620px; height: 262px" /></a><br />
 &nbsp;</div>
<div style="text-align: right">
 <em>-rm-</em></div>
]]></description>
     <pubDate>Tue, 24 Apr 2012 06:27:39 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/General/Is-it-possible-to-delete-license-keys-on-the-Clien.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/Content-Management/What-kinds-of-transformations-can-I-use-for-ApplyT.aspx]]></guid>
     <title><![CDATA[What kinds of transformations can I use for ApplyTransformation?]]></title>
     <description><![CDATA[<div>
 K# syntax allows you to apply&nbsp;&nbsp;transformations in macros. See here: <a href="http://devnet.kentico.com/docs/6_0/devguide/transformations_macro_expressions.htm">Transformations macro expressions</a> for more details.<br />
 <br />
 However, the <strong>ApplyTransformation</strong> method does not work with all kinds of transformations. <strong>Text/XML </strong>and <strong>HTML</strong> type of transformations are supported. Others,&nbsp;regrettably, are not.<br />
 &nbsp;</div>
<div style="text-align: right">
 <em>-hg-</em></div>
]]></description>
     <pubDate>Mon, 23 Apr 2012 08:30:56 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/Content-Management/What-kinds-of-transformations-can-I-use-for-ApplyT.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/E-commerce/How-to-filter-products-without-image.aspx]]></guid>
     <title><![CDATA[How to filter products without images]]></title>
     <description><![CDATA[<div>
 You may need to display only products with images in a smart search result web part. To achieve this goal you need to follow these steps:<br />
 <ol>
  <li>
   In the <strong><em>Site Manager &ndash;&gt; Development &ndash;&gt; System tables -&gt;</em></strong> select <strong>Edit</strong> for <strong>table Ecommerce &ndash; SKU</strong> and go to the <strong>Search fields </strong>tab. Among these fields find <strong>SKUImagePath</strong> and check boxes <strong>Tokenized</strong> and <strong>Searchable</strong>. Do not forget to click on the OK button to confirm this change</li>
  <li>
   As always, if some field definition is changed, you need to rebuild the index. Go to the <strong>Site Manager &ndash; Administration &ndash; Smart search</strong> and <strong>Rebuild the index</strong>. You need to make sure that <strong>Analyzer</strong> for this index is set to <strong>Simple</strong>.</li>
  <li>
   Now you just need to configure the Search condition property in your smart search result web part. Its value should be: <strong>+SKUImagePath:getmetafile</strong></li>
 </ol>
 <strong>Links to other resources: </strong><a href="http://devnet.kentico.com/docs/devguide/smart_search_filter.htm">Using the smart search filter</a>
 <div style="text-align: right">
  <em>-it-</em></div>
</div>
]]></description>
     <pubDate>Tue, 10 Apr 2012 01:40:57 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/E-commerce/How-to-filter-products-without-image.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/Web-parts---Controls/Why-does-my-control-inserted-in-the-root-not-fire.aspx]]></guid>
     <title><![CDATA[Why does my control inserted in the root not fire postback?]]></title>
     <description><![CDATA[<div>
 This is typical for IIS 7 version and form controls which should do the postback.&nbsp;The solution is simple: you need to add/modify the following code to your web.config file:<br />
 <br />
 <div class="code">
  &lt;system.webServer&gt;<br />
  &nbsp; &nbsp;...<br />
  &lt;httpErrors existingResponse=&quot;PassThrough&quot; /&gt;<br />
  &lt;modules runAllManagedModulesForAllRequests=&quot;true&quot;&gt; &nbsp;<br />
  ...<br />
  &lt;/system.webServer&gt;</div>
 <br />
 <br />
 <strong>Links to other resources: </strong><a href="http://devnet.kentico.com/docs/devguide/custom_url_extensions_iis7.htm">IIS 7 configuration</a>
 <div style="text-align: right">
  <em>-it-</em></div>
</div>
]]></description>
     <pubDate>Tue, 10 Apr 2012 01:35:15 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/Web-parts---Controls/Why-does-my-control-inserted-in-the-root-not-fire.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/Web-parts---Controls/Why-my-custom-filter-does-not-work-in-aspx-templat.aspx]]></guid>
     <title><![CDATA[Why does my custom filter not work in aspx templates?]]></title>
     <description><![CDATA[<div>
 If you are using aspx templates, it might happen that the custom filter does not work as you are used to in the portal engine and your data&nbsp;is not filtered.&nbsp;<br />
 <br />
 <div class="code">
  &lt;%@ Register Src=&quot;~/CustomFilters/CustomFilter.ascx&quot; TagName=&quot;Customfilter&quot; TagPrefix=&quot;cms&quot; %&gt;<br />
  &lt;cms:Customfilter runat=&quot;server&quot; ID=&quot;filter&quot; FilterName=&quot;filtername&quot; /&gt;<br />
  &lt;cms:CustomTableDataSource runat=&quot;server&quot; ID=&quot;datasource&quot; SourceFilterName=&quot;filtername&quot; CustomTable=&quot;.....&quot; /&gt;<br />
  &lt;cms:CMSRepeater runat=&quot;server&quot; ID=&quot;repeater&quot; ... &gt;&lt;/cms:CMSRepeater&gt;</div>
 <br />
 If this is your case, you will need to register the OnFilterChanged handler of the filter in the Page_Load method:<br />
 <br />
 <div class="code">
  protected void Page_Load(object sender, EventArgs e)<br />
  {<br />
  &nbsp; filter.OnFilterChanged += new CMS.Controls.ActionEventHandler(filter_OnFilterChanged);<br />
  &nbsp; repeater.DataSource = datasource.DataSource;<br />
  &nbsp; repeater.DataBind();<br />
  }</div>
 <br />
 and within the handler, bind the repeater control with the datasource as demonstrated here:<br />
 <br />
 <div class="code">
  void filter_OnFilterChanged()<br />
  {<br />
  &nbsp; repeater.DataSource = datasource.DataSource;<br />
  &nbsp; repeater.DataBind();<br />
  }</div>
 <br />
 Other resources: <a href="http://devnet.kentico.com/Blogs/Karol-Jarkovsky/March-2011/Custom-filter-development-with-Kentico-CMS.aspx" target="_blank">Custom filter development</a><br />
 &nbsp;</div>
<div style="text-align: right">
 <em>-ml-</em></div>
]]></description>
     <pubDate>Mon, 26 Mar 2012 09:33:22 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/Web-parts---Controls/Why-my-custom-filter-does-not-work-in-aspx-templat.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/Web-parts---Controls/How-to-generate-html-output-of-some-control-by-API.aspx]]></guid>
     <title><![CDATA[How to generate html output of some control by API]]></title>
     <description><![CDATA[In special cases you may need to generate html code and provide it as a web service. The example shows how to create a repeater control dynamically, configure its properties and return html code.<br />
<br />
<div class="code">
 &nbsp; [WebMethod]<br />
 &nbsp;&nbsp;&nbsp; public static string GetDate()<br />
 &nbsp;&nbsp;&nbsp; {<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Page pageHolder = new Page();<br />
 <br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CMSRepeater rep = (CMSRepeater)pageHolder.LoadControl(typeof(CMSRepeater), null);<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rep.ClassNames = &quot;cms.article&quot;;<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rep.Path = &quot;.&quot;;<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rep.TransformationName = &quot;cms.article.default&quot;;<br />
 <br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pageHolder.Controls.Add(rep);<br />
 <br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; StringWriter output = new StringWriter();<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HttpContext.Current.Server.Execute(pageHolder, output, false);<br />
 <br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return output.ToString();<br />
 &nbsp;&nbsp;&nbsp; }</div>
<div style="text-align: right">
 <em>-it-</em></div>
]]></description>
     <pubDate>Mon, 26 Mar 2012 09:10:29 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/Web-parts---Controls/How-to-generate-html-output-of-some-control-by-API.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/Security-and-membership/How-to-change-the-algorithm-for-a-password-generat.aspx]]></guid>
     <title><![CDATA[How to change the algorithm for password generation]]></title>
     <description><![CDATA[<div>
 If you want to generate passwords as alphanumeric strings (without special characters) or as strings which contain only special characters, you can implement your own algorithm for password generation in the <strong>~\CMSModules\Membership\Pages\Users\User_Edit_Password.aspx.cs</strong> file and in the <strong>btnGenerateNew_Click</strong> method:<br />
 <br />
 <div class="code">
  protected void btnGenerateNew_Click(object sender, EventArgs e)<br />
  {<br />
  // Check modify permission<br />
  CheckModifyPermissions();<br />
  string result = ValidateGlobalAndDeskAdmin();<br />
  if (result == String..Empty)<br />
  {<br />
  string pswd = ...; // your own algorithm<br />
  &hellip;</div>
 <div style="text-align: right">
  <em>-jh-</em></div>
</div>
]]></description>
     <pubDate>Mon, 26 Mar 2012 09:07:05 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/Security-and-membership/How-to-change-the-algorithm-for-a-password-generat.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/Web-parts---Controls/The-Editable-image-web-part-does-not-work-inside-a.aspx]]></guid>
     <title><![CDATA[The Editable image web part does not work inside another web part]]></title>
     <description><![CDATA[<div>
 The Editable image web part is not designed&nbsp;to be used&nbsp;inside another web part. You can separate the web parts; use the original Editable image web part and the rest of code in a custom web part.<br />
 <br />
 If you need to use the Editable image inside your custom web part, the parent web part must:</div>
<ol>
 <li>
  inherit from the <strong>CMSAbstractEditableWebPart </strong>class and</li>
 <li>
  implement the <strong>LoadContent</strong> and <strong>GetContent</strong> methods.</li>
</ol>
<div>
 <br />
 You can take inspiration&nbsp;from the Editable image web part:<br />
 <br />
 <strong>~/CMSWebParts/Text/editableimage.ascx.cs</strong><br />
 <br />
 &nbsp;</div>
<div style="text-align: right">
 <em>-hg-</em></div>
]]></description>
     <pubDate>Wed, 21 Mar 2012 09:28:47 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/Web-parts---Controls/The-Editable-image-web-part-does-not-work-inside-a.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/General/How-to-use-jQuery-with-native-Kentico-web-parts.aspx]]></guid>
     <title><![CDATA[How to use jQuery with native Kentico web parts]]></title>
     <description><![CDATA[Some Kentico web parts will stop working if you use the standard jQuery linking in your custom web parts because they are using jQuery in some of their libraries. That&rsquo;s why you need to use the jQuery noConflict version. Please check this link for more information:<br />
<a href="http://docs.jquery.com/Using_jQuery_with_Other_Libraries">http://docs.jquery.com/Using_jQuery_with_Other_Libraries</a><br />
<div style="text-align: right">
 <em>-bp-</em></div>
]]></description>
     <pubDate>Mon, 19 Mar 2012 09:46:48 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/General/How-to-use-jQuery-with-native-Kentico-web-parts.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/API-and-Internals/When-using-ASPX-templates,-how-can-I-change-the-va.aspx]]></guid>
     <title><![CDATA[When using ASPX templates, how can I change the value of DocType?]]></title>
     <description><![CDATA[As seen in the Developer&rsquo;s Guide documentation <a href="../../../../docs/devguide/index.html?using_the_master_pages.htm">Creating ASPX Master Pages</a>, you can use &lt;%=DocType%&gt; as your doctype declaration in your master pages. The default value is <em>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;</em>. If you would like to change this, for instance to declare HTML5 (<em>&lt;!DOCTYPE html&gt;</em>), you can do so in the code behind of your master page. In the <strong>OnPreRender</strong> method of your master page codebehind (e.g., Root.master.cs), add a line defining <strong>this.Doctype</strong>:<br />
&nbsp;<br />
<div class="code">
	&nbsp;&nbsp;&nbsp; protected override void OnPreRender(EventArgs e)<br />
	&nbsp;&nbsp;&nbsp; {<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; base.OnPreRender(e);<br />
	&nbsp;<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ltlTags.Text = HeaderTags;<br />
	&nbsp;<br />
	<strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Declare the doctype as html5</strong><br />
	<strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.DocType = &quot;&lt;!DOCTYPE html&gt;&quot;;</strong> &nbsp;<br />
	&nbsp;&nbsp;&nbsp; }</div>
<div style="text-align: right;">
	<br />
	<em>-ag-</em></div>
]]></description>
     <pubDate>Mon, 19 Mar 2012 09:43:42 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/API-and-Internals/When-using-ASPX-templates,-how-can-I-change-the-va.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/Security-and-membership/How-can-I-configure-Kentico-to-use-SSL.aspx]]></guid>
     <title><![CDATA[How can I configure Kentico to use SSL?]]></title>
     <description><![CDATA[Configuration of SSL must be handled at the IIS level, not within Kentico. Please see the following Microsoft documentation:<br />
&nbsp;<br />
<a href="http://learn.iis.net/page.aspx/144/how-to-set-up-ssl-on-iis/">http://learn.iis.net/page.aspx/144/how-to-set-up-ssl-on-iis/</a><br />
&nbsp;<br />
The feature within Kentico that uses SSL is the Document option under Properties -&gt; Security that specifies whether a page should redirect to SSL (to use https instead of http). You can set this up per document, or you can set this in your master page and use inheritance to apply the setting to all pages.<br />
&nbsp;<br />
This subject is explained in further detail in the following Kentico documentation:<br />
<br />
<a href="../../../../docs/devguide/index.html?ssl_https_support.htm">http://devnet.kentico.com/docs/devguide/index.html?ssl_https_support.htm</a><br />
&nbsp;<br />
<div style="text-align: right;">
 <em>-ag-</em></div>
]]></description>
     <pubDate>Mon, 12 Mar 2012 07:42:04 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/Security-and-membership/How-can-I-configure-Kentico-to-use-SSL.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/General/Single-application-pool-or-multiple-application-po.aspx]]></guid>
     <title><![CDATA[Single application pool or multiple application pools]]></title>
     <description><![CDATA[This article is meant to discuss a few differences between using a single application pool and&nbsp;using multiple application pools in IIS.&nbsp; If you are looking for a more hands on approach for setting up your environment, you might want to take advantage of our paid consulting services <a href="http://www.kentico.com/Support/Consulting/Overview">http://www.kentico.com/Support/Consulting/Overview</a>, which can tailor a solution for your individual environment.<br />
<br />
When using multiple application pools, you can dedicate an application pool to a single site.&nbsp; This will usually keep any problems isolated to one site, instead of spreading the issue across all sites located on the same machine.&nbsp; You can also use different ASP.NET versions on the same machine when using multiple application pools.&nbsp; This is because you can assign a different application pool for each version of ASP.NET.&nbsp; When using multiple application pools, you can use different Windows accounts on each application pool.&nbsp; This can not only enhance security, but it can also help when trying to track down performance issues.<br />
<br />
Pros:<br />
&nbsp;&bull; Your sites will be isolated from each other.&nbsp; So if the application pool locks or has an error, it will only affect the single site.<br />
&nbsp;&bull; You can run different sites under different .NET versions.<br />
&nbsp;&bull; You can have unique settings for individual application pools.<br />
&nbsp;&bull; You can setup unique security features for each application pool.<br />
&nbsp;<br />
Cons:<br />
&nbsp;&bull; Each application pool uses its own memory, which can use up a lot of resources on a single machine.<br />
&nbsp;&bull; It may also be harder to debug the site, since you are running multiple sites in one application pool.<br />
<br />
While there are more Pros/Cons for each scenario, this should give you a general overview.<br />
<div style="text-align: right;">
 <em>-eh-</em></div>
]]></description>
     <pubDate>Thu, 08 Mar 2012 02:27:20 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/General/Single-application-pool-or-multiple-application-po.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/Export-and-Import/How-to-remove-duplicates-from-UI-after-upgrading-t.aspx]]></guid>
     <title><![CDATA[How to remove duplicates from the UI after upgrading to version 6.0]]></title>
     <description><![CDATA[<div>
 In special cases, it&nbsp;may happen that tabs and icons in the version 6.0&nbsp;user interface (CMS Desk, Site Manager) are duplicated. For example&nbsp;if you import an&nbsp;older site to version 6.0 or if the upgrade procedure was not followed properly during previous upgrades.<br />
 <br />
 If this happens, UI elements stored in the CMS_UIElement table are created twice and displayed in the UI. To fix this issue you can&nbsp;apply the latest hotfix for version 6 or you can&nbsp;delete the elements which are duplicated by this script: <a href="~/getattachment/2eb93529-f94b-41fd-b079-663a4b96f14a/RemoveDoubledUIElements.sql">RemoveDoubledUIElements.sql</a>&nbsp;The 6.0 elements have a&nbsp;unique ID, and the script attached will delete all elements which should not be there. As always, do not forget to create a database backup to be able to restore it if needed.<br />
 &nbsp;</div>
<div style="text-align: right;">
 <em>-it-</em></div>
]]></description>
     <pubDate>Mon, 05 Mar 2012 08:58:12 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/Export-and-Import/How-to-remove-duplicates-from-UI-after-upgrading-t.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/API-and-Internals/How-to-maintain-scroll-position-after-postback.aspx]]></guid>
     <title><![CDATA[How to maintain scroll position after postback]]></title>
     <description><![CDATA[In case your application runs on .NET version 4.0 the position should be fixed automatically. A combination of .NET 3.5 and browsers&nbsp;like Chrome or Safari causes the position on a&nbsp;page&nbsp;to be&nbsp;lost after postback.<br />
<ol>
 <li>
  The workaround is to use the&nbsp;AJAX update panel and check&nbsp;e.g. the&nbsp;<strong>Use update panel </strong>property in repeater based web parts.<br />
  &nbsp;</li>
 <li value="2">
  If the update panel cannot be used for some reason, you can change the <strong>~/App_Browsers/outputfilter.browser </strong>file and add&nbsp;the following&nbsp;code into the&nbsp;&lt;browsers&gt; section:</li>
</ol>
<br />
<span style="font-family: courier new,courier,monospace;">&lt;browser refID=&quot;Safari1Plus&quot;&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;capabilities&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;capability name=&quot;supportsMaintainScrollPositionOnPostback&quot; value=&quot;true&quot; /&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;/capabilities&gt;<br />
&lt;/browser&gt;</span><br />
<br />
<br />
Please make sure that your master template, in case of Portal Engine it is&nbsp;file <strong>~/CMSPages/PortalTemplate.aspx</strong>, contains the&nbsp;following property set to true:<br />
<br />
<span style="font-family: courier new,courier,monospace;">&lt;%@ Page &hellip;&nbsp; MaintainScrollPositionOnPostback=&quot;true&quot; ..%&gt;</span><br />
<div style="text-align: right;">
 <em>-it-</em></div>
]]></description>
     <pubDate>Thu, 01 Mar 2012 08:05:06 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/API-and-Internals/How-to-maintain-scroll-position-after-postback.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/Web-parts---Controls/How-to-include-global-Calendar-events-in-the-Depar.aspx]]></guid>
     <title><![CDATA[How to include global Calendar events in the Department-specific calendar(s)]]></title>
     <description><![CDATA[The Calendar web part in Departments uses a dynamic path according to the&nbsp;alias path of the department:<br />
<br />
<span style="font-family: courier new,courier,monospace">{ %cmscontext.currentdepartment.nodealiaspath#% }/Calendar/%</span><br />
<br />
where the global calendar (displaying <span style="font-family: courier new,courier,monospace">Events</span>) uses a fixed path (like <span style="font-family: courier new,courier,monospace">/Events/%</span>). Please remove the spaces from the macro expression if you copy it.<br />
<br />
To see the global Events in the department calendars, you can join the global event and department-specific&nbsp;event document paths and set the general path to the global scope.<br />
<br />
Example department-specific calendar settings look like:<br />
<br />
<strong>Path</strong>: /%<br />
<strong>Where condition</strong>: <span style="font-family: courier new,courier,monospace">NodeAliasPath LIKE &#39;{ %cmscontext.currentdepartment.nodealiaspath#% }/Calendar/%&#39; OR NodeAliasPath LIKE &#39;/Events/%&#39;</span><br />
<br />
Management of the calendar items will take place in the appropriate scope. You may also need to<br />
modify some of the transformations, because clicking on the event details can take<br />
you from a department calendar to the global one.<br />
<div style="text-align: right">
 <em>-zc-</em></div>
<br />
<br />
]]></description>
     <pubDate>Thu, 01 Mar 2012 07:30:09 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/Web-parts---Controls/How-to-include-global-Calendar-events-in-the-Depar.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/E-commerce/Which-options-do-I-have-for-price-formatting.aspx]]></guid>
     <title><![CDATA[Which options do I have for price formatting?]]></title>
     <description><![CDATA[<div>
 The price formatting (and any other number formatting) uses .NET number and price formatting syntax. Besides the default documentation, we would recommend checking a nice reference at<br />
 <a href="http://blog.stevex.net/string-formatting-in-csharp/">http://blog.stevex.net/string-formatting-in-csharp/</a>. The thousands separator syntax and other options are described, too. Additional examples can be found at <a href="http://blog.stevex.net/2007/09/string-formatting-faq/">http://blog.stevex.net/2007/09/string-formatting-faq/</a>.<br />
 &nbsp;</div>
<div style="text-align: right;">
 <em>-zc-</em></div>
]]></description>
     <pubDate>Thu, 01 Mar 2012 07:23:40 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/E-commerce/Which-options-do-I-have-for-price-formatting.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/API-and-Internals/Why-I-cannot-read-a-cookie-on-the-client-in-Kentic.aspx]]></guid>
     <title><![CDATA[Why can I not read a cookie on the client in Kentico CMS 6.0?]]></title>
     <description><![CDATA[<div>
 The HttpOnly is a flag set on the server side when sending&nbsp;a cookie that instructs the browser to avoid giving client-side scripts access to that data. Prior to Kentico CMS 6.0 the default value of the <strong>HttpOnly</strong> flag for all cookies generated by Kentico CMS was <strong>false</strong>. Since Kentico CMS 6.0 this behavior has been changed in the way that all cookies have the <strong>HttpOnly</strong> flag set to <strong>true</strong> for security reasons. Therefore it might happen that some of your client-side scripts trying to read some cookie and working in the previous version are no longer working in Kentico CMS 6.0, as you would expect. If so, you have two options.<br />
 <br />
 You can either use the overloaded version of the <strong>CookieHelper.Setvalue</strong> method that accepts the HttpOnly value as an input parameter and set it to <strong>false</strong>:<br />
 <br />
 <span style="font-family: courier new,courier,monospace;">public static void SetValue (<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string name,<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string value,<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string path<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DateTime expires<br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bool? httpOnly<br />
 )</span><br />
 <br />
 or change the following value in the <strong>web.config</strong> file so that all cookies are&nbsp;sent with the <strong>HttpOnly</strong> flag set to <strong>false</strong>:<br />
 <br />
 <span style="font-family: courier new,courier,monospace;">&lt;httpCookies httpOnlyCookies=&quot;true&quot;/&gt;</span><br />
 <br />
 <strong>Links to other resources: </strong><a href="http://msdn.microsoft.com/en-us/library/system.web.httpcookie.httponly.aspx">HttpOnly flag</a><br />
 &nbsp;</div>
<div style="text-align: right;">
 <em>-ml-</em></div>
]]></description>
     <pubDate>Tue, 28 Feb 2012 04:51:36 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/API-and-Internals/Why-I-cannot-read-a-cookie-on-the-client-in-Kentic.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/Content-Management/How-to-add-a-new-font-into-the-CK-Editor.aspx]]></guid>
     <title><![CDATA[How to add a new font into the CK Editor]]></title>
     <description><![CDATA[<div>
 If you want to add a new font into the drop-down list of fonts in the CK Editor, you need to add the definition of that font into the <strong>ckeditor.js</strong> file, which is located in the <strong>~\CMSAdminControls\CKeditor\</strong> directory. However, the content of the file is minimized so it is&nbsp;difficult to navigate there.&nbsp;The code where you can make changes&nbsp;to fonts is on line 57 and it looks like this:<br />
 <br />
 <span style="font-family: courier new,courier,monospace;">i.font_names=&#39;New font/Arial, Helvetica, sans-serif;Comic Sans MS/Comic Sans MS, cursive;Courier New/Courier New, Courier, monospace;Georgia/Georgia, serif;Lucida Sans Unicode/Lucida Sans Unicode, Lucida Grande, sans-serif;Tahoma/Tahoma, Geneva, sans-serif;Times New Roman/Times New Roman, Times, serif;Trebuchet MS/Trebuchet MS, Helvetica, sans-serif;Verdana/Verdana, Geneva, sans-serif&#39;;</span><br />
 <br />
 where the format of font definition is:<br />
 <br />
 <span style="font-family: courier new,courier,monospace;">Title/Font style definition;</span></div>
<div style="text-align: right;">
 <em>-jh-</em></div>
]]></description>
     <pubDate>Thu, 23 Feb 2012 01:42:51 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/Content-Management/How-to-add-a-new-font-into-the-CK-Editor.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/General/Can-I-apply-the-hotfix-manually-instead-of-using-K.aspx]]></guid>
     <title><![CDATA[Can I apply the hotfix manually instead of using Kentico Installation Manager?]]></title>
     <description><![CDATA[<div>
 Yes, it is possible. You can download the hotfix package here: <a href="http://devnet.kentico.com/Bugtracker/Hotfixes.aspx">http://devnet.kentico.com/Bugtracker/Hotfixes.aspx</a>. It is a self-extracting package. You can extract it and open the instructions. Please follow the chapter: &ldquo;Creating File Structure for Deployment&rdquo; to create the necessary files for your project. Backup your project folder and database, make your site offline and copy the new files into your project folder. Then apply the SQL script from the&nbsp;&lt;hotfix folder&gt;/SQL on your database and make your site online. In this way you can see which files the hotfix re-writes and you can&nbsp;see the exact error messages.</div>
<div style="text-align: right">
 <em>-hg-</em></div>
]]></description>
     <pubDate>Tue, 21 Feb 2012 07:04:53 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/General/Can-I-apply-the-hotfix-manually-instead-of-using-K.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/Export-and-Import/When-does-the-import-consider-the-page-templates-t.aspx]]></guid>
     <title><![CDATA[When does Import consider page templates to be the same and re-write them?]]></title>
     <description><![CDATA[<div>
 If you <a href="http://devnet.kentico.com/docs/6_0/devguide/export_and_import_overview.htm" target="_blank">import</a> some page templates or stylesheets into an existing installation, the import process can re-write some existing objects. It happens when:
 <ol>
  <li>
   the objects have the same GUID-s and</li>
  <li>
   they have the same code names.</li>
 </ol>
 That is why it is not enough to change their code names if you want to keep the existing objects and import the new ones. The future versions will support a general Clone function for all objects.<br />
 <div style="text-align: right;">
  <em>-hg-</em></div>
</div>
]]></description>
     <pubDate>Tue, 21 Feb 2012 06:43:20 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/Export-and-Import/When-does-the-import-consider-the-page-templates-t.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/Security-and-membership/How-to-stop-CMS-from-deleting-users-automatically.aspx]]></guid>
     <title><![CDATA[How to stop CMS from deleting users automatically?]]></title>
     <description><![CDATA[There is&nbsp;a web site related <a href="http://devnet.kentico.com/docs/6_0/devguide/scheduler_overview.htm">scheduled task</a>&nbsp;named &ldquo;<strong>Users delete non activated user&rdquo;</strong> responsible for deleting <a href="http://devnet.kentico.com/docs/6_0/devguide/registration_approval_and_double_opt_in.htm">non-activated users</a>. Its execution interval is set to <strong>one hour </strong>by default.&nbsp;This scheduled task deletes users which are <strong>not enabled</strong> or <strong>waiting for approval</strong> based on your settings (S<em>ite Manager -&gt; Settings -&gt; Security &amp; Membership -&gt; Delete non-activated user after (days)</em>). You can either disable this scheduled task or make sure that the users which you do not want to lose are enabled and/or not waiting for approval.
<div style="text-align: right;">
 <em>-mr-</em></div>
]]></description>
     <pubDate>Mon, 20 Feb 2012 22:57:22 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/Security-and-membership/How-to-stop-CMS-from-deleting-users-automatically.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/E-commerce/How-to-disable-skip-payment-button-in-the-last-sho.aspx]]></guid>
     <title><![CDATA[How to disable the"Skip payment" button in the last shopping cart step?]]></title>
     <description><![CDATA[You can hide the &quot;Skip payment&ldquo; button (<strong>ButtonBack control</strong>) in the <strong><em>~\CMSModules\Ecommerce\Controls\ShoppingCart\ShoppingCartPaymentGateway.ascx.cs</em></strong> file by using the following code:<br />
<br />
<span style="font-family: courier new,courier,monospace;">this.ShoppingCartControl.ButtonBack.Visible = false;</span>
<div style="text-align: right;">
 <em>-mr-</em></div>
]]></description>
     <pubDate>Mon, 20 Feb 2012 22:12:47 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/E-commerce/How-to-disable-skip-payment-button-in-the-last-sho.aspx]]></link>     
</item><item>
     <guid isPermaLink="true"><![CDATA[http://devnet.kentico.com/FAQs/E-commerce/How-to-empty-shopping-cart-content-outside-of-shop.aspx]]></guid>
     <title><![CDATA[How to empty the shopping cart content outside the shopping cart control?]]></title>
     <description><![CDATA[Here is an example code of how to empty the shopping cart content:<br />
&nbsp;<br />
<span style="font-family: courier new,courier,monospace">if (ECommerceContext.CurrentShoppingCart != null)<br />
{<br />
&nbsp;ShoppingCartInfoProvider.DeleteShoppingCartInfo(ECommerceContext.CurrentShoppingCart);<br />
&nbsp;ECommerceContext.CurrentShoppingCart = null;<br />
}</span><br />
&nbsp;<br />
The <strong>DeleteShoppingCartInfo</strong> method removes all records related to the&nbsp;current shopping cart from the&nbsp;database (COM_ShoppingCart and COM_ShoppingCartSKU tables). By&nbsp;entering&nbsp;the&nbsp;<strong>null </strong>value to the&nbsp;<strong>CurrentShoppingCart</strong> (ShoppingCartInfo object) property of the&nbsp;<strong>ECommerceContext </strong>object, we will ensure that the session and/or cookie information is deleted as well.
<div style="text-align: right">
 <em>-mr-</em></div>
]]></description>
     <pubDate>Mon, 20 Feb 2012 21:53:24 GMT</pubDate>
     <link><![CDATA[http://devnet.kentico.com/FAQs/E-commerce/How-to-empty-shopping-cart-content-outside-of-shop.aspx]]></link>     
</item>
 </channel>
</rss>

