Wrong event fires in my asp.net datagrid

  • Thread starter Thread starter Hannes
  • Start date Start date
H

Hannes

HI

I have a datagrid where I have a edit, update, cancel column. If I
klick at edit, the edit event fires. But if i click att update, the
same event fires (edit-event).

What am I doing wrong? any ideas? anybody?

/hannes
 
It sounds like you just have your events wired up incorrectly. Which
language are you using? If VB, check your "Handles" keyword. If C#, look
in InitializeComponent. Post some code and I'll be happy to look at it.

Travis Murray
MCSD, MCT
Artiem Consulting, Inc
http://www.artiem.com
 
I'm using VB.
It seems like when I klick the update link-label, the selectedindex and
edititemindex is set to nothing. Can this effect the update event
handler? is that why the edit command is fired?
 
Back
Top