Escape Sequence

Discussion in 'ASP .Net' started by =?Utf-8?B?Qw==?=, Jun 29, 2007.

  1. 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?
     
    =?Utf-8?B?Qw==?=, Jun 29, 2007
    #1
    1. Advertising

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

    "C" wrote:

    > 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?
    >
     
    =?Utf-8?B?U2l2YSBN?=, Jun 29, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. h babu
    Replies:
    1
    Views:
    427
    Vidar Petursson
    Jul 16, 2003
  2. marcia

    escape sequence \n

    marcia, Aug 28, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    570
    marcia
    Aug 28, 2003
  3. Jeff

    Unrecognized escape sequence

    Jeff, Jun 30, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    39,154
    mansoorbhai
    Jun 21, 2011
  4. N U

    escape sequence

    N U, Sep 12, 2003, in forum: C Programming
    Replies:
    7
    Views:
    572
    LibraryUser
    Sep 13, 2003
  5. slomo
    Replies:
    5
    Views:
    1,628
    Duncan Booth
    Dec 2, 2007
Loading...

Share This Page