6.3 Events List widget no EndDate No EventEnd

Posted by Community Admin on 04-Aug-2018 16:37

6.3 Events List widget no EndDate No EventEnd

All Replies

Posted by Community Admin on 28-Jan-2014 00:00

I have the problem that the End date in recurrent Events will come empty.

Works in normal events. How do I display the end date of a recurrent event.

The start 2 pm - 4 pm every week on Wednesday without enddate for example.

<sf:FieldListView ID="FieldListView2" runat="server" Format="EventStart.ToLocal():HH:mm " /> -      <sf:FieldListView ID="FieldListView6" runat="server" Format="EventEnd.ToLocal():HH:mm " />


Do I simple put an Enddate into the future 20 years or so. Or is there a smarter way to do it?

Markus

Posted by Community Admin on 31-Jan-2014 00:00

Hi Markus,

If you select an end date for a recurrent event (see screenshot) the end date will be displayed on the front-end by default as shown here.

Alternatively, you can display the end date by adding the following line into the template which you use to display the events:

<sitefinity:TextField runat="server" DisplayMode="Read"
Value='<%# ((DateTime)Eval("EventEnd")).ToLocalTime() %>' />


Regards,
Sabrie Nedzhip
Telerik
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed