Differnt colors at inline editing

2 posts, 0 answers
  1. Rainer
    Rainer avatar
    18 posts
    Member since:
    Nov 2017

    Posted 28 Oct Link to this post

    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

  2. Rainer
    Rainer avatar
    18 posts
    Member since:
    Nov 2017

    Posted 29 Oct in reply to Rainer Link to this post

    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

Back to Top