Giter VIP home page Giter VIP logo

Comments (5)

joeaudette avatar joeaudette commented on July 23, 2024

sorry for some reason I did not get email notification of this issue and just noticed it.

Did you add this in your _ViewImports.cshtml file as indicated in the readme?

@addTagHelper "*, cloudscribe.Web.Pagination"

from cloudscribe.web.pagination.

joeaudette avatar joeaudette commented on July 23, 2024

if you continue having trouble please post more details about how you are using it ie your markup.

It will only render if the total item count is higher than the page size, ie if there are more pages of data.

from cloudscribe.web.pagination.

AndyEV avatar AndyEV commented on July 23, 2024

Okay, yes I did so I finally found a way to make it work.

So if am using cs-paging-info="@Model.Paging" it doesn't work but if am braking it down like this
cs-paging-pagesize="@Model.PageSize" cs-paging-pagenumber="@Model.PageNumber" cs-paging-totalitems="@Model.TotalItemCount"
the above works perfectly well...

from cloudscribe.web.pagination.

joeaudette avatar joeaudette commented on July 23, 2024

sounds like your paging model was not populated correctly in the controller action, I use it all the time, but fine to use the individual params instead. closing this issue since it is working for you.

from cloudscribe.web.pagination.

Pinski avatar Pinski commented on July 23, 2024

@AndyEV
If cs-paging-pagesize="@Model.PageSize" works then cs-paging-info="@Model" should work too, right? It seems the model you are using on that page is the PaginationSettings class directly.

from cloudscribe.web.pagination.

Related Issues (20)

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.