Welcome to Mediachase Community Sign in | Join | Help    
in Search   

AllDayEventTemplate not showing

Last post Tue, Aug 19 2008, 11:20 PM by ga. 1 replies.
Sort Posts: Previous Next
  •  Tue, Aug 19 2008, 3:17 PM 10082

    AllDayEventTemplate not showing

    Hi,

    I'm trying to use the AllDayEventTemplate, but it does't look like it is doing anthing

    I have some of the events set up as 'IsAllDay=True' but they are not using the template

    this is the code I have inside the Calendar tag:

     

    thanks!

    <MonthTextItemTemplate>
      <div nowrap><font size="1"><%#DateTime.Parse(DataBinder.Eval(Container.DataItem, "StartDate").ToString()).ToString("t")%></font>
      <br />
      <a href="<%#DataBinder.Eval(Container.DataItem, "Link")%>" ><%#DataBinder.Eval(Container.DataItem, "Label")%></a>
      </div>
           
     </MonthTextItemTemplate>
     
     <DayItemTemplate>
      <div nowrap><font size="1"><%#DateTime.Parse(DataBinder.Eval(Container.DataItem, "StartDate").ToString()).ToString("t")%>-
      <%#DateTime.Parse(DataBinder.Eval(Container.DataItem, "EndDate").ToString()).ToString("t")%>
      
      </font>
            </div>
      <a href="<%#DataBinder.Eval(Container.DataItem, "Link")%>" ><%#DataBinder.Eval(Container.DataItem, "Description")%></a>
      
     </DayItemTemplate> 
         
     <WeekItemTemplate>
      <%#DataBinder.Eval(Container.DataItem, "StartDate")%> -
      <%#DataBinder.Eval(Container.DataItem, "EndDate")%>
      <%#DataBinder.Eval(Container.DataItem, "Description")%>
     </WeekItemTemplate>
        <AllDayItemTemplate>
                <div nowrap>
               All day: <a href="<%#DataBinder.Eval(Container.DataItem, "Link")%>" ><%#DataBinder.Eval(Container.DataItem, "Label")%></a>
          </div>
            </AllDayItemTemplate>

     

  •  Tue, Aug 19 2008, 11:20 PM 10085 in reply to 10082

    Re: AllDayEventTemplate not showing

    Hi,
    AllDayItemTemplate is used only in DayView for displaying all day cell in day view. Try to switch to DayView and see whether it works there.

    Hope this helps.

View as RSS news feed in XML
Site Terms | Privacy Policy | About Us | Contact Us
Running on Mediachase eCommerce Framework 4.0.
  Copyright © Mediachase, LTD. 1997-2006. All Rights Reserved

E-commerce, HelpDesk, Service Desk & Project Management Software, alternatives to Microsoft Project Server & Sharepoint Collaboration Server
project management software | microsoft project server | sharepoint collaboration server | issues management, helpdesk & service desk
Powered by Community Server, by Telligent Systems