'Cache item name' and 'Cache minutes' properties of RandomDocuments web part are not applied in 4.0

Martin Dobsicek asked on March 18, 2009 06:59

'Cache item name' and 'Cache minutes' properties of RandomDocuments web part are not applied in version 4.0

Correct Answer

Martin Dobsicek answered on March 18, 2009 06:59

Unfortunately, this seems to be a bug in the Kentico CMS version 4.0. We are very sorry for this inconvenience. We will fix it in the nearest version.

In a meantime you can solve the issue by adding following lines into SetupControl() method in ~\WebParts\Viewers\randomdocument.ascx.cs file:

  this.repElem.CacheMinutes = this.CacheMinutes;
  this.repElem.CacheItemName = this.CacheItemName;

0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.