Previous Thread:   Two Questions

9/30/2005 8:19:26 PM    When Can I Access the New Value of the SelectedIndex property?




11/13/2005 10:10:22 AM    Re: When Can I Access the New Value of the SelectedIndex property?
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: