Home » none » Paging on a Datalist

Paging on a Datalist


This morning, my email had the following question:

“I am having a problem with datalist. Is it possible to do paging on datalist? If yes, what is the solution? I am using VB.NET on Microsoft Visual Studio 2008. Any recommend extension or solution?”

While I’m pretty sure I’ve addressed this in a previous article, I couldn’t find it doing a quick search, so I’ll review this issue again this morning.

The short answer is that, no you can’t do paging in a DataList. I created a hack for this back in 1.x, but there is no need for that anymore.

The DataList is a web control from the .NET 1.x days and has since been replace with the ListView control.

You can find my discussions of DataList to ListView conversion here:

Other Places Talking About DataList and Paging

Like this Article? Subscribe to get every article sent to your email.

Related Post

  • Converting a DataList to a ListViewConverting a DataList to a ListView Yesterday, I spent the bulk of the day converting a DataList to a ListView.  I thought I'd spend a little time relating the process for those of you who might be interested in doing […]
  • DotNetNuke Modules – Creating Base ModulesDotNetNuke Modules – Creating Base Modules Now that we have DotNetNuke installed into Visual Studio we can go ahead and create our first modules. Actually, creating the modules is pretty simple. But it is even easier to do it […]
  • ListView and the DataPagerListView and the DataPager One of the new controls that Visual Studio 2008 brings us is the ListView.  Now, the ListView control is really several different controls all rolled into one.  There is a lot to see with […]
  • Sorting the ListView in ASP.NETSorting the ListView in ASP.NET Are you confused about how to implement sorting in the new ListView control in ASP.NET 3.5?  Join me as I show you in this step by step video showing you exactly how to sort a ListView, […]
  • Add/Edit/Delete with ListViewAdd/Edit/Delete with ListView Last week we took a short look at the new ListView control in ASP.NET 3.5.  Today, we'll take a brief look at Add/Edit/Delete.  This is actually pretty simple stuff.

About Dave Bush

Dave Bush is a Full Stack ASP.NET developer. His commitment to quality through test driven development, vast knowledge of C#, HTML, CSS and JavaScript as well as his ability to mentor younger programmers and his passion for Agile/Scrum as defined by the Agile Manifesto and the Scrum Alliance will certainly be an asset to your organization.