DataGrid Button Short dude....

Discussion in 'ASP .Net Web Controls' started by Josema, Jun 16, 2004.

  1. Josema

    Josema Guest

    Hi,

    Im making a web custom datagrid of products.

    I have this piece of code in the override OnInit Method:

    ButtonColumn colbtn=new ButtonColumn();

    colbtn.ButtonType=ButtonColumnType.LinkButton;

    colbtn.Text="<a href=# onclick=alert("+")>See Product</a>";

    How could i know what link is pressed by the user?,

    i would like to have a link buton in each row of the datagrid, and when a user clicks on it open a popup and pass the ID of the product to the page that im opening?

    Thanks
    Josema.
    Josema, Jun 16, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Richard
    Replies:
    8
    Views:
    577
    Richard
    Feb 7, 2005
  2. Guttyguppy

    New xml dude needs help with xslt

    Guttyguppy, Sep 15, 2005, in forum: XML
    Replies:
    6
    Views:
    382
  3. Merrill & Michele

    Dude and Duden

    Merrill & Michele, Dec 10, 2004, in forum: C Programming
    Replies:
    6
    Views:
    377
    Merrill & Michele
    Dec 13, 2004
  4. Pistorius

    Hyperlink dude!!

    Pistorius, Dec 23, 2009, in forum: .NET
    Replies:
    1
    Views:
    319
    Pistorius
    Dec 23, 2009
  5. Josema

    Validator Short dude

    Josema, Jun 3, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    90
    Josema
    Jun 3, 2004
Loading...

Share This Page