Home All Groups Group Topic Archive Search About

Button in DataViewGrid not displaying text... bug?

Author
16 Jul 2006 8:17 PM
Raeldor
Hi,

I have an unbound button in a dataview grid control, and it's not displaying
the text on the button correctly.  I set both the Text and the
UseColumnTextForButtonValue properties, but the button is blank.  I also used
the code directly from the 'How to: Add an Unbound Column to a Data-Bound
Windows Forms DataGridView Control' article, but that doesn't work either.

Is this a bug?

Thanks for any help

Author
16 Jul 2006 8:41 PM
Raeldor
Oh, and this applies to the 'new row' row only.  Existing rows are ok, but I
need a 'select file...' text in the button for the new row too.

Thanks again

Show quote
"Raeldor" wrote:

> Hi,
>
> I have an unbound button in a dataview grid control, and it's not displaying
> the text on the button correctly.  I set both the Text and the
> UseColumnTextForButtonValue properties, but the button is blank.  I also used
> the code directly from the 'How to: Add an Unbound Column to a Data-Bound
> Windows Forms DataGridView Control' article, but that doesn't work either.
>
> Is this a bug?
>
> Thanks for any help

AddThis Social Bookmark Button