Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP.NET Edit Textbox issue
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00846158
Message ID:
00847092
Views:
24
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();
>}
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform