Forum Discussion

tppegu's avatar
tppegu
Contributor
14 years ago

Character encoding problem with Silverlight textbox's SetValue method

Hi all.

Using JScript, I am trying to use the SetValue method to put text into a Silverlight textbox. But there appears to be a character encoding issue, because when I try to set a value like "foo", what appears in the textbox is "潆o"

I know I can use the Keys method instead, but I'd really like to find a way to make this work. Is there some way I can massage the string before passing it to the SetValue method?