MainWindow

3 posts, 1 answers
  1. Burhan Eyimaya
    Burhan Eyimaya avatar
    8 posts
    Member since:
    Jan 2010

    Posted 18 Jul 2018 Link to this post

    Hello,

    We are using Telerik WPF controls, after updating to version 2018.2.620.45 RadWindow as main window is not showing.

    In your samples "RadWindowAsMainWindow" project is working.

    After only changing 3 Telerik dlls with new version dlls ("2018.2.620.45") main window doesn't show.

    I couldn't attach the project because, attaching zip files is not allowed (And I think this is another problem).

    Do we have to change something in code for new versions?

    Thanks,

    Burhan Eyimaya

  2. Answer
    Dinko
    Admin
    Dinko avatar
    899 posts

    Posted 20 Jul 2018 Link to this post

    Hi Burhan,

    Thank you for your interest in our RadWindow control for WPF.

    I have tested the RadWindow controls with the specified version and the RadWindow as Main Window is displayed as expected on my side. A common reason why the RadWindow is not shown is that the project referenced NoXAML binaries. When using NoXAML DLLs, the newly created user control will not receive automatically the Window style. You should add the following style after the merged dictionaries to fix this:
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
            <ResourceDictionary Source="/Telerik.Windows.Themes.Material;component/Themes/System.Windows.xaml" />
            <ResourceDictionary Source="/Telerik.Windows.Themes.Material;component/Themes/Telerik.Windows.Controls.xaml" />
            <ResourceDictionary Source="/Telerik.Windows.Themes.Material;component/Themes/Telerik.Windows.Controls.Input.xaml" />
            <ResourceDictionary Source="/Telerik.Windows.Themes.Material;component/Themes/Telerik.Windows.Controls.Navigation.xaml" />
        </ResourceDictionary.MergedDictionaries>
        <Style TargetType="local:MainWindow" BasedOn="{StaticResource RadWindowStyle}"/>
    </ResourceDictionary>

    I am attaching the sample project which I used to test your scenario. Give this project a try and let me know if I am missing something specific.

    Regarding the attaching a sample project. Our forum system allows adding only image files. If you want to send us a .zip file with the project that demonstrates the issue you can open a support ticket thread from your telerik.com account. 

    Regards,
    Dinko
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
  3. Burhan Eyimaya
    Burhan Eyimaya avatar
    8 posts
    Member since:
    Jan 2010

    Posted 23 Jul 2018 in reply to Dinko Link to this post

    Hi Dinko,

    Thank you for your fast response.

    This has solved our problem.

    Burhan Eyimaya

Back to Top