linkbutton command event deletes grid

Discussion in 'ASP .Net Datagrid Control' started by Rubble, Feb 12, 2004.

  1. Rubble

    Rubble Guest

    Hello,

    Ive got a datagrid that is created on a user control(ascx) page. My
    web form calls the user control and passes some property values to it,
    then the user control takes those and creates the datagrid.

    Everything works well, but I have a template column in the grid that
    has a linkbutton. I want the commandevent of the linkbutton to run an
    event that redirects to another page, depending on what the data is
    for that particular row. For some reason, whenever I click the link
    in the grid, it just refreshes the page and the grid disappears.

    Any suggestions?

    Thanks!
    B. Rubble
     
    Rubble, Feb 12, 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. Scott Collens

    browser hangs when user deletes cookies

    Scott Collens, Mar 4, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    329
    bruce barker
    Mar 4, 2004
  2. =?Utf-8?B?TXBob3ph?=

    Confirming Deletes in a DataGrid

    =?Utf-8?B?TXBob3ph?=, Aug 6, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    436
    =?Utf-8?B?UmF2aWthbnRoW01WUF0=?=
    Aug 6, 2004
  3. Sathyaish
    Replies:
    3
    Views:
    3,108
    Sathyaish
    Sep 8, 2005
  4. papaja
    Replies:
    4
    Views:
    1,817
    Hans Kesting
    Dec 5, 2005
  5. Sathyaish

    Linkbutton does not look like a linkbutton

    Sathyaish, Sep 8, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    187
    Sathyaish
    Sep 8, 2005
Loading...

Share This Page