RowFormatting bug.

2 posts, 0 answers
  1. Nick
    Nick avatar
    20 posts
    Member since:
    Aug 2010

    Posted 06 Jan Link to this post

     I have a video recording of the bug: https://youtu.be/dw8YDnO5njs

    I have a RowFormatting event; if there is an error, I set the row Red and debug.writeline 'Error'. If the value is changed, I make it green and write out 'Changed'.

    See the video; here's the debug output for all RowValidation events:

    • dragercode: Ok
      dragercode: Ok
      dragercode: Ok
      voornaam: Ok
      voornaam: Ok
      voornaam: Ok
      dragercode: Ok
      dragercode: Ok
      dragercode: Ok
      tusenvoegsel: Ok
      achternaam: Ok
      afdeling: Ok
      indienst: Ok
      uitdienst: Changed
      status: Changed
      opmerking: Ok
      wisselkastgroep: Ok
      wisselkastvak: Ok
      kledingkastgroep: Ok
      kledingkastvak: Ok
      emailadres: Ok

    Yet, you see that 'uitdienst' is just white. When I mouse-over or click, it shows up with the green color.

    Version 2018.3.907.4

  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3624 posts

    Posted 07 Jan Link to this post

    Hello, Nick,   

    According to the provided information, it is not clear what is the exact implementation that you have in the RowFormatting event. However, have in mind that setting the BackColor property to the row element is not enough. Make sure that the DrawFill property is enabled as well and the GradientStyle is set to Solid. Thus, the color is expected to be applied correctly. Please refer to the following help article for further information how to properly handle the RowFormatting event: https://docs.telerik.com/devtools/winforms/controls/gridview/rows/formatting-rows 

    If you are still experiencing any further difficulties, it would be greatly appreciated if you can provide a sample project demonstrating the undesired behavior. Thus, we would be able to get better understanding of the precise case and assist you further. Thank you in advance.

    I hope this information helps. If you need any further assistance please don't hesitate to contact me.

    Regards,
    Dess | Tech Support Engineer, Sr.
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top