I have a form where i have used Infragistics windows grid control to display the data. In this, i have placed a button on one of the cell. I want to set its visibility either True or False based on the row condition. I have handled the InitializeRow event of UltraWinGrid control and able to disable the button. But i am unable to set the button's visible to False.
views:
642answers:
3
+1
A:
UltraGridRow row = ...
row.Cells[buttonCellIndex].Hidden = true;
(I'm using the UltraGrid
in Infragistics NetAdvantage for Windows Forms 2008 Vol. 2 CLR 2.0.)
Lette
2008-09-30 11:26:15
A:
At first yo must achieve the row and cell , then use findControl method and assign that to a button , now the button is in your hand . you can set the visibility :)
Sypress
2009-01-01 08:41:52