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

Little Bug Of EmptyMessage With Chinese Word

1 Answer 9 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Fei
Top achievements
Rank 1
Fei asked on 29 Sep 2013, 01:21 AM
Hi there,
I found a little bug of AutoCompleteBox..
When I Use Chinese or other double-size word in EmptyMessage,like this
EmptyMessage="输入客户名称中的任意字符"
It will only display half (see attachment)

 I track the box with firebug,found that when the racinput is empty, it have a attr  "size=13"
this "13" is then length of my empty message
In  english ,it works fine ,because  size=13 can display 13 chars,
but in chinese ,it only display half ,because one chinese character will take 2 size...

the solution is.....
use space .....
EmptyMessage="输入客户名称中的任意字符             "

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 02 Oct 2013, 10:02 AM
Hello Fei,

I was able to replicate the described issue and I have already forwarded it to our developer team. Thank you for pointing that out.

Regards,
Nencho
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
AutoCompleteBox
Asked by
Fei
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or