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

maxLength of NodeEdit

3 Answers 33 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
iairgood
Top achievements
Rank 1
iairgood asked on 02 Apr 2010, 03:53 PM
Hello,

With javascript, I can change the maxLength of an edited node's input textbox, but it appears that only 50 characters of the edited text are actually saving.  Is there a way to increase the maximum length to something greater than 50, say 255?

Thanks,
Ian

3 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 05 Apr 2010, 10:52 AM
Hello iairgood,

Maybe you need to increase the width of the input element?
Please check this help topic for a sample.

Kind regards,
Veskoni
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.
0
iairgood
Top achievements
Rank 1
answered on 05 Apr 2010, 03:37 PM
Thanks, but that's not it.  I can change both the maxLength and the width properties of the input, but any characters I type beyond 50 in length are truncated.  Any other suggestions?

Thanks,
-Ian
0
Accepted
Dimitar Milushev
Telerik team
answered on 08 Apr 2010, 11:58 AM
Hi,

How do you persist the TreeView's data? Can you please check if your database schema allows for more than 50 characters in the field that stores the Nodes' Text? The TreeView itself does not impose any kind of limitation to the length of the Text.

Kind regards,
Dimitar Milushev
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
TreeView
Asked by
iairgood
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
iairgood
Top achievements
Rank 1
Dimitar Milushev
Telerik team
Share this question
or