Telerik Forums
UI for WPF Forum
5 answers
162 views
Hi,

my VS2008 designer cannot display one of my RadWindow, I see only a white square and in my output window I have the following error:

Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.VisualStudio.Design, Version=2011.3.1220.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.Input.VisualStudio.Design, Version=2011.3.1220.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.Navigation.VisualStudio.Design, Version=2011.3.1220.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.RichTextBoxUI.VisualStudio.Design, Version=2011.3.1220.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Documents.VisualStudio.Design, Version=2011.3.1220.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.VisualStudio.Design, Version=2011.3.1220.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.Docking.VisualStudio.Design, Version=2011.3.1220.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.Navigation.VisualStudio.Design, Version=2011.3.1220.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.Input.VisualStudio.Design, Version=2011.3.1220.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.ScheduleView.VisualStudio.Design, Version=2011.2.712.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.Input.VisualStudio.Design, Version=2011.2.712.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.VisualStudio.Design, Version=2011.2.712.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.Navigation.VisualStudio.Design, Version=2011.2.712.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Documents.VisualStudio.Design, Version=2011.3.1220.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.VisualStudio.Design, Version=2011.3.1220.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.Docking.VisualStudio.Design, Version=2011.3.1220.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.Navigation.VisualStudio.Design, Version=2011.3.1220.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.Input.VisualStudio.Design, Version=2011.3.1220.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Controls.RichTextBoxUI.VisualStudio.Design, Version=2011.3.1220.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.Failed to instantiate type Telerik.Windows.Controls.Design.Common.MetadataRegistrationBase during IRegisterMetadata load for metadata assembly Telerik.Windows.Documents.VisualStudio.Design, Version=2011.3.1220.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.

Georgi
Telerik team
 answered on 10 Jan 2012
14 answers
469 views
I which control are we supposed to host the RibbonView?
The documentation uses a UserControl.

In my test this results in navigation arrows being displayed and the Quick Access Toolbar not being shown in the windows title bar.
See screenshot attached.

<UserControl x:Class="MainWindow"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             mc:Ignorable="d"
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid x:Name="LayoutRoot" Background="White">
            <telerik:RadRibbonView>
                <telerik:RadRibbonView.QuickAccessToolBar>
                    <telerik:QuickAccessToolBar>
                        <telerik:RadRibbonButton Text="Save" Foreground="White"/>
                    </telerik:QuickAccessToolBar>
                </telerik:RadRibbonView.QuickAccessToolBar>
            </telerik:RadRibbonView>
        </Grid>
    </Grid>
</UserControl>

Are we supposed to use the RibbonWindow?
Petar Mladenov
Telerik team
 answered on 10 Jan 2012
7 answers
609 views
I have seen that the documentation says - http://www.telerik.com/help/wpf/radribbonview-ribbon-window-wpf.html  
RadRibbonWindow.IsWindowsThemeEnabled = false;
and setting a theme to make the ribbonwindow theme aware. I want exactly the documentation example. But I didn't  find any such property in Q2 release of 2011 edition. Can you please correct me if was wrong there?
Tina Stancheva
Telerik team
 answered on 10 Jan 2012
1 answer
164 views
Is it possible to create a dynamic contextmenu with aggregates functions for each column?
Irwing
Top achievements
Rank 1
 answered on 10 Jan 2012
3 answers
144 views
my customer would like to have a visual indicator, when vertical cells contain the same value. I've found a way to get it to work basically but some of my code looks pretty awfull.

<DataTemplate x:Key="Group_GridCellTemplate">
        <Grid>
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="auto"/>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>
                <style:CRowJoiner Template="{StaticResource MM_RJI}">
                    <style:CRowJoiner.DataContext>
                        <MultiBinding Converter="{StaticResource RJ}">
                            <Binding RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type telerik:GridViewCell}}" Path="Column" />
                            <Binding RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type telerik:GridViewCell}}" Path="ParentRow" />
                            <Binding RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type telerik:GridViewCell}}" Path="Value" />
                        </MultiBinding>
                    </style:CRowJoiner.DataContext>
                </style:CRowJoiner>
                <ContentControl Grid.Column="1" Content="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:GridViewCell}}, Path=Value}" ContentTemplateSelector="{StaticResource GCTS}" />
            </Grid>
        </Grid>
    </DataTemplate>

as you can see i am using the gridviewcell extensively. is it possible to simply pass the gridviewcell as a whole to a converter? currently i am passing 3 properties from the same object and thats just stupid. my converter uses the information provided to do the cell joining, its not exactly simple though.
marc
Top achievements
Rank 1
 answered on 10 Jan 2012
1 answer
151 views
Halo, we have a serious problem with RadDocking when we use custom header template.
If we use in DocumentHost custom template for header of RadPane and there is Button in the RadPane header, after click on this button docking operation is imediatelly started and the RadPane became floating :-(
There is sample code:
<Window x:Class="DarDataFormTest.MainWindow"
        xmlns:local="clr-namespace:DarDataFormTest"
        Title="MainWindow" Height="350" Width="525">
 
    <Window.Resources>
 
        <RoutedCommand x:Key="CommitCommand"/>
 
        <RoutedCommand x:Key="CancelCommand"/>
 
        <local:Converter x:Key="conv"/>
    </Window.Resources>
 
    <Grid>
        <telerik:RadDocking x:Name="radDocking1"  BorderThickness="0"  Padding="0">
 
            <!--DocumentHost-->
            <telerik:RadDocking.DocumentHost>
                <telerik:RadSplitContainer>
                    <telerik:RadPaneGroup>
                         
                        <telerik:RadDocumentPane Title="Description">
                            <telerik:RadDocumentPane.HeaderTemplate>
                                <DataTemplate>
                                    <StackPanel  Orientation="Horizontal">
                                        <TextBlock Text="aaaa" />
                                        <Button Margin="2">Butt</Button>
                                    </StackPanel>
                                </DataTemplate>
                            </telerik:RadDocumentPane.HeaderTemplate>
                            <telerik:RadDocumentPane.Content>
                                <TextBlock TextWrapping="Wrap"
                                           Text="test text" />
                            </telerik:RadDocumentPane.Content>
                        </telerik:RadDocumentPane>
                         
                    </telerik:RadPaneGroup>
                </telerik:RadSplitContainer>
            </telerik:RadDocking.DocumentHost>
 
        </telerik:RadDocking>
 
    </Grid>
</Window>

After we click on the button "Butt", RadPane is folowing mouse cursor until first click. Please help....
Thank you.

George
Telerik team
 answered on 10 Jan 2012
3 answers
120 views
I have a Bar series and the X axis contains the description of each bar. Some of the text is a bit long and runs into the text of the bar next to it. Does RadChart (2011 Q3) support text wrapping on the X axis? I don't see a property for it.

Thanks very much.
Sia
Telerik team
 answered on 10 Jan 2012
2 answers
212 views
Is there a limit to the number of FilterDescriptors that can be added to the FilterCollection? I seem to be receiveing a StackOverflowException in System.Core.dll if i try to add a significant number.

I need to limit the records in my Grid based upon specific ID numbers, so I am trying to add a filter desciptor for each ID to have it show only those records. My Grid has about 53,000 records, and in one example, I have 17,151 records that I need to display. How can I handle this? It works if i don't have a large number of results (i'm unsure of what the record limit before i get the error is)

I am just declaring a filter descriptor like this:
Dim filterDescriptor As New FilterDescriptor("ID", FilterOperator.IsEqualTo, id)
And then adding it to the collection
Nick Anderson
Top achievements
Rank 1
 answered on 09 Jan 2012
2 answers
154 views
Hello,

Is it possible to filter only the null values of a specific Column in GridView?

Thanks
Fanis
Top achievements
Rank 1
 answered on 09 Jan 2012
5 answers
537 views
hello Telerik,
I'm trying to define a style for a single row... I wish to have a radbusyindicator surrounding each row (i've got an even that takes some time then update a field on the current row)

what sphould I put for template as gridviewrow? should I dfine each column and how?
thanks
Paolo
Vanya Pavlova
Telerik team
 answered on 09 Jan 2012
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?