Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coordinating Objects
Message
De
26/08/2007 20:39:42
 
 
À
26/08/2007 15:40:06
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Divers
Thread ID:
01250452
Message ID:
01250551
Vues:
10
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform