Paging on a Datalist

ARTS0021

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

Related Post

Leave a Reply

Comment Policy:

  • You must verify your comment by responding to the automated email that is sent to your email address. Unverified comments will never show.Leave a good comment that adds to the conversation and I'll leave your link in.
  • Leave me pure spam and I'll delete it.
  • Leave a general comment and I'll remove the link but keep the comment.

Notify me of followup comments via e-mail

Bear