Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Url-encode in DataList

Reply
Thread Tools

Url-encode in DataList

 
 
sjurmr@online.no
Guest
Posts: n/a
 
      12-19-2005
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

 
Reply With Quote
 
 
 
 
addup
Guest
Posts: n/a
 
      12-19-2005
use a placeholder instead of a label?

 
Reply With Quote
 
 
 
 
sjurmr@online.no
Guest
Posts: n/a
 
      12-21-2005
Thanks for answering. Tried to add the link using a Literal inside a
Placeholder, but still gets encoded. Any more ideas?

Regards,
Sjur

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Entering DataList EditItemTemplate from Outside of the DataList Luis Esteban Valencia ASP .Net 1 01-06-2005 07:32 PM
Setting up a datalist control - Item_DataBound for a datalist in a datalist Nevyn Twyll ASP .Net 8 09-09-2004 10:13 PM
Click event in a datalist to post back datalist properties Steve Lloyd ASP .Net 1 05-26-2004 04:07 AM
DataList in DataList acko bogicevic ASP .Net 2 11-11-2003 08:31 AM
Datalist in Datalist How? Gönen EREN ASP .Net 0 08-22-2003 02:41 PM



Advertisments