@model Object @{ var json = Newtonsoft.Json.JsonConvert.SerializeObject(Model); // Get the target application page, the calendar will be currently displayed in // Special formatting of filter controls is needed for Team Board var targetPageName = (string)Model.GetType().GetProperty("TargetPage").GetValue(Model, null); bool isTeamBoardPage = (targetPageName == "TeamBoard"); }
Business Unit
View
Team

to

@* In this case controller will be initialized via broadcasted event from the parent controller *@
@* If you need to use this control multiple times on a single page and without parent capacityManagementController controller use ng-init directive instead
@Html.Partial("~/Views/ActivityCalendar/_activityCalendar.cshtml")
@Html.Partial("~/Views/ActivityCalendar/_activityCalendar.cshtml")
@Html.Partial("~/Views/ActivityCalendar/_activityCalendar.cshtml")
*@