[iOS] RadDataGrid - Exception "Platform cannot be null here"

0 Answers 11 Views
DataGrid
Timur
Top achievements
Rank 1
Timur asked on 15 Jul 2025, 02:10 PM

I have encountered a problem with a page with RadDataGrid  on it. On iOS when pressing back from this page app crashes with this error:

I'm suspecting a RadDataGrid because when I remove it from the page exception no longer occurs. It works on android without any issues.

version used: Telerik.UI.for.Maui 6.6.0
dotnet version: net9.0-ios

Lance | Senior Manager Technical Support
Telerik team
commented on 15 Jul 2025, 03:47 PM

Hi Timur,

The version of UI for Maui you're using is quite old, it's fine for .NET 6 apps, but for .NET 9 TFM (net9.0-ios/net9.0-maccatalyst), you're going to want to update to a version of UI for Maui that supports the new platform handlers and architecture.

Please update to v11.0.1 and Clean/Rebuild. You can see our release history here for more specifics => https://www.telerik.com/support/whats-new/maui-ui/release-history 

License Note

Normally I really try to avoid mentioning anything about licensing in the forums, but in your case it's important. You will need to start a new trial for UI for Maui so that you can access Telerik.UI.for.Maui v11.0.1 NuGet package so you can test against it. Take the following steps:

  1. Go to https://www.telerik.com/maui-ui and click "download free trial", this will apply a new trial license on your account
    • Note: you don't need to use the download right now
  2. Wait a minute or two for the license change to propagate to the Telerik NuGet server
  3. Go back into Visual Studio and open the NuGet Package Manager
    1. Search for Telerik.UI.for.Maui
    2. Install v11.0.1
  4. Right click on the project and select Clean, then Rebuild
  5. Redeploy to iOS and confirm if issue is resolved

If you find this resolves the issue, you can upgrade your trial to a paid version. After the purchase, download an updated license file and replace your local copy of %appdata%/Telerik/telerik-license.txt. then do a Clean and Rebuild again, and you're all set. 

 

 

Timur
Top achievements
Rank 1
commented on 15 Jul 2025, 04:31 PM | edited

Hi Lance. Our company has a license for for some Telerik products, but for some reason I see v. 6.6.0 for Telerik.UI.for.Maui as maximum in nuget package manager from Telerik source (we use login and password), so I though it is the latest one. I think I'll check with people who see to this license stuff.
Lance | Senior Manager Technical Support
Telerik team
commented on 15 Jul 2025, 05:30 PM

Hi Timur,

Correct, that version is the maximum because of when the license expired. Our NuGet server uses your credentials to check your account for which versions should be available to you, this is based on the time frame of your licenses.

You can quickly start a new trial now by following my instructions above, this will make 11.0.1 available to you, but you'll be using it in trial mode (you'll see a watermark at runtime, but everything else is the same as the commercial version).

In VS2022, just make sure you are using https://nuget.telerik.com/v3/index.json with your account and not someone else's. Alternatively, if you are using  .nupkg files in an offline fashion, you will be able to download it from here => https://www.telerik.com/account/downloads/product-download?product=MAUI. Just make sure you have done Step 1 in my previous list, that is what provisions you.

No answers yet. Maybe you can help?

Tags
DataGrid
Asked by
Timur
Top achievements
Rank 1
Share this question
or