Improvements:
Improvements:
Theme designer:
Updated with the latest DayPilot Pro for ASP.NET MVC release (7.3 SP4).
ASP.NET MVC project with a toolbar for fast switching between day, week, and month views.
View-Switching Toolbar Example
DayPilot.Switcher in JavaScript
<div id="toolbar"> <a href="#" id="toolbar_day">Day</a> <a href="#" id="toolbar_week">Week</a> <a href="#" id="toolbar_month">Month</a> </div> <script type="text/javascript"> var switcher = new DayPilot.Switcher(); // adding views (DayPilot controls) switcher.addView(dp_day); switcher.addView(dp_week); switcher.addView(dp_month); // binding the toolbar links (buttons) to views switcher.addButton("toolbar_day", dp_day); switcher.addButton("toolbar_week", dp_week); switcher.addButton("toolbar_month", dp_month); // adding navigator switcher.addNavigator(dp_navigator); // default view switcher.show(dp_day); </script>
Timesheet using DayPilot Scheduler in Days mode.
Employee Filter Example
.aspx
<div class="space"> Employee: <asp:DropDownList runat="server" ID="DropDownListEmployee" ClientIDMode="Static" DataTextField="EmployeeName" DataValueField="EmployeeId" /> </div>
JavaScript
<script type="text/javascript"> $(document).ready(function () { dp.clientState.employee = $("#<%= DropDownListEmployee.ClientID %>").val(); $("#<%= DropDownListEmployee.ClientID %>").change(function () { dp.clientState.employee = this.value; dp.commandCallBack("refresh"); }); }); </script>