Url-encode in DataList

Discussion in 'ASP .Net' started by sjurmr@online.no, Dec 19, 2005.

  1. Guest

    Hi all,

    I have a datalist containing an asp:Label which writes a link to the
    list using codebehind. The link contains a jacascript and an encrypted
    userid. The link looks ok in codebehind, but when the label is written
    to the page, it somehow url-encodes the label-text and messing up my
    encryption (which is already url-encoded). Is there some way I can
    escape this encoding?

    Regards,
    Sjur Rondestveit, Norway
    , Dec 19, 2005
    #1
    1. Advertising

  2. addup Guest

    use a placeholder instead of a label?
    addup, Dec 19, 2005
    #2
    1. Advertising

  3. Guest

    Thanks for answering. Tried to add the link using a Literal inside a
    Placeholder, but still gets encoded. Any more ideas?

    Regards,
    Sjur
    , Dec 21, 2005
    #3
    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. Nevyn Twyll
    Replies:
    8
    Views:
    1,845
  2. Gustavo Venturo

    Help with URL.Encode

    Gustavo Venturo, Sep 14, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    469
  3. Francois Gagnon

    Problem with URL encode serialized object

    Francois Gagnon, Mar 2, 2004, in forum: Java
    Replies:
    1
    Views:
    801
    John C. Bollinger
    Mar 2, 2004
  4. Jacob Welsh

    Encode url with JSDK 1.3

    Jacob Welsh, Dec 21, 2004, in forum: Java
    Replies:
    7
    Views:
    594
    Jacob Welsh
    Dec 22, 2004
  5. Christian Roth

    URL-encode fragment identifier?

    Christian Roth, May 25, 2004, in forum: XML
    Replies:
    0
    Views:
    964
    Christian Roth
    May 25, 2004
Loading...

Share This Page