Darren Stoppler
Top achievements
Rank 1
Darren Stoppler
asked on 14 May 2010, 07:42 PM
HI,
I upgraded to the above trial and when I'm in the IDE my whole XAML is now underlined in blue and I get the error "The given key was not present in the dictionary. Here's the start of the XAML:-
<UserControl xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:my="clr-namespace:Telerik.Windows.Controls.OutlookBar;assembly=Telerik.Windows.Controls.Navigation"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:my1="http://schemas.telerik.com/2008/xaml/presentation"
xmlns:Telerik_Windows_Controls_GridView="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView"
xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"
x:Class="RiskPro.Risk"
Thanks
I upgraded to the above trial and when I'm in the IDE my whole XAML is now underlined in blue and I get the error "The given key was not present in the dictionary. Here's the start of the XAML:-
<UserControl xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:my="clr-namespace:Telerik.Windows.Controls.OutlookBar;assembly=Telerik.Windows.Controls.Navigation"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:my1="http://schemas.telerik.com/2008/xaml/presentation"
xmlns:Telerik_Windows_Controls_GridView="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView"
xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"
x:Class="RiskPro.Risk"
Thanks
5 Answers, 1 is accepted
0
Darren Stoppler
Top achievements
Rank 1
answered on 14 May 2010, 08:25 PM
After taking various bits out of the XAML, the problem seems to be when I add a RadOutlookBarItem. Everything is fine until I add the bold line. It doesn't matter what I enter as a header or a name, it still fails:-
<my1:RadOutlookBar Grid.Row="3" Height="250" HorizontalAlignment="Stretch" Margin="6,2,4,23" Name="radOutlookBar1">
<telerikNavigation:RadOutlookBarItem Header="Sections" x:Name="sections">
<telerikNavigation:RadTreeView IsLineEnabled="True" x:Name="sectionTreeView">
<telerikNavigation:RadTreeViewItem Header="Sections" IsExpanded="True">
<telerikNavigation:RadTreeViewItem Header="Hull & Machinery" />
<telerikNavigation:RadTreeViewItem Header="P & I" />
</telerikNavigation:RadTreeViewItem>
</telerikNavigation:RadTreeView>
</telerikNavigation:RadOutlookBarItem>
<telerikNavigation:RadOutlookBarItem Header="Endorsements" x:Name="endorsements"/>
<telerikNavigation:RadOutlookBarItem Header="Documents" x:Name="documents">
<telerikNavigation:RadTreeView IsLineEnabled="True" x:Name="foldersTreeView">
<telerikNavigation:RadTreeViewItem Header="Personal Folders" IsExpanded="True">
<telerikNavigation:RadTreeViewItem Header="Deleted Items" />
</telerikNavigation:RadTreeViewItem>
</telerikNavigation:RadTreeView>
</telerikNavigation:RadOutlookBarItem>
<telerikNavigation:RadOutlookBarItem Header="This is the problem!" x:Name="Problem" />
<telerikNavigation:RadOutlookBarItem Header="Accounting" x:Name="Accounting" />
</my1:RadOutlookBar>
Everything was ok until I downloaded and upgraded to 2010.1.422.1040.
Thanks
<my1:RadOutlookBar Grid.Row="3" Height="250" HorizontalAlignment="Stretch" Margin="6,2,4,23" Name="radOutlookBar1">
<telerikNavigation:RadOutlookBarItem Header="Sections" x:Name="sections">
<telerikNavigation:RadTreeView IsLineEnabled="True" x:Name="sectionTreeView">
<telerikNavigation:RadTreeViewItem Header="Sections" IsExpanded="True">
<telerikNavigation:RadTreeViewItem Header="Hull & Machinery" />
<telerikNavigation:RadTreeViewItem Header="P & I" />
</telerikNavigation:RadTreeViewItem>
</telerikNavigation:RadTreeView>
</telerikNavigation:RadOutlookBarItem>
<telerikNavigation:RadOutlookBarItem Header="Endorsements" x:Name="endorsements"/>
<telerikNavigation:RadOutlookBarItem Header="Documents" x:Name="documents">
<telerikNavigation:RadTreeView IsLineEnabled="True" x:Name="foldersTreeView">
<telerikNavigation:RadTreeViewItem Header="Personal Folders" IsExpanded="True">
<telerikNavigation:RadTreeViewItem Header="Deleted Items" />
</telerikNavigation:RadTreeViewItem>
</telerikNavigation:RadTreeView>
</telerikNavigation:RadOutlookBarItem>
<telerikNavigation:RadOutlookBarItem Header="This is the problem!" x:Name="Problem" />
<telerikNavigation:RadOutlookBarItem Header="Accounting" x:Name="Accounting" />
</my1:RadOutlookBar>
Everything was ok until I downloaded and upgraded to 2010.1.422.1040.
Thanks
0
Hello Darren Stoppler,
I couldn't reproduce the issue you described. Can you please take a look at the project I used for testing and let me know if it works for you? Also, if it doesn't illustrate your scenario correctly, can you please modify it to reproduce the issue? That will help us further investigate it.
Thank you in advance.
Greetings,
Tina Stancheva
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.
I couldn't reproduce the issue you described. Can you please take a look at the project I used for testing and let me know if it works for you? Also, if it doesn't illustrate your scenario correctly, can you please modify it to reproduce the issue? That will help us further investigate it.
Thank you in advance.
Greetings,
Tina Stancheva
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
Darren Stoppler
Top achievements
Rank 1
answered on 17 May 2010, 02:18 PM
Tina,
After using your code, the problem still happens randomly and I can't work out a pattern. I just change the XAML and this error will occur. Everything was stable before I did the SL 4 component upgrade. I have attached some more information.
Thanks for your fast response.
After using your code, the problem still happens randomly and I can't work out a pattern. I just change the XAML and this error will occur. Everything was stable before I did the SL 4 component upgrade. I have attached some more information.
Thanks for your fast response.
0
Hi Darren Stoppler,
We managed to reproduce the issue and logged it as a bug in our PITS under the name OutlookBar: KeyNotFoundException thrown in SL4. The item will be available for tracking tomorrow the latest.
I also updated your Telerik points accordingly.
Please accept our apology for the caused inconvenience.
Regards,
Tina Stancheva
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.
We managed to reproduce the issue and logged it as a bug in our PITS under the name OutlookBar: KeyNotFoundException thrown in SL4. The item will be available for tracking tomorrow the latest.
I also updated your Telerik points accordingly.
Please accept our apology for the caused inconvenience.
Regards,
Tina Stancheva
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
Darren Stoppler
Top achievements
Rank 1
answered on 20 May 2010, 11:52 AM
Great, thanks.