This question is locked. New answers and comments are not allowed.
Hello,
I have a calendar control as defined below. The calendar works and looks fantastic, but every month it renders shows 6 rows, even if the month it's displaying only needs 4, which means I'm displaying up to two whole weeks of the month following the current one. I'd like to minimize this somehow. I don't see this behavior occuring on the demos, so I'm confused as to why it's happening now.
I have a calendar control as defined below. The calendar works and looks fantastic, but every month it renders shows 6 rows, even if the month it's displaying only needs 4, which means I'm displaying up to two whole weeks of the month following the current one. I'd like to minimize this somehow. I don't see this behavior occuring on the demos, so I'm confused as to why it's happening now.
<%: Html.Telerik().Calendar() .Name("CalendarControl") .Value(DateTime.Today) .MinDate(Model.AssignmentStartDate) .MaxDate(Model.AssignmentEndDate) .Theme("Web20") .ClientEvents(events => events.OnChange("CalendarDateChanged")) .Selection(builder => builder.Action("Monthly", new { date = "{0}", theme = Request.QueryString["theme"] })) .Value(ViewData["date"] != null ? (DateTime)ViewData["date"] : DateTime.Today).HtmlAttributes(new { style="margin-bottom:30px" }) %>