Hello to the .NET gurus out there.
I hope you guys can help me on this... im pretty new to the idea of using delegates.
I have the following user controls :
1. one that contains a calendar control - DATECONTROLLER.ASCX
2. one that contains a repeater that displays a list of item i got from the DB. - LISTMYITEMS.ASCX
The page VIEWMYITEMS.ASPX, both of the user controls are added.
What i was thinking of doing was whenever the user changes the date in the calendar control in DATECONTROLLER, the selected date is passed to the LISTMYITEMS and values displayed there also changes.
Someone told me that i should be using events and delegates but i've got no clues on how to do that.
Ive read some articles in msdn but am still having a hard time understanding it.
Can anyone of you lend a hand?
Many thanks in advance
I hope you guys can help me on this... im pretty new to the idea of using delegates.
I have the following user controls :
1. one that contains a calendar control - DATECONTROLLER.ASCX
2. one that contains a repeater that displays a list of item i got from the DB. - LISTMYITEMS.ASCX
The page VIEWMYITEMS.ASPX, both of the user controls are added.
What i was thinking of doing was whenever the user changes the date in the calendar control in DATECONTROLLER, the selected date is passed to the LISTMYITEMS and values displayed there also changes.
Someone told me that i should be using events and delegates but i've got no clues on how to do that.
Ive read some articles in msdn but am still having a hard time understanding it.
Can anyone of you lend a hand?
Many thanks in advance