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

Grid loses display on TabControl

8 Answers 41 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sid
Top achievements
Rank 1
Sid asked on 09 Jan 2009, 08:52 PM
I have a grid which displays a listing of records on a TabControl.  A second tab displays the detail for the selected record on the grid.  This all works fine except when I go back to the grid list tab, the grid is blank.  The data is there because if I click a different record and move to the detail tab it displays that corresponding data.  Also, if I page down and then back up the grid will redisplay the data correctly.  So it's definitely just a display issue.  Any ideas?

Thanks,
-Sid Meyers.

8 Answers, 1 is accepted

Sort by
0
Accepted
Pavel Pavlov
Telerik team
answered on 12 Jan 2009, 05:19 PM
Hi Sid,

This is a known issue of the RadGridView  which we are currently fixing. The problem is in the way the Tab control manages contents and works with its visual tree. It manifests in disappearing rows (actually the contents of rows) when switching between tabs in some scenarios.

The fix will be included in our very next release. If meanwhile this is critical for your project, let me know so we can think of some workarounds.

Regards,
Pavel Pavlov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Sid
Top achievements
Rank 1
answered on 12 Jan 2009, 05:39 PM
Pavel,

Not critical at this point.  I'm still in the beginning stages of the project.

Thanks for the reply,

-Sid.
0
JTango
Top achievements
Rank 1
answered on 13 Jan 2009, 07:48 AM
Sid,

I was having a very similar problem. The issue went away for me when I removed IsFilteringAllowed="False". Not sure why and I'm not sure if it will help you, but I thoguht it was worth mentioning.

Cheers

Justin
http://jtango.wordpress.com
0
Hristo Deshev
Telerik team
answered on 13 Jan 2009, 12:09 PM
Hello Sid, JTango,

I have been investigating the bug since yesterday, and I have found out that IsFilteringAllowed="True" triggers an additional realize-visible-rows pass that seems to mask the disappearing cells issue. That seems to be the easiest workaround for the moment (until we fix the bug).

Kind regards,
Hristo Deshev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jeff
Top achievements
Rank 1
answered on 31 Mar 2017, 11:06 PM
I'm gonna take a wild guess and say this still is not fixed? Same thing is happening to me. I don't understand yet how to stop this from happening.
0
Dilyan Traykov
Telerik team
answered on 04 Apr 2017, 12:13 PM
Hello Jeff,

Could you please give more details on your exact setup so that I may further assist you with this? Also, can you specify which version of the UI for WPF suite you're currently using?

I tried to create a layout similar to the one Sid described, but I'm unable to reproduce the described issue. I'm attaching the sample project I've used for doing so. Could you please have a look at it and let me know if I'm missing something of importance?

I'm looking forward to your reply.

Regards,
Dilyan Traykov
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
0
Jeff
Top achievements
Rank 1
answered on 19 Apr 2017, 01:47 AM

Hi Dilyan,

Sorry, I just saw this, I will test shortly and let you know. However, I have a tabcontrol which hosts a radgridview. The tabcontrol is bound via MVVM. Every time I switch tabs, I loose all the columns inside the grid. I'll take a look at your solution and see if this is applicable to my issue. Thanks.

0
Dilyan Traykov
Telerik team
answered on 21 Apr 2017, 11:44 AM
Hello Jeff,

Do let me know once you manage to replicate the issue.

Regards,
Dilyan Traykov
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
GridView
Asked by
Sid
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Sid
Top achievements
Rank 1
JTango
Top achievements
Rank 1
Hristo Deshev
Telerik team
Jeff
Top achievements
Rank 1
Dilyan Traykov
Telerik team
Share this question
or