Info
Version: | 1.0.0 |
Author(s): | Dukhabandhu Sahoo |
Last Update: | Wednesday, February 25, 2015 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/BootstrapSimplePager |
Install
Install-Package BootstrapSimplePager
dotnet add package BootstrapSimplePager
paket add BootstrapSimplePager
BootstrapSimplePager Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
It mainly adds the querystring in the page URL like http://www.example.com?page=1.
It is designed for ASP.NET Web Forms.
The pager is fully customizable.
Steps to use it:
1) The Nuget package automatically registers the custom control in <controls> section of "Web.config" file like:
<system.web>
<pages>
<controls>
<add namespace="BootstrapSimplePager" assembly="BootstrapSimplePager" tagPrefix="pager" />
</controls>
</pages>
</system.web>
2) To make the pager working properly, set "TotalRecordCount" and "PageSize" properties like:
<pager:SimplePager runat="server" TotalRecordCount="10" PageSize="2" />
3) One of the important property is "IncludePagerStyleSheet". If your page already contains the Bootstrap style(which includes Bootstrap pager) then you don't need to set this property.
Else set the property to "True" to include the Bootstrap pager style in the page.