Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Textbox
Message
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01217034
Message ID:
01217220
Views:
9
This message has been marked as a message which has helped to the initial question of the thread.
>>>I have a strange problem with a textbox. The textbox is supposed to allow user enter up to 15 alphanumeric characters. This works exactly as designed on my PC (in my IE). But on one customer's PC they can only enter up to 8 characters. And another customer can only enter 1 character. All three of us use IE.
>>>
>>>The code of the textbox is very simple, as following:
>>>
>>><asp:textbox id="txtCostCenter" CssClass="FieldRW" MaxLength="15"
>>>Visible="True" Runat="server"></asp:textbox>
>>>
>>>
>>>What could be causing such a problem?
>>>
>>>Thank you.
>>
>>Possibly blank spaces in the TextBox's value?
>
>How would the blank spaces get in the TextBox? I can't understand what are the "blank" spaces in a textbox. Could you explain a bit more, please? Thank you.

Spaces in the textbox could be put there several ways such as by populating the textbox with data from a character field that contains spaces. Are you assigning a value to the textbox in your code?

I suggested that possibility because it fits the symptoms you described. Have your customer try to move the cursor position over by pressing the right arrow key when they experience the problem. If it moves over a space then there are spaces embeded in the value. You could also have them press the delete key when they can no longer key data which would remove a space and allow them to enter another character.
Michael McLain
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform