« Fixing a VS.NET 2008 Beta 2 ASP.NET Debugging Issue on Vista: "Strong name validation failed" | Main | Freeze ASP.NET GridView Headers by Creating Client-Side Extenders »

Video: Using the New ASP.NET ListView Control

ASP.NET 3.5 introduces a new control called the ListView that allows developers to have 100% control over the HTML markup that is generated while still providing paging, inserting, updating, and deleting support. To me the ListView control is a nice blend between the GridView and Repeater controls with new features added.

In this video I walk through the fundamentals of using the ListView control and show how you can use the new CSS tools in VS.NET 2008 to create a scrollable ListView control with a frozen header. See my previous blog post if you're interested in learning how to freeze GridView control headers in IE and FireFox.

 

Posted on Wednesday, August 1, 2007 at 10:15PM by Registered CommenterDan Wahlin in | Comments8 Comments | References2 References

PrintView Printer Friendly Version

EmailEmail Article to Friend

References (2)

References allow you to track sources for this article, as well as articles that were written in response to this article.
  • Response
    ASP.NET 3.5 introduces a new control called the ListView that allows developers to have 100% control
  • Response
    Response: ASP.NET ListView
    Have a look at this nice video by Dan Wahlin on the new ASP.NET control included in the Orcas release:

Reader Comments (8)

Video cut off in Firefox.
August 2, 2007 | Unregistered CommenterChris
The sound is terrible.
August 2, 2007 | Unregistered CommenterLeonardo Micheloni
Chris,

There's a link directly below the video that will allow you to get to the .wmv file if you'd like to view it directly in Windows Media player. I just tried it in FireFox and it didn't cut-off so I don't know if there was a network issue at the time or something else caused it.

Leonardo,

You may want to try it from a different PC. The sound is actually fine on it from what I've heard from others.

August 2, 2007 | Unregistered CommenterDan Wahlin
Dan,
Could you also give the example of freezing the header horizontally. I have the case where I have to display a lot of columns.

Thanks
August 2, 2007 | Unregistered CommenterELAZ
Dan,
To clarify my previous comments. Could you also give the example of freezing the header vertically and horizontally. I have the case where I have to display a lot of columns and rows.

Thanks
August 2, 2007 | Unregistered CommenterELAZ
I think what ELAZ means freezing the header vertically but allows the header to scroll to the right, so it looks like ListView in Windows???
August 2, 2007 | Unregistered CommenterJohn
ELAZ,

Thanks for the suggestion. I don't currently have code for what I think you're asking for unfortunately and have some other things I'll be working on. If I end up working on something like that though I'll definitely blog about it. Thanks again for the suggestion.
August 5, 2007 | Unregistered CommenterDan Wahlin
Im getting prompted for a Username/Password....
August 24, 2007 | Unregistered CommenterMichael
Editor Permission Required
You must have editing permission for this entry in order to post comments.