New to Telerik UI for ASP.NET Core? Download free 30-day trial

ASP.NET Core PanelBar Loading Content with AJAX

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
ajax.cshtml
AjaxController.cs
Ajax_TagHelper.cshtml

Also available for:

CLIENT-SIDE API HTML HELPER API

Description

The Telerik UI for ASP.NET Core PanelBar offers an on-demand content loading. In this way, the DataSources of the items are fetched lazily when their parent is expanded. When loading only the required section and delaying the remaining until it is needed by the users, is widely used for online content. This technique has many advantages among which reducing the server traffic, increasing the web application speed, and giving a positive impact on the user experience.

The current example demonstrates how to load the PanelBar items content on-demand by requesting the correspondent data through the LoadContentFrom property of the HtmlHelper or the content-url attribute of the TagHelper.

Additional Apps

This PanelBar example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources