Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to reference a control in user control?
Message
De
04/02/2010 11:22:14
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01447396
Message ID:
01447515
Vues:
30
>>Hi,
>>
>>I assume you are referring to using the control in a form ? If so you will need to expose the TextBox as a public property of the UserControl:
 public TextBox MyTextBox
>>        {
>>            get { return txtMyEntry; }
>>            set { txtMyEntry = value; }
>>        }
Then, in the form you can reference it as MyUserControlName.MyTextBox.Text etc. But you might consider only exposing those properties of the TextBox that you want to be accessible in this way - the above may be too flexible
>>HTH
>>Viv (temporarily in disguise since my logon's not working :-}
>
>Fred,
>
>You need to use case sensitive password now (see the message in read). If you don't remember it, then the number of combinations is
>
>N! (where N is the password length).
>
>Actually, I'm not sure if the number of combinations = N factorial. What is this number?

Dunno....

But are you saying that passwords were previously NOT case sensitive? I'm sure mine was all lower case and that stopped working this AM - I tried upper case after seeing another thread here - and that worked!

Any way I'm back ! :-}
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform