This is a migrated thread and some comments may be shown as answers.

Text property getting space added after remote method call

1 Answer 26 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Michael Thornton
Top achievements
Rank 1
Michael Thornton asked on 15 Apr 2010, 07:24 PM
I have a strange one here.  I'm using a combobox which is dynamically created on the server and added to my form.  I'm using loadondemand.  I check the length of a text field for one of the items I added server side prior to the call to the remote method and the length of my text value is 7 characters.  After I click on the dropdown and it goes out to retrieve more items and returns to my OnitemsRequested javascript routine, I check the length of the same item and it is now 8 characters.  So essentially a space is being added to the end of the string.  My remote method does not alter existing items in the combobox and only adds new items.  Any known issues?

1 Answer, 1 is accepted

Sort by
0
Kalina
Telerik team
answered on 16 Apr 2010, 09:20 AM
Hello Michael Thornton,

The issue that you describe can be caused by various reasons, could you please paste the code of your page here?

Does this length change happen to all items?

All the best,
Kalina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
ComboBox
Asked by
Michael Thornton
Top achievements
Rank 1
Answers by
Kalina
Telerik team
Share this question
or