CharlieDev
asked on
Calendar object display-how to change the rows shown
Hi,
I'm trying to display a calendar using c# asp.net. I have a basic calendar (see jpg attachment for picture) but I need to remove the column to the far left that has month and week written on them. Is there a way to do this?
My aspx code is below
I tried to remove SelectWeekText="week" SelectMonthText="month"
and was left with << >> in their place on the calendar, I need to totally remove this column.
Thanks
I'm trying to display a calendar using c# asp.net. I have a basic calendar (see jpg attachment for picture) but I need to remove the column to the far left that has month and week written on them. Is there a way to do this?
My aspx code is below
I tried to remove SelectWeekText="week" SelectMonthText="month"
and was left with << >> in their place on the calendar, I need to totally remove this column.
Thanks
<asp:Calendar id="Calendar1"
OnSelectionChanged="Date_Selected"
SelectionMode="DayWeekMonth"
Font-Name="Verdana"
Font-Size="12px"
NextPrevFormat="ShortMonth"
SelectWeekText="week"
SelectMonthText="month"
runat="server">
<TodayDayStyle Font-Bold="True"/>
<DayHeaderStyle Font-Bold="True"/>
<OtherMonthDayStyle ForeColor="gray"/>
<TitleStyle BackColor="#3366ff"
ForeColor="white"
Font-Bold="True"/>
<SelectedDayStyle BackColor="#ffcc66"
Font-Bold="True"/>
<NextPrevStyle ForeColor="white"
Font-Size="10px"/>
<SelectorStyle BackColor="#99ccff"
ForeColor="navy"
Font-Size="9px"/>
</asp:Calendar>
calendar.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Do you know what property I would use to change the size of the calendar, so that the calendar takes up 375 pixels by 250 px and also make each square that each date sits in larger to fill the larger calendar grid?
Many thanks
Many thanks
ASKER
Thanks very much for such a speedy reply
ASKER