+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Events External Template Issue

Events External Template Issue

4 posts, 0 answered
  1. Doug Dawson
    Doug Dawson avatar
    21 posts
    Registered:
    18 Aug 2009
    07 Dec 2010
    Link to this post
    Hello all!

    I've installed the external templates for the Events controls. In the ContentViewSingleItemView.ascx file, there is this snippet of code:

    <div class="sf_eventBasicInfo">
    <p class='sf_eventPriod'>From: <asp:Literal ID="Event_Start" runat="server" /></p>
    <p class='sf_eventPriod'>To: <asp:Literal ID="Event_End" runat="server" /></p>
    </div>

    The start and end times do not make it to this Literal. Is there anyway to fix that?

    Thanks!

    Doug
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    07 Dec 2010
    Link to this post
    Hello Doug,

    Try using the mode templates  for events  - ListPageMaster.ascx and ListPageDetail.ascx

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Doug Dawson
    Doug Dawson avatar
    21 posts
    Registered:
    18 Aug 2009
    07 Dec 2010
    Link to this post
    I found this:

    FormatType="DateTime"

    Which appears to be correct, but I don't see where the time is getting stripped off. Can you be more specific?

    Thanks!

    Doug
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    07 Dec 2010
    Link to this post
    Hi Doug ,

    The template contains controls which have the same IDs as the names of the metakeys defined in the web.config file. These controls shows the metadata which is defined when you create or updated an event (content item). The format is controlled by the ControlDesigner of events control. You can take a look at attached image.

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
4 posts, 0 answered