I'm putting the text in an XML Document, then sending it out via UDP to
another computer, where the InnerText is put into the RTB. Before I used
the RTB, I used a standard TextBox and didn't have this problem. So what
could be changing it? I type in "Captain & Tennill" and get "Captain &
Tennill" at the other end.
"Larry Lard" <la*******@hotmail.com> wrote in message
news:11*********************@i39g2000cwa.googlegro ups.com...
Terry Olsen wrote: How can I force the RTB to display an ampersand as '&' instead of
'&'?
And '<' instead of '<', etc?
Well, the RTB doesn't do any translation of its own. It just displays
the string you put in it. So may be the string you think has & in it
actually has already had the html stuff encoded? Check in the debugger
what you are actually assigning to the RTB.
--
Larry Lard
Replies to group please