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

  2. addup Guest

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

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

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. Jon paugh
    Replies:
    1
    Views:
    1,357
  2. Nevyn Twyll
    Replies:
    8
    Views:
    2,324
  3. Gustavo Venturo

    Help with URL.Encode

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

    Problem with URL encode serialized object

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

    Encode url with JSDK 1.3

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

    URL-encode fragment identifier?

    Christian Roth, May 25, 2004, in forum: XML
    Replies:
    0
    Views:
    1,242
    Christian Roth
    May 25, 2004
  7. Lurker

    url encode latin-1 characters

    Lurker, Jul 24, 2006, in forum: Python
    Replies:
    1
    Views:
    1,278
    John Machin
    Jul 24, 2006
  8. JerryK

    proper way to encode URL for image control

    JerryK, Nov 23, 2004, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    260
    JerryK
    Nov 23, 2004
Loading...