Calender

Mak Hattalli asked on August 7, 2015 09:34

Hi All,

I am trying to display calendar of previous month and next month dates should be in different font or color. I am using EventCalendar web part , please can you help out from this issues.

Thanks, Mak

Recent Answers


Brenden Kehren answered on August 7, 2015 14:41

It's using the standard asp.net calendar control so the easiest thing to do is create a .skin file in your App_Themes/< site > directory called default.skin and add a <asp:calendar> node to it. Then add the <OtherMonthDayStyle> property and set the attributes like so <OtherMonthDayStyle BackColor="Transparent" ForeColor="#CCCCCC" />. Then in your calendar webpart define the skin name, in my case it's "EventCalendar".

Here's an example of the skin file:

<cms:CMSCalendar runat="server" SkinID="EventCalendar" Width="100%">
    <TodayDayStyle BackColor="#F8F7F4" BorderWidth="1" BorderColor="#585880" ForeColor="#585880" />
    <OtherMonthDayStyle BackColor="Transparent" ForeColor="#CCCCCC" />
    <SelectedDayStyle ForeColor="#6464FE" BackColor="transparent" />
    <NextPrevStyle Font-Bold="True" ForeColor="#585880" BorderColor="Transparent" BackColor="Transparent" />
    <DayStyle ForeColor="#000000" BorderColor="transparent" BackColor="Transparent" Height="50px" />
    <SelectorStyle Font-Bold="True" ForeColor="#696969" BackColor="#F8F7F4" />
    <WeekendDayStyle Font-Bold="False" ForeColor="#000000" BackColor="transparent" />
    <DayHeaderStyle Font-Bold="True" ForeColor="#585880" BackColor="Transparent" />
</cms:CMSCalendar>
2 votesVote for this answer Mark as a Correct answer

prajwal kumar answered on September 11, 2015 15:23

Hi Guys,

Can we have a calender functionality where i want to display the events using dates of the calender.I want to display the events for the following day.So it is like if there is a date in the calender when i click on that i want to display all the events of that date.Please help me on this.

Regards, Prajwal

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.