What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 127 Stack Exchange communities.

Does Stack Overflow use Gridview or Listview for listing its questions and answers?

share|improve this question

migrated from stackoverflow.com Mar 4 '10 at 16:22

This question came from our site for professional and enthusiast programmers.

    
Why are people voting to close this. It is a valid programming question, hmm maybe someone wants to develop similiar functionality so they want to know what type of control this is. People stop being so click happy...this site being run by the users seems to be getting worse then better. –  JonH Mar 4 '10 at 16:02
6  
First rule of Stackoverflow. You do not talk about stackoverflow. –  Jack Marchetti Mar 4 '10 at 16:05
    
@JonH - IMHO Sarah 'wonders'. The question, as it is now, does not relate to a programming concept. And, it will be better answered by the guys at meta.stackoverflow.com. Although, if she had asked, why SO uses alphaview instead of betaview, it would have been better suited. i am just saying ... –  nvl Mar 4 '10 at 16:14
add comment

2 Answers

My guess is, it's simply a for loop written in-line.

    <% foreach (Question q in (IEnumerable)ViewData["Questions"]) { %>

    <h2>
        <%= q.Title%>
    </h2>

<% } %>

For instance...

share|improve this answer
1  
Which looks way cleaner than webform gunk. –  Earlz Mar 4 '10 at 16:31
add comment

Stackoverflow is built using ASP.NET MVC, not webforms. So, they most likely just loop through the questions on the page and build the html.

share|improve this answer
add comment

You must log in to answer this question.