<div> <asp:UpdatePanel ID="updatePanelYear" runat="server" UpdateMode="Conditional"> <ContentTemplate> <label id="lblYears" runat="server" class="editor-label">Select Year </label> <asp:DropDownList ID="ddlYear" runat="server" CssClass="ddlDataEntry" AppendDataBoundItems="True" AutoPostBack="True" OnSelectedIndexChanged="ddlYear_SelectedIndexChanged" /> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="calendar" EventName="DayRender" /> </Triggers> </asp:UpdatePanel> </div> <div> <asp:UpdatePanel ID="updatePanelMonths" runat="server" UpdateMode="Conditional"> <ContentTemplate> <label id="lblMonths" runat="server" class="editor-label">Select Month </label> <asp:DropDownList ID="ddlMonth" runat="server" CssClass="ddlDataEntry" AppendDataBoundItems="True" AutoPostBack="True" OnSelectedIndexChanged="ddlMonth_SelectedIndexChanged" /> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="calendar" EventName="DayRender" /> </Triggers> </asp:UpdatePanel> </div>
<asp:UpdatePanel ID="updatePanelCalender" runat="server" UpdateMode="Conditional"> <ContentTemplate> <asp:Calendar ID="calendar" runat="server" CssClass="myCalendarForUser" OnDayRender="calendar_DayRender"> <OtherMonthDayStyle ForeColor="#b0b0b0" /> <DayStyle CssClass="myCalendarForUserDay" ForeColor="#2d3338" /> <DayHeaderStyle CssClass="myCalendarForUserDayHeader" ForeColor="#2d3338" /> <SelectedDayStyle Font-Bold="True" Font-Size="12px" CssClass="myCalendarForUserSelector" /> <TodayDayStyle CssClass="myCalendarForUserToday" /> <SelectorStyle CssClass="myCalendarForUserSelector" /> <NextPrevStyle CssClass="myCalendarForUserNextPrev" /> <TitleStyle CssClass="myCalendarForUserTitle" /> </asp:Calendar> </ContentTemplate> </asp:UpdatePanel>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)