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

Gridview not displaying text

3 Answers 220 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kennith
Top achievements
Rank 1
Kennith asked on 02 Apr 2010, 04:45 PM
We recently upgraded from the Q2 2008 to the latest version.

Since this update, there is a particular instance where the text within the gridview doesn't display. I can see the rows. The rows have the data (we have code where when you double click it does some things.. validating that the data exists). I'm tempted to delete the grid and re-create it since that seems to solve some of the other upgrade problems.

To make this more interesting when I re-bound the grid to other data sources it works fine.. it's just this one source. I've stepped the code and can't find anything that modifies the display to the grid whatsoever.

I'm kind of lost on how to track this down -- any suggestions?

3 Answers, 1 is accepted

Sort by
0
Kennith
Top achievements
Rank 1
answered on 02 Apr 2010, 05:03 PM
Ok... recreating (actually, I just deleted the old one... dropped a new one, named the new one the same as the old and didn't change anything else) the grid didn't change anything leaving me to assume it's either in code or a potential bug in the grid (unlikely).
0
Kennith
Top achievements
Rank 1
answered on 02 Apr 2010, 05:33 PM
Ok.. found the problem. I had to set the DataSource to null before binding it again. The problem was incorrect columns due to that. The reason the wasn't a problem for 75% of the other times was because those columns were the same for each other, the 25% of the time one causing empty display had 100% different column names (for example: Campus and CampusName).
0
Svett
Telerik team
answered on 07 Apr 2010, 09:52 AM
Hello Kennith,

I'm glad that you addressed the issue on your own. Do not hesitate to ask us if you need further assistance.

All the best,
Svett
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Kennith
Top achievements
Rank 1
Answers by
Kennith
Top achievements
Rank 1
Svett
Telerik team
Share this question
or