If it were me, I would make the user control raise an event so that any
page containing that control would be notified of the new date.
Just add:
Public Event OnDateChanged(ByVal newDate As Date)
In the user control code and add this in your DateChanged method:
RaiseEvent OnDateChanged(Me.SelectedDate)
Now in each of your pages that use this control, handle the new
OnDateChanged event and the date is guaranteed to be current.
Hope this helps.
"Nathan Sokalski" <njsokalski@hotmail.com> wrote in
news:uS$LH3hxFHA.904@tk2msftngp13.phx.gbl:
|