Mobile wrappers in UI For ASP.NET Core

1 Answer 101 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

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