ASPX templates
Version 5.x > ASPX templates > modifying calendar properties View modes: 
User avatar
Member
Member
eran-wellness-layers - 1/25/2011 3:08:47 AM
   
modifying calendar properties
in this article it's changes all the calendars in the site. is there any way to change only a specific calendar years dropdown list range?

eran.

User avatar
Kentico Support
Kentico Support
kentico_radekm - 1/25/2011 3:22:41 AM
   
RE:modifying calendar properties
Hello.

You can decide in code of given control (~\CMSAdminControls\Calendar\Calendar.ascx) whether to use modified line of code, or original one. You can use standard if statement for this. You can get proper info from CMS.CMSHelper.CMSContext class (e.g. document name) and decide according to this, or any other context value.

Best Regards,
Radek Macalik

User avatar
Member
Member
eran-wellness-layers - 1/25/2011 3:27:43 AM
   
RE:modifying calendar properties
nice.
thanks for the idea.
eran.