That works.
Thanks
Hans
On Fri, 18 Nov 2005 11:24:26 -0800, Bruce Barker wrote:
> you should move the logic to prerender.
>
> -- bruce (sqlwork.com)
>
>
> "Hans Merkl" <> wrote in message
> news:5hr4jmqoxbl9.l501a45ojg1$....
>> 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
>>
>>
>>
|