Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Is there a way to add events in Calendar programly? View modes: 
User avatar
Member
Member
steven4733-gmail - 2/8/2012 4:56:01 PM
   
Is there a way to add events in Calendar programly?
The current calendar web part shows events, which is in format of a document type, as long as you set datetime fields in it. This is powerful, but for some daily events, which I don't create a document for each of them, is there a way that I can still show those events in Calendar? If it is possible, sample code will be a really help.

User avatar
Member
Member
kentico_michal - 2/9/2012 3:32:47 AM
   
RE:Is there a way to add events in Calendar programly?
Hello,

Regrettably, this is not possible to display content other than documents. The Event calendar was designed this way and it displays only documents. You can create a custom web part that will display content you need. You can use for example cms:Calendar control or the standard .NET calendart control. More information about creating a new web part can be found here: Developing web parts.

Best regards,
Michal Legen