Results 1 to 2 of 2

Thread: HyperlinkColumn

  1. #1
    Join Date
    Dec 1969

    Default HyperlinkColumn

    Can anyone tell me how the HyperLinkColumn works? I have a data grid where I want to click on an item and then go to a page with more info on that item. Right now, the link just has something like: http://localhost/demo/2333 where 2333 is the id of the data I need. I obviously need something like: http://localhost/demo/detail.aspx?id=2333.<BR><BR>Thanks for any insight.<BR><BR><BR>PS: Is there a better way to do this instead of using a hyperlinkcolumn to transfer specific data field?

  2. #2
    Join Date
    Dec 1969

    Default RE: HyperlinkColumn

    Try populating one field of the datagrid with the URL and then add something like this in HTML edit mode:<BR><BR>&#060;columns&#062;<BR> &#060;asp:hyperlinkcolumn DataNavigateURLField="Name_Of_YOur_URL_Field" text="View Product" target="_blank" /&#062;<BR>&#060;/columns&#062;<BR><BR>I think that something like that will work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts