Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 17, 2012 11:51 AM by oned_gk
Nov 17, 2012 10:41 AM|LINK
I want to paginate a gridview and set its pagesize to 25.
Where is it better to do it? In gridview.databound or page.load event?
Thanks in advance.
Nov 17, 2012 11:11 AM|LINK
There is a
PageSize property on GridView Control, you can set it in markup. Alternatively, if you need to set it from code-behind, Page_Load is appropriate.
Nov 17, 2012 11:51 AM|LINK