Mobile wrappers in UI For ASP.NET Core

1 Answer 175 Views
AppBar ListView
Gerardo
Top achievements
Rank 1
Iron
Veteran
Iron
Gerardo asked on 24 Jun 2022, 10:40 PM

Hello,

I'm migrating an application from UI For ASP.NET MVC to UI For ASP.NET Core and mobile components are not found, what are the equivalents components of MobileApplication, MobileListView, etc.?

1 Answer, 1 is accepted

Sort by
0
Stoyan
Telerik team
answered on 29 Jun 2022, 09:28 AM

Hi Gerardo, 

Based on the provided information I am unsure what do you mean by MobileApplication and MobileListView as neither the Telerik UI for MVC Demos nor the Documentation shows that such a configuration is supported out-of-the-box.

Could you share the configuration on your side to enable me to research the topic further? Thank you for your cooperation in advance.

Regards,
Stoyan
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.

Gerardo
Top achievements
Rank 1
Iron
Veteran
Iron
commented on 05 Jul 2022, 02:18 PM | edited

hi Stoyan,

In the legacy application which uses kendo 2021.2.616.545  there exists a bunch of mobile controls such as:

Kendo.Mvc.UI.Fluent.MobileApplicationBuilder
Kendo.Mvc.UI.Fluent.MobileListViewItemBuilder
Kendo.Mvc.UI.Fluent.MobileDrawerBuilder
Kendo.Mvc.UI.Fluent.MobileSwitchBuilder
Kendo.Mvc.UI.Fluent.MobileTabStripBuilder

they are available right from the WidgetFactory,   used in code like this:

    @(Html.Kendo().MobileListView<RoomType>()
                  .Name("roomtype-listview")
                  .EndlessScroll(false)
                  .PullToRefresh(false)
                  //more configuration....

but those classes don't seem to be defined when using Telerik UI for AspNet Core 2022.2.510

Stoyan
Telerik team
commented on 08 Jul 2022, 01:11 PM

Hi Gerardo,

I have reached out to our DevTeam to gather more information why MobileApplication, MobileListView and other MVC Mobile Components aren't available. I have found that the reason is that we plan to deprecate the existing Mobile Components in the future.

As an alternative you can use the Kendo HybridUI to achieve the same mobile experience in the pages you'd like:

    var app = new kendo.mobile.Application(document.body,
    {
        platform:'android'
    });

The reason I recommend this approach is that Telerik UI server-side wrappers serialize to Kendo UI for jQuery.

I remain open if further questions on the topic arise.  

Gerardo
Top achievements
Rank 1
Iron
Veteran
Iron
commented on 08 Jul 2022, 01:27 PM

Fair enough,

thanks Stoyan

Gerardo
Top achievements
Rank 1
Iron
Veteran
Iron
commented on 16 Jan 2025, 04:47 PM

 

Hello again,

This upgrade was put on hold back then. As we resumed it, we found out that Hybrid UI components are now deprecated. Do you have an alternative solution to continue supporting mobile?

Ivan Danchev
Telerik team
commented on 21 Jan 2025, 09:02 AM

Hello Gerardo,

As of the R2 2023 release, we have discontinued the shipment of the Hybrid UI components as a whole in the Kendo UI for jQuery and Telerik UI for ASP.NET MVC and Telerik UI for ASP.NET Core.

The discontinuation of the Hybrid components (part of which is the MobilePopOver) has been explained in the following blog-post: What’s New in Kendo UI R2 2023 (Blog Post)

Consider using the Telerik UI for ASP.NET Core counterparts of the old Hybrid UI components, for example:

Drawer: https://demos.telerik.com/aspnet-core/drawer
TabStrip: https://demos.telerik.com/aspnet-core/tabstrip
ListView: https://demos.telerik.com/aspnet-core/listview
Switch: https://demos.telerik.com/aspnet-core/switch

The components can be used on desktop as well as on a mobile device.

Gerardo
Top achievements
Rank 1
Iron
Veteran
Iron
commented on 21 Jan 2025, 02:56 PM

alright,  thank you Ivan
Tags
AppBar ListView
Asked by
Gerardo
Top achievements
Rank 1
Iron
Veteran
Iron
Answers by
Stoyan
Telerik team
Share this question
or