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

Codebehind datacolumn generation and manipulation problem

4 Answers 51 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Nikolay
Top achievements
Rank 1
Nikolay asked on 21 Apr 2011, 01:51 PM
Hi!

Looks like a problem with new version of Telerik library. Following code:

GridViewColumn[] columns = new[]
            {
                new GridViewDataColumn()
                    {Header = "Test header"}
            };
 
    private void Button_Click(object sender, RoutedEventArgs e)
    {
        Grid.Columns.Clear();
        Grid.Columns.AddRange(columns);
    }


results in broken layout of column header after second button click. I think I can come up with workarounds but this seems to be a bug anyway. I have a repro solution ready if needed.

WBR,
Nikolay Ryabkov.

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 21 Apr 2011, 01:53 PM
Hi Nikolay,

Can you post more info about the grid version? We had such issue with our Q1 2011 however this is already fixed in just released service pack - Q1 2011 SP1.

Best wishes,
Vlad
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
0
Nikolay
Top achievements
Rank 1
answered on 21 Apr 2011, 01:56 PM
Vlad,

Telerik.Windows.Controls.GridView.dll is 2011.1.315.40. Should I get an update for it?

Nikolay Ryabkov.
0
Accepted
Vlad
Telerik team
answered on 21 Apr 2011, 02:00 PM
Hello Nikolay,

 Indeed this is our Q1 2011. You can get our Q1 2011 SP1 to fix these problems. 

Greetings,
Vlad
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
0
Nikolay
Top achievements
Rank 1
answered on 21 Apr 2011, 02:02 PM
Thank you!

Nikolay Ryabkov.
Tags
GridView
Asked by
Nikolay
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Nikolay
Top achievements
Rank 1
Share this question
or