Wrong event fires in my asp.net datagrid

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
 
T

Travis Murray

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
 
H

Hannes Larsson

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?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top