Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. hyperlink column in Datagrid

hyperlink column in Datagrid

Scheduled Pinned Locked Moved ASP.NET
csswpfwcfhelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lijukv
    wrote on last edited by
    #1

    Autogeneratecolumns is true 13 column's and their data is displayed by binding the grid to datatable I want the 14th column to be a hyperlink column and want to provide the details from datatable. I tried to provide the hyperlink column after changing the autogeneratecolumns property to 'false' dynamically, but not working Is it possible to do the databinding and adding up of hyperlink column to the existing column collection at the same time. help me

    P J 2 Replies Last reply
    0
    • L lijukv

      Autogeneratecolumns is true 13 column's and their data is displayed by binding the grid to datatable I want the 14th column to be a hyperlink column and want to provide the details from datatable. I tried to provide the hyperlink column after changing the autogeneratecolumns property to 'false' dynamically, but not working Is it possible to do the databinding and adding up of hyperlink column to the existing column collection at the same time. help me

      P Offline
      P Offline
      padvit
      wrote on last edited by
      #2

      Hi there you can do it. I would appreciate If could tell me you are doing al at design time or runtime. If it as at runtime it is surely possible

      1 Reply Last reply
      0
      • L lijukv

        Autogeneratecolumns is true 13 column's and their data is displayed by binding the grid to datatable I want the 14th column to be a hyperlink column and want to provide the details from datatable. I tried to provide the hyperlink column after changing the autogeneratecolumns property to 'false' dynamically, but not working Is it possible to do the databinding and adding up of hyperlink column to the existing column collection at the same time. help me

        J Offline
        J Offline
        Jerry Hammond
        wrote on last edited by
        #3

        Well, I'm no expert with asp.net--or anything else for that matter--but no withstanding the previous posters advice is is my understanding that you will have to set AutoGenerateColumns=false and then programmically set your columns accordingly. The following does not have a hyperlink column but should, none the less, give a good idea of what you'll need to do.

        Jerry He said this was like painstakingly assembling the first layer of a house of cards, then boasting that the next 15,000 layers were a mere formality.--The Code Book, pp. 331 Toasty0.com DotNetGroup.org

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups