Hi,
I have recently upgraded my project from Silverlight 4 to Silverlight 5. I was using Infragistics 2011 vol 1 previously which I've uninstalled and installed 2012 vol 2. The project was not giving any compilation/run-time error before up-gradation. During upgrade process I didn't change any XAML or C# source code, but simply changed Infragistics dll references. When I executed the project, I see following exception. I could not find the exact location of exception in debugging mode.
Could someone please help me in this?
Hi Georgi,
Thanks for your reply, I have also found the alternate controls for xamNumericEditor and xamWebChart and I'm making use of them. :)
And here is the code for XamRibbon:
<ig:XamRibbon Grid.Row="1" ApplicationMenuMode="Office2010" x:Name="ribbon" Caption="Not yet logged in...">
<ig:XamRibbon.QuickAccessToolbar>
<ig:QuickAccessToolbar OverflowButtonVisibility="Visible" HorizontalContentAlignment="Center" Width="Auto">
<ig:QatPlaceholderTool TargetId="Help" TargetType="Tool"></ig:QatPlaceholderTool>
<ig:QatPlaceholderTool TargetId="Clipboard" TargetType="RibbonGroup"></ig:QatPlaceholderTool>
</ig:QuickAccessToolbar>
</ig:XamRibbon.QuickAccessToolbar>
<ig:XamRibbon.ApplicationMenu2010>
<ig:XamRibbonApplicationMenu2010 Opacity="1" Visibility="Visible" Caption="File" Foreground="White">
<!-- Save Button -->
<ig:ButtonTool Caption="Save Preferences" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Save16.png" x:Name="RibbonAppMenuSave" Click="RibbonAppMenuSave_Click"/>
<!-- Close Button -->
<ig:ButtonTool Caption="Close" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Close32.png"/>
<!-- About ApplicationMenu -->
<ig:Office2010ApplicationMenuTabTool Caption="About" Id="AboutApplicationMenuId">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="50"/>
<RowDefinition Height="100"/>
<RowDefinition Height="*"/>
<RowDefinition Height="32"/>
</Grid.RowDefinitions>
<Border Style="{StaticResource OptionsHeadingBorder}">
<TextBlock Grid.Row="0" Style="{StaticResource OptionsHeading}">About</TextBlock>
</Border>
<Grid Grid.Row="1">
<RowDefinition/>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<TextBlock Grid.Row="0">Version:</TextBlock>
<TextBlock Grid.Row="0" Grid.Column="1">0.5.0.0</TextBlock>
<TextBlock Grid.Row="1">Database Version:</TextBlock>
<TextBlock Grid.Row="1" Grid.Column="1">?.?.?.?</TextBlock>
</Grid>
<Grid Grid.Row="2">
<TextBlock Text="© 2012 COMPANY NAME"/>
<Border Grid.Row="3" Style="{StaticResource OptionsHeadingBorder}">
<ABCLibrary:ABCHyperlinkButton Grid.Column="0" TargetName="_blank" Click="GetStarted_Click">Help</ABCLibrary:ABCHyperlinkButton>
<ABCLibrary:ABCHyperlinkButton Grid.Column="1" NavigateUri="http://www.google.com/" TargetName="_blank">COMPANY NAME</ABCLibrary:ABCHyperlinkButton>
</ig:Office2010ApplicationMenuTabTool>
<!-- Help ApplicationMenu -->
<ig:Office2010ApplicationMenuTabTool Caption="Options" Id="OptionsApplicationMenuId" >
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
<RowDefinition Height="Auto"/>
<ColumnDefinition Width="Auto"/>
<StackPanel Grid.Row="0" Grid.Column="0" Margin="5">
<TextBlock Text="Ribbon Options" Style="{StaticResource OptionsHeading}"/>
<CheckBox Grid.Row="0" Content="Have quick address bar above the ribbon?" Grid.Column="0" x:Name="chkQABAboveRibbon" Loaded="chkQABAboveRibbon_Loaded" Click="chkQABAboveRibbon_Click" />
<CheckBox Grid.Row="1" Content="Ribbon starts minimized?" Grid.Column="0" x:Name="chkRibbonMinimized" Loaded="chkRibbonMinimized_Loaded" Click="chkRibbonMinimized_Click"/>
</StackPanel>
<StackPanel Grid.Row="0" Grid.Column="1" Margin="5">
<TextBlock Text="Menu Options" Style="{StaticResource OptionsHeading}"/>
<CheckBox Grid.Row="0" Content="Menu starts minimized?" Grid.Column="0" x:Name="chkMenuMinimized" Loaded="chkMenuMinimized_Loaded" Click="chkMenuMinimized_Click"/>
<CheckBox Grid.Row="1" Content="Status bar is visible?" Grid.Column="0" x:Name="chkStatusBarVisible" Loaded="chkStatusBarVisible_Loaded" Click="chkStatusBarVisible_Click"/>
<StackPanel Grid.Row="1" Grid.Column="1" Margin="5">
<TextBlock Text="Favorites" Style="{StaticResource OptionsHeading}"/>
<TextBlock MaxWidth="300" Text="Check and uncheck items to add and remove them from your favourites" TextWrapping="Wrap" Margin="0,0,0,8" />
<StackPanel x:Name="FavouritesList" Loaded="FavouritesList_Loaded"/>
<StackPanel Grid.Row="1" Grid.Column="0" Margin="5">
<TextBlock Text="Default Forms" Style="{StaticResource OptionsHeading}"/>
<TextBlock MaxWidth="300" Text="Default forms will be launched as soon as you have logged into the application. Check abd uncheck items to add and remove them from your default forms" TextWrapping="Wrap" Margin="0,0,0,8" />
<StackPanel x:Name="DefaultList" Loaded="DefaultList_Loaded"/>
</ScrollViewer>
<!-- Exit Button -->
<ig:ButtonTool Caption="Exit" LargeImage="Delete16.png"/>
</ig:XamRibbonApplicationMenu2010>
</ig:XamRibbon.ApplicationMenu2010>
<ig:XamRibbon.Tabs>
<!-- Add Home XamRibbonTab-->
<ig:XamRibbonTabItem KeyTip="H" Header="Home" IsSelected="True">
<!-- Add Help XamRibbonGroup -->
<ig:XamRibbonGroup Caption="Help" Id="WKB_HELP_GRP" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Help64.png">
<ig:ButtonTool x:Name="LogOffButtonTool" Id="WKB_LOG_OFF" Caption="Log Off" MaximumSize="ImageAndTextLarge" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/logoff32.png" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/logoff64.png" Click="RibbonButtonClick" IsQatCommonTool="True"/>
<ig:ButtonTool x:Name="HelpButtonTool" Id="WKB_HELP" Caption="Help" MaximumSize="ImageAndTextLarge" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Help64.png" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Help64.png" Click="RibbonButtonClick" IsQatCommonTool="True"/>
<ig:ButtonTool x:Name="AddToFavouritesButtonTool" Id="WKB_ADD_TO_FAVOURITES" Caption="Add To Favourites" MaximumSize="ImageAndTextLarge" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Favourites32.png" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Favourites16.png" Click="RibbonButtonClick" IsQatCommonTool="True"/>
<ig:ButtonTool x:Name="AddToDefaultButtonTool" Id="WKB_ADD_TO_DEFAULT" Caption="Add To Defaults" MaximumSize="ImageAndTextLarge" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/AddDefaultForm.png" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/AddDefaultForm.png" Click="RibbonButtonClick" IsQatCommonTool="False"/>
</ig:XamRibbonGroup>
<!-- Add Main XamRibbonGroup -->
<ig:XamRibbonGroup Caption="Main" Id="Main">
<ig:XamRibbonGroup.DialogButton>
<ig:ButtonTool IsQatCommonTool="True" Id="WKB_MAIN_DLG"/>
</ig:XamRibbonGroup.DialogButton>
<ig:ButtonTool x:Name="SaveButtonTool" Id="WKB_SAVE" Caption="Save" MaximumSize="ImageAndTextLarge" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/save32.png" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/save16.png" Click="RibbonButtonClick" IsQatCommonTool="True"/>
<ig:ButtonTool x:Name="NewButtonTool" Id="WKB_NEW" Caption="New" MaximumSize="ImageAndTextLarge" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/NewAdd32.png" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/NewAdd16.png" Click="RibbonButtonClick" IsQatCommonTool="True"/>
<ig:ButtonTool x:Name="DeleteButtonTool" Id="WKB_DELETE" Caption="Delete" MaximumSize="ImageAndTextLarge" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Delete32.png" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Delete16.png" Click="RibbonButtonClick" IsQatCommonTool="True"/>
<ig:XamRibbonGroup Caption="Search" Id="Search">
<ig:ButtonTool x:Name="AdvancedSearchDialog" Id="WKB_ADVANCED_SEARCH" Caption="Advanced Search" IsQatCommonTool="False" Click="RibbonButtonClick"/>
<ABCLibrary:ABCSearchTextBoxTool Caption="Search" Id="WKB_SEARCH" ContextCaption="Search" x:Name="SearchTextBox" Foreground="#ff555555" EnterKeyDown="SearchTextBox_SearchClick" SearchClick="SearchTextBox_SearchClick" IsQatCommonTool="False"/>
<!-- Add Clipboard XamRibbonGroup -->
<ig:XamRibbonGroup Caption="Clipboard" Id="Clipboard" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/cut16.png">
<ig:SegmentedMenuTool Caption="Paste"
MaximumSize="ImageAndTextLarge" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/paste32.png" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/paste16.png">
<ig:ButtonTool Caption="Paste" Id="WKB_PASTE" MaximumSize="ImageAndTextNormal"
SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/paste16.png" Click="RibbonButtonClick"/>
<ig:ButtonTool Caption="Paste Special" Id="WKB_PASTE_SPECIAL" MaximumSize="ImageAndTextNormal"
</ig:SegmentedMenuTool>
<ig:VerticalRibbonToolContainer>
<ig:ButtonTool x:Name="CutButtonTool" Id="WKB_CUT" Caption="Cut" MaximumSize="ImageAndTextNormal"
SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/cut16.png" IsQatCommonTool="False" KeyTip="Cut Data from current Control" Click="RibbonButtonClick" />
<ig:ButtonTool x:Name="CopyButtonTool" Id="WKB_COPY" Caption="Copy" MaximumSize="ImageAndTextNormal"
SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Copy16.png" Click="RibbonButtonClick" IsQatCommonTool="False"/>
</ig:VerticalRibbonToolContainer>
<!-- End Text Style XamRibbonGroup-->
</ig:XamRibbonTabItem>
<!-- Add Grid XamRibbonTab-->
<ig:XamRibbonTabItem KeyTip="G" Header="Grid" x:Name="GridRibbonTab">
<!-- Contacts Group -->
<ig:XamRibbonGroup Id="RowOperationsGridGroup" Caption="Row Operations">
<ig:ButtonTool Caption="Advanced" Id="WKB_ADVANCED_ROWOPS" Description="Advanced"/>
<ig:ButtonTool Id="WKB_INSERT_ROW" IsQatCommonTool="True" Caption="Insert Row" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/icon_insert.png" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/icon_insert.png" MaximumSize="ImageAndTextLarge" MinimumSize="ImageOnly" Click="RibbonButtonClick"/>
<ig:ButtonTool Id="WKB_DELETE_ROW" IsQatCommonTool="True" Caption="Delete Row" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/icon_delete.png" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/icon_delete.png" MaximumSize="ImageAndTextLarge" MinimumSize="ImageOnly" Click="RibbonButtonClick"/>
<ig:ButtonTool Id="WKB_EXPORT_TO_EXCEL" IsQatCommonTool="True" Caption="Export to Excel" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/icon_excel.png" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/icon_excel.png" MaximumSize="ImageAndTextLarge" MinimumSize="ImageOnly" Click="RibbonButtonClick" />
<ig:ButtonTool Caption="Expand All" Id="WKB_EXPAND_ALL" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Copy32.png" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Copy16.png" Click="RibbonButtonClick" IsQatCommonTool="False"/>
<ig:ButtonTool Caption="Collapse All" Id="WKB_COLLAPSE_ALL" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Cancel32.png" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Cancel16.png" Click="RibbonButtonClick" MaximumSize="ImageAndTextLarge" IsQatCommonTool="False"/>
<ABCLibrary:ABCRowHighlightTool Id="WKB_ROW_HIGHLIGHT" Caption="Row Highlight" CheckedChanged="ABCRowHighlightTool_CheckedChanged" IsQatCommonTool="False"/>
<ig:XamRibbonGroup Id="ColumnOperationsGridGroup" Caption="Column Ops">
<ig:MenuTool Caption="Clear" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/ClearFiltering16.png" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/ClearFiltering32.png" MaximumSize="ImageAndTextLarge" IsQatCommonTool="False">
<ig:ButtonTool Caption="Filters" Id="WKB_FILTERS" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/ClearFiltering16.png" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/ClearFiltering32.png" MaximumSize="ImageAndTextNormal" Click="RibbonButtonClick" IsQatCommonTool="False"/>
<ig:ButtonTool Caption="Sorts" Id="WKB_SORTS" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/ClearFiltering16.png" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/ClearFiltering32.png" MaximumSize="ImageAndTextNormal" Click="RibbonButtonClick" IsQatCommonTool="False"/>
<ig:ButtonTool Caption="Both" Id="WKB_BOTH_SORT_FILTER" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/ClearFiltering16.png" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/ClearFiltering32.png" MaximumSize="ImageAndTextNormal" Click="RibbonButtonClick" IsQatCommonTool="False"/>
</ig:MenuTool>
<ig:XamRibbonGroup Id="SettingGridGroup" Caption="Settings" >
<ig:ButtonTool Caption="Advanced" Id="WKB_ADVANCED_GRID_SETTINGS" Description="Advanced" IsQatCommonTool="False"/>
<ig:MenuTool IsQatCommonTool="False" Caption="Filtering" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Filtering16.png" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Filtering32.png" MaximumSize="ImageAndTextLarge">
<ig:RadioButtonTool Id="WKB_FILTER_ROW_TOP" GroupName="FilterGroup" Caption="Filter Row Top" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Filtering16.png" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Filtering32.png" MaximumSize="ImageAndTextNormal" Click="RibbonButtonClick"/>
<ig:RadioButtonTool Id="WKB_FILTER_ROW_BOTTOM" GroupName="FilterGroup" Caption="Filter Row Bottom" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Filtering16.png" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Filtering32.png" MaximumSize="ImageAndTextNormal" Click="RibbonButtonClick"/>
<ig:RadioButtonTool Id="WKB_FILTER_MENU" GroupName="FilterGroup" Caption="Filter Menu" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Filtering16.png" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Filtering32.png" MaximumSize="ImageAndTextNormal" Click="RibbonButtonClick"/>
<ig:RadioButtonTool Id="WKB_DISABLE_FILTERING" GroupName="FilterGroup" Caption="Disable Filtering" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Filtering16.png" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Filtering32.png" MaximumSize="ImageAndTextNormal" Click="RibbonButtonClick"/>
<ig:MenuTool IsQatCommonTool="False" Caption="Summaries" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Summaries16.png" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Summaries32.png" MaximumSize="ImageAndTextLarge">
<ig:RadioButtonTool Id="WKB_SUMMARY_ROW_TOP" GroupName="SummaryGroup" Caption="Summary Row Top" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Summaries16.png" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Summaries32.png" MaximumSize="ImageAndTextNormal" Click="RibbonButtonClick" IsQatCommonTool="False"/>
<ig:RadioButtonTool Id="WKB_SUMMARY_ROW_BOTTOM" GroupName="SummaryGroup" Caption="Summary Row Bottom" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Summaries16.png" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Summaries32.png" MaximumSize="ImageAndTextNormal" Click="RibbonButtonClick" IsQatCommonTool="False"/>
<ig:RadioButtonTool Id="WKB_SUMMARY_ROW_BOTH" GroupName="SummaryGroup" Caption="Summary Row Both" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Summaries16.png" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Summaries32.png" MaximumSize="ImageAndTextNormal" Click="RibbonButtonClick" IsQatCommonTool="False"/>
<ig:RadioButtonTool Id="WKB_DISABLE_SUMMARIES" GroupName="SummaryGroup" Caption="Disable Summaries" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Summaries16.png" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Summaries32.png" MaximumSize="ImageAndTextNormal" Click="RibbonButtonClick" IsQatCommonTool="False"/>
<ig:MenuTool IsQatCommonTool="False" Caption="Paging" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Paging16.png" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Paging32.png" MaximumSize="ImageAndTextLarge">
<ig:RadioButtonTool Id="WKB_PAGER_TOP" GroupName="PagingGroup" Caption="Pager Top" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Paging16.png" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Paging32.png" MaximumSize="ImageAndTextNormal" Click="RibbonButtonClick" IsQatCommonTool="False"/>
<ig:RadioButtonTool Id="WKB_PAGER_BOTTOM" GroupName="PagingGroup" Caption="Pager Bottom" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Paging16.png" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Paging32.png" MaximumSize="ImageAndTextNormal" Click="RibbonButtonClick" IsQatCommonTool="False"/>
<ig:RadioButtonTool Id="WKB_PAGER_BOTH" GroupName="PagingGroup" Caption="Pager Both" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Paging16.png" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Paging32.png" MaximumSize="ImageAndTextNormal" Click="RibbonButtonClick" IsQatCommonTool="False"/>
<ig:RadioButtonTool Id="WKB_DISABLE_PAGER" GroupName="PagingGroup" Caption="Disable Pager" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Paging16.png" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Paging32.png" MaximumSize="ImageAndTextNormal" Click="RibbonButtonClick" IsQatCommonTool="False"/>
<ig:SeparatorTool/>
<ig:MenuTool Caption="Paging Size" IsQatCommonTool="False" >
<ig:RadioButtonTool Id="WKB_10" Caption="10" Click="RibbonButtonClick"/>
<ig:RadioButtonTool Id="WKB_20" Caption="20" Click="RibbonButtonClick"/>
<ig:RadioButtonTool Id="WKB_30" Caption="30" Click="RibbonButtonClick"/>
<ig:RadioButtonTool Id="WKB_40" Caption="40" Click="RibbonButtonClick"/>
<ig:RadioButtonTool Id="WKB_50" Caption="50" Click="RibbonButtonClick"/>
<ig:CheckBoxTool Id="WKB_ENABLE_SORTING" Caption="Enable Sorting" Checked="RibbonButtonClick" Unchecked="RibbonButtonClick" IsQatCommonTool="False"/>
<ig:CheckBoxTool Id="WKB_ENABLE_ROW_SELECTORS" Caption="Enable Row Selectors" Checked="RibbonButtonClick" Unchecked="RibbonButtonClick" IsQatCommonTool="False"/>
<ig:XamRibbonGroup Id="SETTINGS_COLUMNGROUP" Caption="Column Settings">
<ig:CheckBoxTool Id="WKB_ENABLE_COLUMN_MOVING" Caption="Enable Column Moving" Checked="RibbonButtonClick" Unchecked="RibbonButtonClick" IsQatCommonTool="False"/>
<ig:CheckBoxTool Id="WKB_ENABLE_COLUMN_FIXING" Caption="Enable Column Fixing" Checked="RibbonButtonClick" Unchecked="RibbonButtonClick" IsQatCommonTool="False"/>
<ig:CheckBoxTool Id="WKB_ENABLE_COLUMN_RESIZING" Caption="Enable Column Resizing" Checked="RibbonButtonClick" Unchecked="RibbonButtonClick" IsQatCommonTool="False"/>
<ig:CheckBoxTool Id="WKB_ENABLE_COLUMN_HIDING" Caption="Enable Column Hiding" Checked="RibbonButtonClick" Unchecked="RibbonButtonClick" IsQatCommonTool="False"/>
<ig:XamRibbonGroup Caption="General">
<ig:ButtonTool Id="WKB_SAVE_GRID_SETTINGS" x:Name="SaveGridSettingsButtonTool" Caption="Save Grid Settings" MaximumSize="ImageAndTextLarge" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/SaveGridSettings32.png" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/SaveGridSettings16.png" Click="RibbonButtonClick" IsQatCommonTool="True"/>
<ig:ButtonTool Id="WKB_RESET_GRID_SETTINGS" x:Name="ReSetGridSettingsButtonTool" Caption="Re Set Grid Settings" MaximumSize="ImageAndTextLarge" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/ReSetGridSettings32.png" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/ReSetGridSettings16.png" Click="RibbonButtonClick" IsQatCommonTool="False"/>
</ig:XamRibbon.Tabs>
<!-- End Tabs -->
<ig:XamRibbon.ContextualTabs>
<ABCLibrary:ABCXamRibbonContextualTab IsVisible="True" Content="Generic Data Import" Key="GDITab" BaseBackColor="Gold" >
<ig:XamRibbonContextualTab.Tabs>
<ig:XamRibbonTabItem Header="Files">
<ig:XamRibbonGroup Caption="GDI Log" Id="GDILog">
<ig:ButtonTool Id="WKB_GDI_PURGE_LOG" x:Name="PurgeLog" Caption="Purge Log File" MaximumSize="ImageAndTextLarge" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Purge132.png" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Purge116.png" Click="RibbonButtonClick" IsQatCommonTool="False"/>
<ig:ButtonTool Id="WKB_GDI_TOTAL_PURGE_LOG" x:Name="TotalPurgeLog" Caption="Totaly Purge Log File" MaximumSize="ImageAndTextLarge" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Purge232.png" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Purge216.png" Click="RibbonButtonClick" IsQatCommonTool="False"/>
<ig:XamRibbonGroup Caption="GDI Inbound Folder" Id="GDIInboundFolder">
<ig:ButtonTool Id="WKB_GDI_RENAME_ERR" x:Name="RenameERR" Caption="Reprocess Error Files" MaximumSize="ImageAndTextLarge" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Refresh32.png" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Refresh16.png" Click="RibbonButtonClick" IsQatCommonTool="False"/>
<ig:ButtonTool Id="WKB_GDI_PROCESS_GDI" x:Name="ProcessGDI" Caption="Run Process Now" MaximumSize="ImageAndTextLarge" LargeImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Execute32.png" SmallImage="/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Execute16.png" Click="RibbonButtonClick" IsQatCommonTool="False"/>
</ig:XamRibbonContextualTab.Tabs>
</ABCLibrary:ABCXamRibbonContextualTab>
</ig:XamRibbon.ContextualTabs>
<!-- End Contextual Tabs -->
</ig:XamRibbon>
Few details about above code snippet:
1. <ig: refers to xmlns:ig="http://schemas.infragistics.com/xaml"
2. I have installed Infragistics Silverlight 2012.2.1001 version.
3. We have stored all the images and styles in separate silverlight library project and the project reference is added to other projects. So, wherever you see something like "/ABC.DEF.Client.ResourceLibrary;component/Assets/Images/Ribbon/Close32.png"; it means, the image is in ABC.DEF.Client.ResourceLibrary project.
4. <ABCLibrary: refers to a silverlight library project we have created containing all the common silverlight controls we are using throughout the application.
5. In actual source code, we have 8 contextual tabs, but for simplicity, I've pasted here only 1, the rest are similar.
5. I have purposefully renamed few controls as ABC, DEF as I can't post the existing names as is on public sites. I hope you understand it.
Let me know if you need any other inputs from me.
Thanks and Regards,
Rohan
Hello Rohan,
rohanb said: I just need to know, what is the alternate option for xamNumericEditor and xamWebChart in 2012 vol 2?
I just need to know, what is the alternate option for xamNumericEditor and xamWebChart in 2012 vol 2?
The alternatives are XamNumericInput and XamDataChart.
On the exception issue: Could you just post the XAML code for your Ribbon ?
Thanks,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
Hi Stefan,
Currently, I've managed to suppress the exception in App.xaml.cs (by simply adding a condition to check the exception message stack trace) as a workaround. So, till the time I actually find the source of problem/exception, I'm closing this post.
Thanks for your reply...
Regards,
I understand the need of sample solution for you to investigate. So, I am working on the same and creating a separate solution which I'll upload here for your reference. I just need to know, what is the alternate option for xamNumericEditor and xamWebChart in 2012 vol 2? I was using those two controls but during upgradation to Silverlight 5 and Infragistics 2012 vol 2, I have simply commented the related code. [I am asking this to you because, I just want to find out every single reason that may cause the exception because the entire code works properly with Silverlight 4 and Infragistics 2011 vol 2.]
Thanks & Regards,