How to redirect on first and last page of gridview using object datasource?
-
Hi friends.. I have gridview and i fill data in gridview using ObjectDataSource. I set properties EnablePaging and PageSize for displaying page numbers.. Now what i want to add is "First" and "Last" link on paging..So user can go to either first or last page of gridview by clicking on it.. So how to achieve that? Thanks..
-
Hi friends.. I have gridview and i fill data in gridview using ObjectDataSource. I set properties EnablePaging and PageSize for displaying page numbers.. Now what i want to add is "First" and "Last" link on paging..So user can go to either first or last page of gridview by clicking on it.. So how to achieve that? Thanks..
Ravi Mori wrote:
Now what i want to add is "First" and "Last" link on paging..So user can go to either first or last page of gridview by clicking on it..
You can give here number, text or Image. Try to Explore
Pager Settings
[ FirstPageText, LastPageText, NextPageText, FirstPageImageUrl etc.. ]
forGridView
.Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Visit My Latest Article : Beginner's Guide : Exploring IIS 6.0 With ASP.NET
-
Ravi Mori wrote:
Now what i want to add is "First" and "Last" link on paging..So user can go to either first or last page of gridview by clicking on it..
You can give here number, text or Image. Try to Explore
Pager Settings
[ FirstPageText, LastPageText, NextPageText, FirstPageImageUrl etc.. ]
forGridView
.Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Visit My Latest Article : Beginner's Guide : Exploring IIS 6.0 With ASP.NET
-
Welcome ! ;)
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Visit My Latest Article : Beginner's Guide : Exploring IIS 6.0 With ASP.NET