Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Web Controls (http://www.velocityreviews.com/forums/f63-asp-net-web-controls.html)
-   -   Calendar selection changed not executing for today's date (http://www.velocityreviews.com/forums/t780963-calendar-selection-changed-not-executing-for-todays-date.html)

Kelly 03-18-2009 11:40 AM

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 07:32 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.