Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

How to: Disable Buttons in a Button Column in the Windows Forms DataGridView Control which is in the child form

$
0
0

I have refereed the below existing link to add a "DataGridViewDisableButtonCell" to my datagrid view and its working.

I have rows in my grid and based on the value from one of the column, I need to enable to disable the "DataGridViewDisableButtonCell" button. 

the code sample in the below link is working when the form is stand alone, when I make the form as child form, the code is not working and its not setting the enable property as expected.

"  https://docs.microsoft.com/en-us/dotnet/framework/winforms/controls/disable-buttons-in-a-button-column-in-the-datagrid?redirectedfrom=MSDN  "


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>