DataGrid refreshes twice when ItemCommand fired

Discussion in 'ASP .Net Datagrid Control' started by alto, May 17, 2005.

  1. alto

    alto Guest

    I have a dynamic grid w/ link buttons inside template coluns. The grid
    responds to the ItemCommand evt and the user can edit the relevant
    DataGridItem. The only problem occurs after an update. The grid displays the
    updated values but if the user clicks on the updated grid, it is just
    refreshed in a postback (i.e. showing exactly the same values), and the
    editting interface appears only upon a secon click. How can I have my grid
    skip the extra refresh and go in editting at once?

    Note: Since the grid is dynamic I have to bind it on every postback.

    TIA
     
    alto, May 17, 2005
    #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. Natty Gur
    Replies:
    0
    Views:
    612
    Natty Gur
    Jun 30, 2003
  2. Jonas Nilsson

    ItemCommand Event fires twice

    Jonas Nilsson, Aug 1, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    2,139
    Jonas Nilsson
    Aug 1, 2003
  3. Zubair.NET!

    ASP.NET Page refreshes Twice

    Zubair.NET!, Mar 22, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    693
    Zubair.NET!
    Mar 23, 2006
  4. Vishal

    ItemCommand not fired with LoadTemplate

    Vishal, Feb 22, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    138
    Vishal
    Feb 22, 2005
  5. Manick

    datagrid's itemcommand event gets fired

    Manick, Oct 24, 2005, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    195
Loading...

Share This Page