This is a migrated thread and some comments may be shown as answers.

Differnt colors at inline editing

1 Answer 38 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rainer
Top achievements
Rank 1
Rainer asked on 28 Oct 2019, 09:11 AM

Hello,

I use a lot of grids in my web app. All the backgrounds of the inline editor is green except 2. In two grids the background of the inline editor is grey, why?

See attachment.

Best, Rainer

1 Answer, 1 is accepted

Sort by
0
Rainer
Top achievements
Rank 1
answered on 29 Oct 2019, 11:55 AM

I fix it in RadGrid1_ItemDataBound:

            if e.Item.IsInEditMode AndAlso TypeOf e.Item Is GridEditableItem
                       Dim item As GridEditableItem  = DirectCast(e.Item, GridEditableItem)
                       item.BackColor = Color.Green
            End If

Tags
Grid
Asked by
Rainer
Top achievements
Rank 1
Answers by
Rainer
Top achievements
Rank 1
Share this question
or