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

RadGridView in not selected RadTabItem has 0 items

2 Answers 23 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Vývoj GAMO
Top achievements
Rank 2
Vývoj GAMO asked on 10 May 2012, 08:38 AM
Hello,

I have a problem with RadGridView inside RadTabItem - same as in this your example (WpfApplication3.zip). RadGridView on 3rd RadTabItem has no items before you select it.

Try to change your code:
public MainWindow()
{
    InitializeComponent();
    this.radGridView1.ItemsSource = GenerateProducts();
    this.radGridView2.ItemsSource = GenerateProducts();
    MessageBox.Show(radGridView1.Items.Count.ToString());
    MessageBox.Show(radGridView2.Items.Count.ToString());
}

There are 19 items in radGridView1 in 1st RadTabItem, but radGridView2 in 3rd RadTabItem has 0 items. In my project I have same problem with version 2011.3.1220.35 and 2012.1.0326.35 too. With previous version used in my project (2010.3.1110.35) it works fine.

Can you help me, please?


Thanks,
Maros 

2 Answers, 1 is accepted

Sort by
0
Vývoj GAMO
Top achievements
Rank 2
answered on 14 May 2012, 12:31 PM
Can someone take a look on this, please?
0
Dimitrina
Telerik team
answered on 15 May 2012, 11:40 AM
Hi,

 Please check the answer we have given in your another thread

Kind regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Vývoj GAMO
Top achievements
Rank 2
Answers by
Vývoj GAMO
Top achievements
Rank 2
Dimitrina
Telerik team
Share this question
or