Nate Pet
Nate Pet

Reputation: 46242

GridHyperLinkColumn - Show hyperlink text

I have the following code:

<telerik:GridHyperLinkColumn DataTextField="VerificationId" DataNavigateUrlFields="VerificationId" 
    DataNavigateUrlFormatString="Entry.aspx?VerId={0}"
    HeaderText="" UniqueName="VerificationId">  
</telerik:GridHyperLinkColumn>

I would like the hyperlink to display "View" when I change DataTextField to "View".

I am not sure how to do that with the above code.

Upvotes: 0

Views: 1588

Answers (1)

R B
R B

Reputation: 423

You can try setting the text property:

 <telerik:GridHyperLinkColumn DataTextField="VerificationId" DataNavigateUrlFields="VerificationId" 
           DataNavigateUrlFormatString="Entry.aspx?VerId={0}"
           HeaderText="" UniqueName="VerificationId" Text = "View">  

Upvotes: 2

Related Questions