Something wrong with Telerik.WIndows.Controls.Input

1 Answer 40 Views
RibbonView and RibbonWindow
Sean
Top achievements
Rank 1
Sean asked on 15 Jun 2022, 01:15 PM

Hi,

I just created a RadRibbonWindow in my application, each time I called this window,the program was interupted. 

Picture of exception is in attachment.

 

These are my codes in xaml:

<telerik:RadRibbonWindow x:Class="AutoTerminalFunction.Views.RadRibbonTest"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        Title="RadRibbonTest" 
        Width="525" 
        Height="350" 
        IsTitleVisible="True">
   <Grid>
        <telerik:RadRibbonView Title="RibbonView Title" ApplicationName="My Application">
            <telerik:RadRibbonView.QuickAccessToolBar>
                <telerik:QuickAccessToolBar>
                    <telerik:RadRibbonButton Text="Option 1" />
                </telerik:QuickAccessToolBar>
            </telerik:RadRibbonView.QuickAccessToolBar>
            <telerik:RadRibbonTab Header="Home">
                <telerik:RadRibbonGroup Header="Clipboard">
                    <telerik:RadRibbonSplitButton Size="Large" 
                                                  Text="Paste" 
                                                  telerik:ScreenTip.Description="Paste the contents the Clipboard." 
                                                  telerik:ScreenTip.Title="Paste(Ctrl+V)">
                        <telerik:RadRibbonSplitButton.DropDownContent>
                            <telerik:RadContextMenu BorderThickness="0">
                                <telerik:RadMenuItem Header="Paste" />
                                <telerik:RadMenuItem Header="Paste Form" />
                            </telerik:RadContextMenu>
                        </telerik:RadRibbonSplitButton.DropDownContent>
                    </telerik:RadRibbonSplitButton>
                </telerik:RadRibbonGroup>
            </telerik:RadRibbonTab>
            <telerik:RadRibbonTab Header="View" />
        </telerik:RadRibbonView>
    </Grid>
</telerik:RadRibbonWindow> 

 

Backstage codes are original.

 

Does anyone know what causes this problem?I've tried everything I know,like remove and re-referencingTelerik.WIndows.Controls.Input.dll.

Thanks alot!

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 17 Jun 2022, 06:03 AM

Hello Sean,

This type of error appears if there is a mix up between the versions of the referenced Telerik dlls. You will need to ensure that all Telerik assemblies have the same version. For example 2022.2.511. After that you can manually delete the bin and obj folders of the project in order to avoid any cache. And then Clean/Rebuild the project. 

Additionally, this exception is the last one from 3 exceptions. If the previous steps don't help can you send over also the other 2 exceptions? Moreover, a sample project reproducing this will be very useful.

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Sean
Top achievements
Rank 1
commented on 19 Jun 2022, 02:19 PM

Hello Martin,

Thanks for your help, I've removed bin and obj folders and rebuilt the project, and the other two exceptions has been resolved, but I still get the "Could not load file or assembly" exception.

Any other suggestions? Thanks.

 

Martin Ivanov
Telerik team
commented on 22 Jun 2022, 11:28 AM

You can double check if you have a reference to the Telerik.Windows.Controls.RibbonView assembly. If so, then you can send over the troublesome project here and I will take a look.
Sean
Top achievements
Rank 1
commented on 25 Jun 2022, 07:24 AM

Finally I've found some caches of other version somewhere, problem solved.

Thank you so much Martin, you suggestion is right.

Martin Ivanov
Telerik team
commented on 29 Jun 2022, 10:51 AM

It is great to hear that.
Tags
RibbonView and RibbonWindow
Asked by
Sean
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or