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. Hyperlinks in datagrid!

Hyperlinks in datagrid!

Scheduled Pinned Locked Moved ASP.NET
helpquestion
3 Posts 2 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.
  • N Offline
    N Offline
    nclauder
    wrote on last edited by
    #1

    Hi all, I have two datagrid, one has a list of allowed user of the second datagrid. The second datagrid is an inserting datagrid and it Function properly. Now where my problem is I need to be able to select a particular name and will be able to see whatever the Particular selected user has been inserting in the insert datagrid. So I made the names in Hyperlink and and this is the code I'm using but it's not to be working: When I press the Name nothing changing. Where could be the problem? Thanks.

    K 1 Reply Last reply
    0
    • N nclauder

      Hi all, I have two datagrid, one has a list of allowed user of the second datagrid. The second datagrid is an inserting datagrid and it Function properly. Now where my problem is I need to be able to select a particular name and will be able to see whatever the Particular selected user has been inserting in the insert datagrid. So I made the names in Hyperlink and and this is the code I'm using but it's not to be working: When I press the Name nothing changing. Where could be the problem? Thanks.

      K Offline
      K Offline
      kubben
      wrote on last edited by
      #2

      I would check your source when you have the page in your browser. Just go to view source. See what is actually in your navigateurl. I am guessing you actually want the code to look something like this:

      NavigateUrl='<%# "../Dash_Board/DashBoard.aspx?Name="+DataBinder.Eval(Container.DataItem,"TeamBilling").ToString()%>'

      Hope that helps. Ben

      N 1 Reply Last reply
      0
      • K kubben

        I would check your source when you have the page in your browser. Just go to view source. See what is actually in your navigateurl. I am guessing you actually want the code to look something like this:

        NavigateUrl='<%# "../Dash_Board/DashBoard.aspx?Name="+DataBinder.Eval(Container.DataItem,"TeamBilling").ToString()%>'

        Hope that helps. Ben

        N Offline
        N Offline
        nclauder
        wrote on last edited by
        #3

        Thanks Kubben, It's close to that only that it does not selects What the selected person wrote in the insert Datagrid. other wise now in the view source the URL looks like this: Claude Thanks.

        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