Escape Sequence

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have a label where I set the text to "Input value in format xxxx\xx"

This gets rendered as "Input value in format xxxx\\xx"

I have tried to set the text in the codebehind and use an escape sequence.

What am I doing wrong?
 
It works here but not sure how your code is. Try setting the text from the
..aspx itself with a single \ character or from code-behind as @"xxxx\xx" or
"xxxx\\xx".
 
Back
Top