Really I am appreciating your quick replay but I still have the same problem when I write what you told me in the place you mention, and attached the Sample2.aspx page that in your sample with your modification, if you try to run it will give the same compilation error.
And about the property isallday ,as in that page ,the calendar take its item at runtime, that mean we don’t define a CalendarItem, So how can we set the proberty isallday?? As in you project you set it in something like that :-
<mc:CalendarItem StartDate="08/17/2003 13:29:00" LabelColor="White" Label="Some label" RenderingStyle="Auto"
EndDate="08/21/2003 14:10:00" EventBarFilledColor="Blue" IsAllDay="True" EventBarEmptyColor="White"></mc:CalendarItem>
But the real application will bind the calendar at the runtime so it will not contain a defention for <mc:CalendarItem>??
And in case you mention,that mean the calendar data source should contain two items start time and end time?? cannot the calendar take there values from start date and end date(i mean in my case that an item its range more than one day)
And the blue Bar that appear on the outlook ,in case i want to make it appear too in the application how can this done.
waiting for your replay,and thank in advance