Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
First week of month in WebMonthView ignores height in style
posted

I have a WebMonthView displaying a combination of 5 or so datasets.  I am iterating through those datasets and creating Appointments for each one.  That code looks like this:

 

This works just fine when displaying.  I am not quite sure how the Location field is meant to be used because the documentation is very vague about it, but I use it for some client side code.  I needed some extra information and I could not get any class extension to work.    On the client-side I have the following:

 

This allows me to show a small popup when an activity is clicked on the calendar.  Not the most elegant way I would have liked it, but last time I tried, the calendar did not allow a cleaner way to insert newline characters into tooltips for a mouseover and it made the display look cluttered. 

My end result ends up being this:

With all of this in mind, here is my issue. If you look at the first week of the calendar, it appears that the DayStyle Height is scaling to match the number of activities being displayed. I want it to act more like the second week of the calendar in this example and allow scrolling on the DayStyle element.   The StartDateTime and EndDateTime values for all activities will be a 0sec timespan since both values will be midnight on the same day.  I am trying to put any type of data I can to this post to give a full picture, so if there's something more relevant please let me know and I can add more to it. 

Any clue what is going on here?

Parents
No Data
Reply
  • 49378
    posted

    Hi senseihitokiri,

    It has been a while since your post, however in case you still need assistance I would be glad to help.

    Your desired style is most likely not applied to the first "row" in the WebMonthView as most days in that row are from a different month. You should also set the height in the OtherMonthDayStyle:

    <OtherMonthDayStyle Height="60px" />

    Please contact me if you have any questions.

    Best Regards,

    Petar Ivanov
    Developer Support Engineer
    Infragistics, Inc.
    http://ko.infragistics.com/support

Children
No Data