newbie, ribbon view don't start

2 posts, 0 answers
  1. Zeev
    Zeev avatar
    1 posts
    Member since:
    Nov 2013

    Posted 20 Jul 2015 Link to this post

    hello to all, a newbie question.

    i want to create a ribbon control similar to office.

    i can't start the application and it's crashes all the time, there is no additional code behind yet.

    when i run the software i getting error:

    Exception thrown: 'System.Windows.Markup.XamlParseException' in PresentationFramework.dll

    Additional information: The invocation of the constructor on type 'Telerik.Windows.Controls.RibbonView.Primitives.RadRibbonApplicationDropDownButton' that matches the specified binding constraints threw an exception.


    the code:

    <Window x:Class="Xcalibur2.MainWindow"
            Title="MainWindow" Height="800" Width="1280">

                <ImageBrush Stretch="Fill"  ImageSource="../graphic/background/background.jpg" AlignmentY="Top" AlignmentX="Center"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="0.3*"/>
            <!-- ribbon container -->

                <telerik:RadRibbonTab Header="test">
                    <telerik:RadRibbonGroup Header="group1">
                        <telerik:RadRibbonRadioButton Name="radBtn1" Text="Button1" />
                        <telerik:RadRibbonRadioButton Name="radBtn2" Text="Button2" />
                        <telerik:RadRibbonRadioButton Name="radBtn3" Text="Button3" />
                    <telerik:RadRibbonGroup Header="group2">
                        <telerik:RadRibbonRadioButton Name="radBtn4" Text="Button1" />
                        <telerik:RadRibbonRadioButton Name="radBtn5" Text="Button2" />
                        <telerik:RadRibbonRadioButton Name="radBtn6" Text="Button3" />
                    <telerik:RadRibbonGroup Header="group3">
                        <telerik:RadRibbonRadioButton Name="radBtn7" Text="Button1" />
                        <telerik:RadRibbonRadioButton Name="radBtn8" Text="Button2" />
                        <telerik:RadRibbonRadioButton Name="radBtn9" Text="Button3" />
                <telerik:RadRibbonTab Header="Test 2">
                    <telerik:RadRibbonGroup Header="group1">
                        <telerik:RadRibbonRadioButton Name="radBtn21" Text="Button1" />
                        <telerik:RadRibbonRadioButton Name="radBtn22" Text="Button2" />
                        <telerik:RadRibbonRadioButton Name="radBtn23" Text="Button3" />
                    <telerik:RadRibbonGroup Header="group2">
                        <telerik:RadRibbonRadioButton Name="radBtn24" Text="Button1" />
                        <telerik:RadRibbonRadioButton Name="radBtn25" Text="Button2" />
                        <telerik:RadRibbonRadioButton Name="radBtn26" Text="Button3" />
                    <telerik:RadRibbonGroup Header="group3">
                        <telerik:RadRibbonRadioButton Name="radBtn27" Text="Button1" />
                        <telerik:RadRibbonRadioButton Name="radBtn28" Text="Button2" />
                        <telerik:RadRibbonRadioButton Name="radBtn29" Text="Button3" />

            <!-- info gauge -->
            <Grid Grid.Row="1" Name="gridInfo">


            <!-- data container -->
            <Grid Grid.Row="2" Name="dataContainer">
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="*"/>
            <!-- status bar -->
            <Grid Name="StatusBar">


  2. Kiril Vandov
    Kiril Vandov avatar
    324 posts

    Posted 22 Jul 2015 Link to this post

    Hello Zeev,

    I have tried to reproduce the described error on our side but with no success. That is why I have attache a sample project using your code snippet. Please note that such errors might be caused if you have some missing resources like the ImageSource in the resource. Also it might be due to some cached resource that is why we suggest to clean/rebuild the solution as deleting the bin/obj folders of the application.

    I hope this information helps. Please let us know if you have further questions.

    Kind regards,
    Kiril Vandov
    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 Feedback Portal and vote to affect the priority of the items
Back to Top