Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coordinating Objects
Message
From
26/08/2007 20:39:42
 
 
To
26/08/2007 15:40:06
General information
Forum:
ASP.NET
Category:
Class design
Miscellaneous
Thread ID:
01250452
Message ID:
01250551
Views:
11
>I suggest combining your TextBox as part of your custom control.

It will be in the end, the separateness you are observing is me building it in reusable sub components.

Looks like events is the way to go, thanks for your input.

John

>Well, no, you can't databind 2 controls together in the classic sense of the meaning of databind. It sounds like your custom control is going to need to have an EventHandler for the DateSelected event of the Calendar. Then in your EventHandler, use the selected date to plug it into your TextBox ... if the TextBox is part of your custom control. However, if I understand you correctly, that's not how you're doing it. The difference between how my custom control looks and functions is different from yours. I suggest combining your TextBox as part of your custom control.
>
>~~Bonnie
Previous
Reply
Map
View

Click here to load this message in the networking platform