SQL
' class="fa fa-x fa-refresh" aria-hidden="true" OnClick="lnkRefresh_Click">
' class="fa fa-x fa-rupee" aria-hidden="true" OnClick="lnkRefund_Click">
'>
--%>
' style="font-size: 13px;font-weight:bold;">
--%>
--%>
--%>
' CommandArgument='' Height="20" Width="20" Font-Size="Medium" ForeColor="#334d88">for the above code im getting gridview paging like below

but when i use the same code for another webform im not getting gridview paging
and my code is
PowerShell
" PageButtonCount="5" />
' CommandArgument='' Enabled='' OnClick="btnlnk_Click" >--%>
' CommandArgument='' Height="20" Width="20" Font-Size="Medium" ForeColor="#334d88">and im getting like this


Jayraj ChhayaRank #304 · 8.2K reputationPosted Dec 18, 2023, 12:33 AM EST
I found that the
SolutionAllowPagingproperty of theCreditcardPaymentviewGridView is set to "false". This property needs to be set to "true" to enable paging.To enable paging in the
CreditcardPaymentviewGridView, follow these steps:CreditcardPaymentviewGridView in the code snippet.AllowPagingproperty to "true".AutoGenerateColumns="False" EmptyDataText="No Records Found" ShowFooter="true" ShowHeaderWhenEmpty="true" OnRowDataBound="grdvwTransactions_RowDataBound" PageSize="10" CellPadding="3">By setting the
AllowPagingproperty to "true", the paging functionality will be enabled for theCreditcardPaymentviewGridView.Jayraj ChhayaRank #304 · 8.2K reputationPosted Dec 18, 2023, 12:42 AM EST
Hi Jaya Prakash,
Please allow "
AllowPaging"property in LoginGrdView because is false that's why pagination is not working.If you allow after then pagination is working properly.
Jaya PrakashRank #1,293 · 1.3K reputationPosted Dec 18, 2023, 12:38 AM EST
hi sir thank you for ur reply ,
here im getting paging in
CreditcardPaymentviewbut not getting in LoginGrdView can u even though they didnot use allowpaging property to true in code behind im confused why im not getting it correctly pls help me to fixJaya PrakashRank #1,293 · 1.3K reputationPosted Dec 18, 2023, 12:50 AM EST
Even though i changed it to "true" im only getting pageno only 1 and not getting other pages 2,3,4 as marked in pic sir i have plenty of records

Jignesh KumarRank #91 · 22.9K reputationPosted Dec 18, 2023, 11:59 PM EST
Hello Jaya prakash,
Please check this area,
" PageButtonCount="5" />You need to change pagersetting in your LogiGridView,
" PageButtonCount="5" />Satyaprakash SamantarayRank #101 · 21.1K reputationPosted Dec 19, 2023, 3:00 AM EST
Hi,
Please try below in GridView ID="CreditcardPaymentview section
If still not works then go to inspect element in chrome browser of that .aspx page and check the issue in console section.
Check the AllowPaging="true" in .aspx and also check OnPageIndexChanging vaue in .aspx.cs page
Check below link for details
https://www.aspdotnet-suresh.com/2015/04/paging-in-aspnet-gridview-using-pageindexchanging-event-with-example-using-csharp-vbnet.html