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

[Solved] Browser crashes when horizontally scrolling in RadGridView.

3 Answers 134 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rob
Top achievements
Rank 1
Rob asked on 23 Nov 2009, 06:21 PM
We have the following scenario in our application.
  • The page's DataContext is an instance of "MyDataObject".
  • The grid's ItemsSource is a property of "MyDataObject" called "Results".
  • "Results" is defined as an "ObservableCollection<object>".  Each item in "Results" is actually a "Dictionary<key,value>" pair.
  • Each column is bound to the same converter, which will parse the Dictionary for a specific key based on the converter parameter...

To visualize...
Results[0] = { {"name""Rob"}, {"age""17"}, {"country""Canada"}  }; 
Results[1] = { {"name""Dave"}, {"age""5"}, {"country""England"}  }; 
Results[2] = { {"name""Mary"}, {"age""31"}, {"country""Australia"}  }; 


The datagrid columns are defined as follows...
<rg:GridViewDataColumn DataMemberBinding="{Binding Converter={StaticResource MyConv}, ConverterParameter='name'}" /> 
<rg:GridViewDataColumn DataMemberBinding="{Binding Converter={StaticResource MyConv}, ConverterParameter='age'}" /> 
<rg:GridViewDataColumn DataMemberBinding="{Binding Converter={StaticResource MyConv}, ConverterParameter='country'}" /> 
               

And my converter is as follows...
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 
    Dictionary<stringobject> x = (Dictionary<stringobject>)value; 
    return x[parameter.ToString()]; 
 

I'm trying my best to replicate this problem outside of our solution and having a difficult time...  If we create the columns dynamically, the user will crash the browser by scrolling horizontally.  Creating the columns directly in XAML, or creating the columns dynamically after inserting a blank column in XAML works fine.

Has anybody seen behavior like this before?


3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 26 Nov 2009, 12:59 PM
Hi,

Can you provide a bit more info about the grid version? Is it Q2, Q3 or even latest internal build?

Kind regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Rob
Top achievements
Rank 1
answered on 27 Nov 2009, 01:02 PM
Hello Vlad,

I'm pretty sure we have the latest version.  "2009.3.1103.1030".

Is there anything else I can provide?
0
Hristo
Telerik team
answered on 30 Nov 2009, 08:18 AM
Hello Rob,

You can try our latest internal build version 2009.3.1127. You can download it from Your Account->Downloads->RadControls for Silverlight->Latest Internal Builds.

Please give it a try and let us know how it goes.

Kind regards,
Hristo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Rob
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Rob
Top achievements
Rank 1
Hristo
Telerik team
Share this question
or