Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

My column in the list has this values

Links Type the Web address: (Click here to test)

<asp:HyperLinkField DataNavigateUrlFields="Links" DataTextField="Links" 
                HeaderText="Date" />

Type the description: the code in bottom is the code for my link it shows duplicates of the url because its link and desciption but i only want the link...

enter image description here

share|improve this question
    
@Fox do u maybe now how to solve this? –  Martin Feb 1 '13 at 15:27
    
Maybe you could use a PlaceHolder manipulate your data and print the result do you want –  Salvatore Di Fazio Feb 1 '13 at 15:45

1 Answer 1

What I do is on code behind getting SPFieldUrl object and after I get the right value put it in the Literal control on Aspx side.

See this article!

Maybe it will help,

Andrew

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.