Adding Grid Causes Error

2 posts, 0 answers
  1. Andii
    Andii avatar
    17 posts
    Member since:
    Nov 2006

    Posted 02 Dec 2008 Link to this post

    I look at the basic grid example that comes with the installation and i have created my own control with the grid in my project. When running the silverlight project an clicking on the tab that holds my gridcontrol i get the following javascript error and the page crashes.
    System.Collections.Generic.KeyNotFoundException the given key was not present in the dictionary.
    My code below..



    Grid x:Name="LayoutRoot" Background="White">










    <telerik:RadGridView Name="radGridViewSelection" AutoGenerateColumns="True"/>










    <Button HorizontalAlignment="Left" x:Name="uxFetch" Click="uxFetch_Click" Margin="34,0,0,20" VerticalAlignment="Bottom" Content="Button" d:LayoutOverrides="Height"/>








  2. Jimmy
    Jimmy avatar
    16 posts

    Posted 03 Dec 2008 Link to this post

    Hello Andreas Ekdahl,

    Would it be possible for you to send us a project where this problem occurs for we did not manage to reproduce your problem.

    We have tested the GridView in a TabControl scenario and it works fine. One possible solution that might cause this problem is if you have not set the ItemsSource property of RadGridView and it stays with its null default value (this is an issue that will be fixed in our future release).

    If however this is not the case, we will appreciate if you send us more feedback on your particular scenario.

    Kind regards,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top