I am building a site in ASP.NET MVC. I intend to replicate the way StackOverflow displays its posts. Are these guys using a repeater control in ASP.NET MVC? I do want complete control on the markup rendered, but I also want pagination.
What is the best approach in such a case.
I have no idea how StackOverflow implements it, but you don't need to use any asp.net control.
Of course you would need to build your own pager.
Take a look at the NerdDinner tutorial, it has a section showing how you can create a paged list. http://weblogs.asp.net/scottgu/archive/2009/04/28/free-asp-net-mvc-nerddinner-tutorial-now-in-html.aspx
It is pretty easy and you have full control over all the markup. In fact you pretty much have to provide all the markup almost none of the markup is generated by asp.net.