![]() |
Calendar selection changed not executing for today's date
Can anyone tell me why this code will not execute when I click on Today's
date? It works fine for any other date. Protected Sub calSchedule_SelectionChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles calSchedule.SelectionChanged Dim SchedDate As Date = calSchedule.SelectedDate lblDateTitle.Text = SchedDate End Sub <asp:Calendar ID="calSchedule" runat="server" BackColor="White" BorderColor="White" BorderWidth="1px" Font-Names="Verdana" Font-Size="9pt" ForeColor="Black" Height="190px" NextPrevFormat="FullMonth" Width="350px" > <SelectedDayStyle BackColor="#333399" ForeColor="White" /> <TodayDayStyle BackColor="#CCCCCC" /> <OtherMonthDayStyle ForeColor="#999999" /> <NextPrevStyle Font-Bold="True" Font-Size="8pt" ForeColor="#333333" VerticalAlign="Bottom" /> <DayHeaderStyle Font-Bold="True" Font-Size="8pt" /> <TitleStyle BackColor="White" BorderColor="Black" BorderWidth="4px" Font-Bold="True" Font-Size="12pt" ForeColor="#333399" /> </asp:Calendar> |
| All times are GMT. The time now is 11:47 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.