DataGridView Button Columns not triggering CellClick Event

  • Thread starter Thread starter RSH
  • Start date Start date
R

RSH

Hi,

I have a very basic Datagridview that I have setup from code. I added a
buttonColumn from code and setup a CellClick handler. When i click the
buttons nothing happens. I assume I have to wire up the buttons but I can't
find any examples on this. In addition the New Row contains buttons in ever
column...I dont understand why this is occurring.

Thanks for any help you might be able to provide.

Ron
 
I resolved the issue:

dataGridView1.CellClick += new
DataGridViewCellEventHandler(dataGridView1_CellClick);
 

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

Back
Top