hi guys iam binding columns from database and showing in gridview but one column is url so i need to give hyperlink that field but if i click on that link iam not able to pass url navigating another page
DataNavigateUrlFormatString='URL'
DataTextField="URL" HeaderText="urlpa" target="_blank"/>
///
10 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Asma KhalidPosted Jun 9, 2017, 4:44 AM
Manikandan MurugesanPosted Jun 12, 2017, 12:24 AM
Change the links declaration and the binding expression to the following:
Phaneendra ChakravaramPosted Jun 9, 2017, 8:00 AM
Satyaprakash SamantarayPosted Jun 9, 2017, 5:27 AM
Satyaprakash SamantarayPosted Jun 9, 2017, 5:08 AM
Phaneendra ChakravaramPosted Jun 9, 2017, 4:55 AM
Phaneendra ChakravaramPosted Jun 9, 2017, 3:35 AM
Asma Khalid i defind datafield only "url"
Asma KhalidPosted Jun 9, 2017, 3:14 AM
See in the snippet below, when I navigate to the link column, I am seeing "Testimonials.aspx" as the URL address, this means you need to set your link as below i.e.
Phaneendra ChakravaramPosted Jun 9, 2017, 2:59 AM
Asma KhalidPosted Jun 9, 2017, 2:47 AM
use you link as follow i.e.