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"/>
///

Asma KhalidRank #160 · 14.7K reputationPosted Jun 9, 2017, 12:44 AM EDT
Asma KhalidRank #160 · 14.7K reputationPosted Jun 8, 2017, 10:47 PM EDT
use you link as follow i.e.
Phaneendra ChakravaramRank #2,544 · 549 reputationPosted Jun 8, 2017, 10:59 PM EDT
Asma KhalidRank #160 · 14.7K reputationPosted Jun 8, 2017, 11:14 PM EDT
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 ChakravaramRank #2,544 · 549 reputationPosted Jun 8, 2017, 11:35 PM EDT
Asma Khalid i defind datafield only "url"
Phaneendra ChakravaramRank #2,544 · 549 reputationPosted Jun 9, 2017, 12:55 AM EDT
Satyaprakash SamantarayRank #101 · 21.1K reputationPosted Jun 9, 2017, 1:08 AM EDT
Satyaprakash SamantarayRank #101 · 21.1K reputationPosted Jun 9, 2017, 1:27 AM EDT
Phaneendra ChakravaramRank #2,544 · 549 reputationPosted Jun 9, 2017, 4:00 AM EDT
Manikandan MurugesanRank #300 · 8.4K reputationPosted Jun 11, 2017, 8:24 PM EDT
Change the links declaration and the binding expression to the following:
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts