Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calendar Control.. (Month Selected - from Nav)

Status
Not open for further replies.

NoCoolHandle

Programmer
Apr 10, 2003
2,321
US
Hi..

I am trying to figure out how in code you can check what the current month is once a user selects a new month from the calendar control.

TIA


Rob
 
Why is it you can struggle for hours and then as soon as you post a question.. find the answer..

(thanks for looking - Here is the soultion)
Code:
    Protected Sub Calendar1_VisibleMonthChanged(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.MonthChangedEventArgs) Handles Calendar1.VisibleMonthChanged
        Response.Write(e.NewDate)
    End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top