Escape Sequence

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?
 
G

Guest

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".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top