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

Row Background Color not stable

3 Answers 27 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Maudi
Top achievements
Rank 1
Maudi asked on 18 Sep 2014, 03:04 PM
Normal color is white, selected orange.
But when loading, some or all rows (changes every time, no logic in that)
have an abnormal color.
This color is always the same color, but it's never set.

Looks like it happens more often when using the filter.

Does anyone has the same problem, or knows a solution to this.

Thanks

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 22 Sep 2014, 06:57 AM
Hello,

Looking at the attached image, it seems this abnormal color is actually the validation border for the rows. May I ask you if you have defined any validation for your bound data? You can find more information on Validating RadGridView in our online documentation.

Then, you say it happens more often when using the filter - do you eventually work with the visual elements (i.e. GridViewRow, GridViewCell) in your implementation? 

Regards,
Dimitrina
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Maudi
Top achievements
Rank 1
answered on 23 Sep 2014, 08:08 AM
Thank you Dimitrina,

It had to do with the Validation somehow.
I've added ValidatesOnDataErrors=InEditMode to the grids and the irritating random red rows are gone.
Strange thing is, that there is no validation defined on the bound data, so there are still some questions.

Besides that, this occured since the last release and we are not aware of any changes on this matter.
In the implementation we don't work with the visual elements.

For now it's ok, when I figured out the answers of the questions I still have I will post it here.
0
Dimitrina
Telerik team
answered on 23 Sep 2014, 11:05 AM
Hi,

As to your remaining questions, would it be possible for you to please open a new support thread and attach a demo project illustrating the issue there? You can take a look at this blog post for a reference on how to isolate an issue. 

That way we will be able to advise you better on your particular case.

Regards,
Dimitrina
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
GridView
Asked by
Maudi
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Maudi
Top achievements
Rank 1
Share this question
or