PC Review


Reply
Thread Tools Rate Thread

DataGridView Button Columns not triggering CellClick Event

 
 
RSH
Guest
Posts: n/a
 
      19th Jun 2006
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


 
Reply With Quote
 
 
 
 
RSH
Guest
Posts: n/a
 
      19th Jun 2006
I resolved the issue:

dataGridView1.CellClick += new
DataGridViewCellEventHandler(dataGridView1_CellClick);





"RSH" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I capture the button's click event of a DataGridView column? maarif@gmail.com Microsoft C# .NET 1 30th Apr 2008 02:58 PM
Access 2007 Button Not Triggering Event =?Utf-8?B?RGV2RGFuaWVs?= Microsoft Access Form Coding 1 9th May 2007 12:35 AM
Dynamically-added Button not triggering event handler. Why? parsifal Microsoft ASP .NET 4 15th Mar 2007 04:57 PM
Doing a javascript form.submit and triggering server side event code for button John Boy Microsoft ASP .NET 4 9th Nov 2005 11:25 AM
Triggering Button clicked event when I hit enter key at edit box.... Veeresh Microsoft ASP .NET 1 16th Jun 2004 08:38 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:45 AM.