Close Menu
Şevket Ayaksız

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Best VPN Discounts This Month

    Mayıs 12, 2025

    Orb Offers Continuous Internet Performance Insights

    Mayıs 10, 2025

    MSI Claw Handhelds See 10% FPS Increase with Intel’s Latest Update

    Mayıs 10, 2025
    Facebook X (Twitter) Instagram
    • software
    • Gadgets
    Facebook X (Twitter) Instagram
    Şevket AyaksızŞevket Ayaksız
    Subscribe
    • Home
    • Technology

      Orb Offers Continuous Internet Performance Insights

      Mayıs 10, 2025

      MSI Claw Handhelds See 10% FPS Increase with Intel’s Latest Update

      Mayıs 10, 2025

      Ryzen 8000 HX Series Brings Affordable Power to Gaming Laptops

      Nisan 10, 2025

      Today only: Asus OLED laptop with 16GB RAM drops to $550

      Nisan 6, 2025

      Panther Lake: Intel’s Upcoming Hybrid Hero for PCs

      Nisan 5, 2025
    • Adobe
    • Microsoft
    • java
    • Oracle
    Şevket Ayaksız
    Anasayfa » Integrate Drag-and-Drop Functionality in Microsoft Blazor with SortableJS
    java

    Integrate Drag-and-Drop Functionality in Microsoft Blazor with SortableJS

    By mustafa efeEylül 7, 2024Yorum yapılmamış3 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    Share
    Facebook Twitter LinkedIn Pinterest Email

    SortableJS Library Now as a Blazor Component: Enabling CSS Animations, Auto-Scrolling, and Smooth Touch Interactions in Modern Browsers

    SortableJS, a popular JavaScript library known for enabling reorderable drag-and-drop lists, has been transformed into a component for Microsoft’s Blazor web application framework, under the new name Blazor Sortable. This integration aims to enhance the developer experience for Blazor users by allowing them to easily incorporate drag-and-drop functionality in their applications without the need for extensive JavaScript coding.

    Drag-and-drop list reordering is a common requirement in modern web applications, especially for user interfaces that prioritize dynamic and interactive content. Blazor Sortable brings the core capabilities of SortableJS—such as support for touch devices, compatibility with modern browsers, CSS animations, auto-scrolling, and smooth item movement—to the Blazor ecosystem. These features enable developers to create rich and responsive web applications that deliver a seamless user experience across different devices.

    Launched on January 12 as an open-source project, Blazor Sortable is hosted on GitHub, where developers can access its source code, along with various demos to showcase its functionality. To start using Blazor Sortable in their projects, developers need to include three essential files: Shared/SortableList.razor, Shared/SortableList.razor.css, and Shared/SortableList.razor.js. The component is generic and flexible, designed to take a list of items, with the SortableItemTemplate specifying how each item is rendered within the sortable list.

     

     

    Blazor, Microsoft’s framework for building interactive web applications using .NET and C#, provides a compelling alternative to JavaScript-heavy frameworks by enabling full-stack development in C#. By incorporating Blazor Sortable, developers can further simplify their codebase and focus on leveraging .NET’s capabilities, without delving into JavaScript for common UI tasks. However, it’s important to note that while Blazor Sortable currently supports many core features of SortableJS, not every feature has been implemented yet. The community is encouraged to contribute through pull requests to help extend its functionality.

    A significant advantage of SortableJS, and by extension Blazor Sortable, is its independence from libraries like JQuery or any other JavaScript framework. This flexibility allows developers to easily integrate drag-and-drop features without additional dependencies, reducing bloat and complexity in their applications. SortableJS also supports advanced features such as dragging items between lists or within the same list, CSS animations for item transitions, and CSS transformations for enhanced visual effects. The library’s versatility is further demonstrated by its compatibility with a variety of modern frameworks, including Angular (a TypeScript-based framework) and Vue (a progressive JavaScript framework), as well as support for JQuery.

    For developers looking to enrich their Blazor applications with robust drag-and-drop capabilities, Blazor Sortable provides a straightforward solution that builds on the powerful foundation of SortableJS. Its open-source nature and flexible architecture make it an excellent choice for both small projects and large-scale enterprise applications. As the Blazor ecosystem continues to grow, components like Blazor Sortable are crucial in bridging the gap between .NET and the dynamic web functionalities traditionally dominated by JavaScript.

    Post Views: 88
    java Programming Languages Software Development
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    mustafa efe
    • Website

    Related Posts

    The Cot framework simplifies web development in Rust

    Nisan 29, 2025

    IBM Acquires DataStax to Enhance WatsonX’s Generative AI Strength

    Nisan 29, 2025

    Google Launches Free Version of Gemini Code Assist for Individual Developers

    Nisan 29, 2025
    Add A Comment

    Comments are closed.

    Editors Picks
    8.5

    Apple Planning Big Mac Redesign and Half-Sized Old Mac

    Ocak 5, 2021

    Autonomous Driving Startup Attracts Chinese Investor

    Ocak 5, 2021

    Onboard Cameras Allow Disabled Quadcopters to Fly

    Ocak 5, 2021
    Top Reviews
    9.1

    Review: T-Mobile Winning 5G Race Around the World

    By sevketayaksiz
    8.9

    Samsung Galaxy S21 Ultra Review: the New King of Android Phones

    By sevketayaksiz
    8.9

    Xiaomi Mi 10: New Variant with Snapdragon 870 Review

    By sevketayaksiz
    Advertisement
    Demo
    Şevket Ayaksız
    Facebook X (Twitter) Instagram YouTube
    • Home
    • Adobe
    • microsoft
    • java
    • Oracle
    • Contact
    © 2025 Theme Designed by Şevket Ayaksız.

    Type above and press Enter to search. Press Esc to cancel.