GithubHelp home page GithubHelp logo

hamed-shirbandi / mvcpagedlist.core Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 7.0 3.02 MB

Easily paging in ASP.NET Core MVC that gets data as chunks from database

License: MIT License

C# 64.57% CSS 25.26% JavaScript 0.08% HTML 10.09%
ajax mvc-core pagination

mvcpagedlist.core's Introduction

With over 8 years of experience in Software development, I am a Software Engineer passionate for Software design & Architecture (specially DDD, CQRS, Event Sourcing & Microservices) and Agile practices such as TDD and BDD with an in depth knowledge of OOP, Design Patterns and SOLID Principles.

Find me around the web :

LinkedInInstagramGitHubMediumNugetEmailTelegramTwitter

Or take a look at my Resume.

mvcpagedlist.core's People

Contributors

hamed-shirbandi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mvcpagedlist.core's Issues

Problem with display options

I develop Asp .Net 6 application in Visual Studio 2022.
When I use on my view below Pager code without display options everything works fine (Pager is visible and included in html body):

    @PagedList.Pager(actionName: "SettlementsGrid",

    pagerOptions: new PagerOptions
    {
    //DisplayInfoArea=false,
    currentPage = Model.PageIndex,
    PageCount = 20,
    TotalItemCount = Model.RowsCount
    },       
    controllerName: "Settlements",
    ajaxAttributes: new
        {
        data_ajax = "true",
        data_ajax_loading = "#ajaxSpinner2",
        data_ajax_update = "#A_divSettlementsGrid",
        data_ajax_method = "GET",
        data_ajax_mode = "replace",            
        }


    )

When I try to uncomment display option Pager is not build in html body and it is not visible. I do net get any error during rendering of view.

Upgrade to bootstrap 4

hi , thanks for your awesome package to share us , Can you upgrade package to bootstrap 4 because everyone use bootstrap 4 with dot net core 2 right now

Seo friendly

سلام من کد هاتون رو دیدم ولی سوالی که دارم اینه که صفحه بندی به این شکل به نظر سئوی خوبی نداره
راهی هست که بشه آدرس بار هم تغییر داد
با کلیک روی صفحه ها

hi

Hello and thank you. The question that is at your service is that if we want to enclose each script page in MvcPagedList.Core after loading ajax, where should we proceed? Thank you.
قای شیربندی با سلام وتشکر سوالی که خدمتتان اینست که اگر بخواهیم در MvcPagedList.Core بعد از لود ajax هر صفحه اسکریپتی را اچرا کنیم کجا باید اقدام کنیم.ممنون

maximum page number to display

Hi,

is there a way to display the maximum pages displayed? so the page only displays "n" pages according to what we need, because if there are 100 pages it will make the pages 1-100, what I want is [1],[2],[3],[4],[5 ]****,[...],[last] if I set the maximum pages displayed is 5, sorry for my English and thank you for this amazing project

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.