DevPinoy.org
A Filipino Developers Community
   

HOW TO CREATE HYPERLINK IN A GRID...

rated by 0 users
This post has 2 Replies | 1 Follower

Not Ranked
Posts 1
Points 20
VENKATESH Posted: 10-29-2007 10:45 PM

Hi, I am Displaying data from my data base . I want to create a hyperlink or when the user clicks on the record or grid column i want to display it in a label or text box...

Top 10 Contributor
Posts 2,038
Points 42,030

You can accomplish this by adding a click event to your hyperlink(i think this should be a linkbutton instead) and posting the page back to itself(or you can use ajax to remove the unecessary postback)

devpinoy sig

  • | Post Points: 5
Top 10 Contributor
Posts 2,038
Points 42,030

Hi,

I created an article to demonstrate the solution to your problem.

http://devpinoy.org/blogs/keithrull/archive/2007/11/01/how-to-read-the-values-of-a-gridviewrow-and-assign-them-to-a-control.aspx

HTH 

Thanks,

Keith

devpinoy sig

  • | Post Points: 5
Page 1 of 1 (3 items) | RSS
Copyright DevPinoy 2005-2008