| Author |
To limit no of character (30) in SuggestBox
|
Harshal Gurav
Ranch Hand
Joined: May 29, 2008
Posts: 150
|
|
Hi All,
I have one SuggestBox populating data from database. also user can manually add text into the same.
I want to restrict no of character in SuggestBox is 30.
I used the method
suggestbox.getTextBox() method but no avaliable method are available like setmaxlength() or like
Any suggestion is highly aapreciated
.
Regards
Haresh
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8434
|
|
|
suggestbox.getTextBox() returns you a TextBoxBase. Maybe you can try casting it to TextBox and then invoking setMaxLength() on it
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
 |
|
|
subject: To limit no of character (30) in SuggestBox
|
|
|