Declined
Last Updated: 21 May 2019 12:43 by ADMIN
Yusi
Created on: 05 May 2019 15:29
Category: Window
Type: Bug Report
0
UI for WPF menu didn't show up/ no "Telerik scenario" in "Add New Item" in latest VS Community 2019 (16.0.3) with .NET Framework 4.8

Environment: VS Community 2019 (16.0.3), with .NET Framework 4.8 (release version, run-time and developer pack installed), Windows 10 Pro October 2018

Telerik UI version: latest (2019.1.220.45)

 

When VS2019 opened, Telerik UI for WPF should have been found under the "Extension" menu --> Telerik --> Telerik UI for WPF. However, there is only "Telerik UI for WinForms" under "Telerik" now. There is neither "Telerik scenario" in the "Add New Item" window so no RadForms can be created. Manually replacing <Window> in XAML to <telerik:RadWindow> does change the appearance of the window in the designer, but the properties in the Property window does not change accordingly to RadForms but still WPF standard Form ones. Toolboxes shows current lists of Telerik UI for WPF controls and they can be correctly created (at least RadButton). "Repair" in the Progress Control Panel doesn't fix this problem.

 

Thanks!

5 comments
ADMIN
Martin Ivanov
Posted on: 21 May 2019 12:43
Hi Yusi,

It is great to hear that the article helps. 

Regards,
Martin Ivanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Yusi
Posted on: 21 May 2019 11:35

Thank you Martin! The thread really helps. And much appreciated for the answers from the Telerik team.

 

Best,

Yusi

ADMIN
Martin Ivanov
Posted on: 21 May 2019 07:09
Hello Yusi,

Yes, you are correct. This is a configuration issue. The RadWindow requires an additional step to display it properly, compared to the native Window control. You can see how to do this in the Use RadWindow as User Control article. Basically, you will need to remove the StartupUri from App.xaml and open the window in code. You can do this in the OnStartup override of App class (App.xaml.cs). I hope this helps.

As for this bug report, I will guess that it is not relevant anymore, so I am closing it. However, if you have other questions on the topic post the here. 

Regards,
Martin Ivanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Yusi
Posted on: 14 May 2019 15:22

Hi Nikolay,

 

Thank you so much for your prompt reply. I'm sorry to respond late as I was engaged in another project. After trying to enable the WPF VSExtension, the "Add Telerik Scenario" did appear and I was able to create a RadWindow.

However, the new RadWindow looks nice in the design mode, but when running the app, there shows an outer window (see screenshot attached), and an exception of null reference popped out if click any button (maximize, minimize, close, or any button controls in the window). Is this related to configuration issue? I'd be very appreciated for any of your advice. Thank you!

 

Best,

Yusi

Attached Files:
ADMIN
Nikolay Mishev
Posted on: 07 May 2019 11:13
Hi Yusi,

Could you please check that the Telerik WPF VSExtensions are Installed and Enabled in Visual Studio 2019. You can check that by opening Visual Studio 2019 menu Extensions->Manage Extensions, then search for the Telerik WPF VSExtensions and Enable them if needed.

Please let us know if you have further questions.

Regards,
Nikolay Mishev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.