Thread: Datalist Paging
View Single Post
  #4 (permalink)  
Old August 9th, 2007, 09:18 AM
dparsons dparsons is offline
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

The only way i see for you to come up with a "simpler" solution is to create a control that inherits from the datalist control and then provide support for paging within the control itself. This would then give your control a behavior much like that of GridView where we just need to call NewPageIndex. Of course, this isn't necessary simpler, it is just a control that supports paging.

Good luck.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET

Professional IIS 7 and ASP.NET Integrated Programming

================================================== =========