Hi,
Last VS 2022 preview released yesterday.
https://devblogs.microsoft.com/dotnet/dotnet-maui-rc-1/
Can I install it , without any change in Telerik controls.
If yes what are step to done after upgarding vs?
Thanks in advance,
2 Answers, 1 is accepted
Hello,
Please see my answer in this thread https://feedback.telerik.com/maui/1561420-some-androidf-renderers-fail-in-maui-rc1
This is the same thing you asked when trying to use UI for MAUI 0.5.0, that was built with preview13, for preview14. It is just not possible to expect compatibility between prerelease SDK version because of breaking changes.
If Microsoft releases RC2, there may be more compatibility between RC releases... but it is still all prerelease and you should expect zero compatibility as a default stance.
Regards,
Lance | Manager Technical Support
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hi Daniel,
Thank you for reaching out.
Telerik UI for .NET MAUI just released it's 0.7.0 version compatible with .NET MAUI RC 1. Give the new version a try and let me know if you have any additional questions.
Antoan
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
I update vs t0 preview 3.
I removed the window package refences.
<ItemGroup Condition="$(TargetFramework.Contains('-windows'))">
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.0.0" />
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.0.30" />
</ItemGroup>
I got this error on build.
Severity Code Description Project File Line Suppression State Error CS0234 The type or namespace name 'RadNumericInput' does not exist in the namespace 'Telerik.XamarinForms.Input' (are you missing an assembly reference?) AutomationClient.MAUI (net6.0-android) D:\Applications\AutomationClient\AutomationClient.MAUI\Microsoft.Maui.Controls.SourceGen\Microsoft.Maui.Controls.SourceGen.CodeBehindGenerator\Views_AddSchedulerView.xaml.sg.cs 54 Active
I used this xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.Maui.Controls.Compa
<telerikInput:RadNumericInput x:Name="numericInputRecursEvery" Value="{Binding SelectRecursEvery , Mode=TwoWay}" Minimum="0" HorizontalOptions="Center" VerticalOptions="Center" WidthRequest="200" Margin="5"/>
Daniel, please carefully read release notes when going from preview to preview. Especially before just opening a new support ticket (or forum post) to see if there's something you might have missed.
You will see in the v0.7.0 release notes that we have explicitly stated we migrated the RadNumericInput to a MAUI handler :
This explains the error message, which has nothing to do with Windows. IT says that the control isn't in the Telerik.XamarinForms.Input namespace anymore
This is expected and is because of that breaking change, all MUAI handlers use the same namespace. Remember, this is still a preview and there will be breaking changes in between our releases when a control goes from a Xamarin.Forms shim to .NET MAUI native handler.
So, what do you do when this happens?
- Look at the SDK Browser demo that came with your version (this is the first place you should always go because it has the latest build of all the controls)
- Look at the documentation (this is still being generated right now, so it's a little delayed)
- Search the forums for an answer
- If you don't see an answer in any of the above, then you can open a forum post (at this point, you can afford to wait a few days for an answer)
I highly recommend #1 because it will always have an immediate answer for you. If you look at the RadNumericInput > Getting Started example in there, you'll find the updated namespaces:
Here's the Getting started example's file:
I looked on documentations that are not updated yet.
Now I look on the SDK demo and new namespace is:
xmlns:telerik="clr-namespace:Telerik.Maui.Controls;assembly=Telerik.Maui.Controls"
Yep! That's it. It's the same namespace for all the new controls. These are what are sometimes referred to as "handlers".
Warning If you have any custom ControlTemplates that you previously used for the old NumericInput, then you need to start over. I recommend not using any custom ControlTemplate override and trying the new styling first... then decide on what you want to change later. This is because we made significant changes to the structure of the control (this is the "Improved the UI" comment in the release notes).
[Edit 1] The documentation updates are now live. See NumericInput Control | Getting started. I have also removed my txt attachment as the same ControlTemplate code is now available here => NumericInput | Control Template.