opacity
Posts: 3
|
Posted: 06/13/2008, 4:17 AM |
|
Hi guys,
Have any of you used the web calendar control? I have created a
project with CodeCharge to create a booking calendar and I want it to
show available days in one colour and booked days in another colour.
I can't see how to set the background colour in the control for each
day.
Any ideas?
_________________
Regards,
Stephen
opacity.com.au
websites...we make it that simple |
|
|
wkempees
Posts: 1679
|
Posted: 06/13/2008, 4:22 AM |
|
http://forums.codecharge.com/posts.php?post_id=97602&s_...=calendar+color
Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)
if you liked this info PAYPAL me: http://donate.consultair.eu
|
|
|
opacity
Posts: 3
|
Posted: 06/13/2008, 5:59 AM |
|
I should mention that I am using ASP.Net. I can't find the corect property to set in the CalendarItem object.
_________________
Regards,
Stephen
opacity.com.au
websites...we make it that simple |
|
|
Gospodin
Posts: 4
|
Posted: 06/17/2008, 6:51 AM |
|
Hi,
This is a part of calendar's HTML-template:
<!-- BEGIN Week -->
<tr>
<!-- BEGIN Day -->
<!-- BEGIN EventRow -->
<td BGCOLOR="#ff0000">{DayNumber1}
<div class="CalendarEvent">
{EventTime} - {EventDescription}
</div>
<div class="CalendarEvent">
</div>
<div class="CalendarEvent">
{sLabel}
</div>
</td>
<!-- END EventRow --> <!-- BEGIN NoEvents --><td {Style}>{DayNumber} </td><!-- END NoEvents --><!-- END Day -->
<!-- BEGIN EmptyDay -->
<td {Style}> </td><!-- END EmptyDay -->
</tr>
<!-- END Week -->
In "EventRow" block is placed HTML which will be showed when day is booked (this HTML can be changed to any way) and in "NoEvents" -- HTML for not booked days
|
|
|
|