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. Advertisements

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. Jonas Nilsson

    ItemCommand Event fires twice

    Jonas Nilsson, Aug 1, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    2,593
    Jonas Nilsson
    Aug 1, 2003
  2. Rick Lubanovic

    onbeforeunload event is fired twice

    Rick Lubanovic, Oct 30, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    949
    Rick Lubanovic
    Oct 30, 2003
  3. =?Utf-8?B?Tmltcm9kIENvaGVu?=

    Page_Load being fired twice

    =?Utf-8?B?Tmltcm9kIENvaGVu?=, May 27, 2004, in forum: ASP .Net
    Replies:
    7
    Views:
    1,054
    Steven Cheng[MSFT]
    Jun 9, 2004
  4. Zubair.NET!

    ASP.NET Page refreshes Twice

    Zubair.NET!, Mar 22, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    811
    Zubair.NET!
    Mar 23, 2006
  5. Shannon Cayze

    Too much data in DataGrid when page refreshes

    Shannon Cayze, Jul 1, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    297
    Saravana
    Jul 2, 2003
  6. Vishal

    ItemCommand not fired with LoadTemplate

    Vishal, Feb 22, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    215
    Vishal
    Feb 22, 2005
  7. Replies:
    0
    Views:
    189
  8. Manick

    datagrid's itemcommand event gets fired

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