Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASP.NET Edit Textbox issue
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00846158
Message ID:
00847092
Vues:
25
Thanx Rip for posting this thread. I too have had the same behavior demonstrated on my web pages. I have a question regarding how you subclassed the framework's web controls. I followed the developer's guide pertaining to adding the controls to my tool box. I have been draging and droping the controls on my web pages. Please describe how you added subclasses of the web controls to *your* toolbox.

Regards and thanx again,

Neil

>>Thanks Rick, so as a quick solution I could do a .Trim()?? To give some blank space.
>
>That's correct. Here's what I did in my subclass of mmTextBox:
>
>
>public override void BindControlToData(DataSet ds, string tableName, string fieldName)
>{
>	base.BindControlToData (ds, tableName, fieldName);
>	this.Text = this.Text.Trim();
>}
>
>public override void BindControlToData(DataView dv, string fieldName)
>{
>	base.BindControlToData (dv, fieldName);
>	this.Text = this.Text.Trim();
>}
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform