H
Hans Merkl
Hi,
I have a web form with a calendar control and a label. The label is
supposed to always show the selected date of the calendar control. Now I am
wondering where the best place is to put the code that assigns the value of
the label.
So far I am assigning the value of the label in the Page_load method of the
form and also in the SelectionChanged event of the calendar control.
Is there a way to get around having to do this in 2 different locations?
Should I use another event?
Thanks
Hans
I have a web form with a calendar control and a label. The label is
supposed to always show the selected date of the calendar control. Now I am
wondering where the best place is to put the code that assigns the value of
the label.
So far I am assigning the value of the label in the Page_load method of the
form and also in the SelectionChanged event of the calendar control.
Is there a way to get around having to do this in 2 different locations?
Should I use another event?
Thanks
Hans