Click here to Skip to main content
15,901,205 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi..
Already i set height in div tag for grid and also gave as allow paging="false".
But still why im getting paging in grid?
Posted
Updated 29-May-12 21:13pm
v2

1 solution

Set allowpaging property of grid view to false

and set pagesize property to 0

Then see what happen

Hope this helps , If yes then plz accept and vote the answer. Any queries / questions on this are always welcome.

Thanks & Regards
RDBurmon.Sr.Software Engineer
 
Share this answer
 
Comments
Priyaaammu 30-May-12 3:55am    
I got error as '0' could not be set an property 'PageSize'
RDBurmon 30-May-12 3:57am    
Have you tried "allowpaging" property ?
Priyaaammu 30-May-12 4:07am    
yes...still pagination is working
RDBurmon 30-May-12 4:12am    
Could you post you ASP code. ?
Priyaaammu 30-May-12 4:18am    
<div style="height:200px; overflow:auto">
<asp:GridView ID="grdFunctional" runat="server" AllowSorting="True"
AutoGenerateColumns="False" Width="100%" AllowPaging="False">
</div>

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900