The ListView Control

By creating a new website, I will demonstrate the new ListView control. Because the ListView is data drive, we will need a data source. You can use any data source: SQL, object data, link data or XAML. I will use my blog as the data source in this video.

Presented by Joe Stagner

Duration: 10 minutes, 40 seconds

Date: 15 November 2007

Watch the video   |   Download the video   |   Get the code

Video downloads: WMV | Zune | iPod | PSP | MPEG-4 | 3GP

Audio downloads: AAC | WMA | MPEG-4 | MPEG-3 | MPEG-2

Comments : 20

Leave a Comment

atarikg : On April 08, 2008 6:23 PM said:

awesome ! Thanks for that video...

JoeStagner : On April 14, 2008 9:08 PM said:

You're very welcome !!

jburnish : On May 13, 2008 9:21 AM said:

Nice work.  Now if I can just find a decent XML/XAML/XSLT class, well, anywhere, that would rock.

farisca : On May 18, 2008 2:31 PM said:

ThankYou So much for the Video..

It Helped me a lot for my studies.....

jrc4ksu2 : On May 24, 2008 2:16 PM said:

Your code works but has these two errors:

Message 1 Validation (ASP.Net): Attribute 'ItemContainerId' is not a valid attribute of element 'ListView'. F:\Windows\jrcBhere\My Documents\Visual Studio 2008\WebSites\Learn\2-Listview\Default.aspx 14 23 F:\...\2-Listview\

Error 2 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS. F:\Windows\jrcBhere\My Documents\Visual Studio 2008\WebSites\Learn\2-Listview\hdi-vs08-listview-code\web.c onfig 78

If "ItemContainerId" is not valid what is correct?

ramesh5782 : On June 11, 2008 5:45 PM said:

It's very good video. Thanks alot....

vik20000in : On July 04, 2008 3:22 AM said:

very good video.

joshypala : On July 07, 2008 6:07 PM said:

It's very good video. Thanks alot....

pakiduke : On July 07, 2008 10:52 PM said:

Great video. I learnt a lot about nested master pages from this. Thanks.

http://aspnet.eforica.com

vykunta : On July 19, 2008 3:07 AM said:

it's a good video. it simplifies the work. thank u very much.

wlussi : On August 09, 2008 4:55 AM said:

Hi Joe,

good video - but no C# code.

cv_vikram : On August 11, 2008 5:41 PM said:

thanks.....

munishbhatia : On August 13, 2008 2:28 PM said:

Good presentation

mumphis : On August 17, 2008 8:06 AM said:

a very neat feature.  When creating the video, you should have some of these code blocks available for cut and paste from another source.  This way you would have more time for explanations instead of having us watch you type.

Very good though, you demo is appreciated.

muhammed : On August 18, 2008 2:30 AM said:

good video Joe thanks

jlpa : On August 25, 2008 10:56 AM said:

Hi,

Can any help me?

I want to bind a List<staff> to a listview or gridview (staff is a custom class).

I have done this with dropdownlist but with gridview it is not working.

Below is the code behind

DropDownListDirector.DataSource = departmentManager.GetAllDirectors(); //returns a generic list of objects staff

           DropDownListDirector.DataTextField = "name";

           DropDownListDirector.DataValueField = "id";

           DropDownListDirector.DataBind();

aspx code:

<asp:DropDownList ID="DropDownListDirector" runat="server">

This is working.

What i am asking is : is it possible to do this with gridview or listview? How?

Thanks

sudeepunnikrishnan : On August 29, 2008 5:28 PM said:

pretty neat, thanks

Shripad.Baride : On September 20, 2008 12:16 AM said:

Very good video! Features of listview explained very nicely.

kaushalparik27 : On September 24, 2008 4:49 AM said:

thanx for the video.. nice and neat

adeel akberani : On September 24, 2008 9:27 PM said:

thanks for coopperete

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Page view counter
Microsoft Communities