The DataPager Control

Please install Silverlight or click download to watch video locally.

Generally the DataPager control is used with the ListView control. The ListView control is data driven. First create a ListView control and provide it some data. Next drop the DataPager control onto the page to enhance the web page functionally. If you have not watched the ListView control How-Do-I video it would be best to review it before using the DataPager control.

Presented by Joe Stagner

Duration: 8 minutes, 3 seconds

Date: 15 November 2007

Watch    Video   |   Download    Video   |   VB Code

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

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

Comments : 36

Leave a Comment

underthex : On June 12, 2008 6:52 AM said:

Hi Joe, can I use DataPager control with DataList control?? Thx

aartimalik19 : On July 03, 2008 11:57 AM said:

Video is really helpful

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

Video was helpful in learning

Cyclist : On July 16, 2008 2:29 PM said:

The RSS Feed displayed in the ListView control with paging.  Cool stuff in the RSS Content too!

Taraknath : On August 08, 2008 11:37 PM said:

i cant download video,

its display "page not found"

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

thanks.....

lhking : On September 12, 2008 9:45 PM said:

i am a new person. Glad to meet you .

vpmragu : On September 22, 2008 12:41 AM said:

i am a new for MVC.

this is help me to learn.

djibril_chimere_DIAW : On October 31, 2008 4:12 AM said:

Thanks! Jërëjëf!

leit : On November 21, 2008 3:20 AM said:

Hi Joe,

Thank you for your video. But I want to change code a litle but I had a problem.

In code behind:

Listview1.DataSource = DataTable;

Listview1.DataBind();

Outside Design:

                     ItemContainerId="DataSection"

                     runat="server">

       

         

Joe's Recent Blog Entries

         

                             

       

         

<%# Eval("Title") %>

       

       

         

       

<Fields>

             <asp:NextPreviousPagerField

                         ButtonType="Button"

                         ShowFirstPageButton="true"

                         ShowLastPageButton="true"

                         ShowNextPageButton="true"

                         ShowPreviousPageButton="true" />

           <asp:NumericPagerField />                          

          </Fields>

</asp:DataPager>

Pls, help me.

Best regard,

Mr. Le

rami_nassar : On December 01, 2008 2:10 AM said:

I had a question... can I use the pager control with gridView???

keeesari_anjaiah : On February 16, 2009 11:31 AM said:

very nice video thanks joe............

your videos are very helpful

amin_pucit : On March 11, 2009 1:50 PM said:

nice video

gbetsos : On March 19, 2009 12:37 PM said:

Thanks Joe for this helpful video

mcp111 : On March 28, 2009 3:51 AM said:

why is there no sound for this video???

mcp111 : On March 28, 2009 4:14 AM said:

for some reason while moving between pages in Firefox, sometimes the entire page does not load and the datapager is not visible. No problems with IE.

Henx : On April 07, 2009 11:30 PM said:

Very nice vid.

Thanks

BreckenridgeReal : On April 07, 2009 11:51 PM said:

Video was helpful in learning

P.S I have Firefox and don't have any problem to see this video

Colorado" target="_blank">http://www.luckymountainhome.com/">Colorado real estate

mestays : On April 15, 2009 9:51 AM said:

very good video

taki.said : On May 02, 2009 7:25 AM said:

Hello everyone,

about the datapage control, it is possible to use it with the ASP.NT MVC application tahnks.

If it is possible, do you know a tutorial about C#.

Thanks for your help.

sansinfo2008 : On May 10, 2009 4:39 AM said:
Good video to learn datapage control
haithemara : On May 19, 2009 3:25 AM said:

thank you Joe.

angela_china : On May 29, 2009 3:08 AM said:

3q

digish : On July 01, 2009 1:55 PM said:

The ListView Control is the only control in ASP.NET that supports the new ASP.NET control, the Data Pager Control

digish : On July 01, 2009 1:55 PM said:

The ListView Control is the only control in ASP.NET that supports the new ASP.NET control, the Data Pager Control

digish : On July 01, 2009 1:56 PM said:

The ListView Control is the only control in ASP.NET that supports the new ASP.NET control, the Data Pager Control

digish : On July 01, 2009 1:58 PM said:

The ListView Control is the only control in ASP.NET that supports the new ASP.NET control, the Data Pager Control

digish : On July 01, 2009 1:59 PM said:

The ListView Control is the only control in ASP.NET that supports the new ASP.NET control, the Data Pager Control

vi2good : On July 20, 2009 5:07 PM said:

Thanks for this helpful video.

M Athar : On July 21, 2009 3:07 PM said:

it is quite helpful

.NETGeek : On July 31, 2009 10:33 AM said:

Nice video joe..

semaphoreman : On August 25, 2009 2:05 PM said:

the Data Pager control requires the Data Control to implement the "IPageableItemContainer" interface. This is a part of the System.Web.Extensions namespace that is shipped with .NET 3.5.

This interface is currently implemented only by the List View control

bkraider : On August 27, 2009 5:34 PM said:

nice work

AndrewR6173 : On September 05, 2009 10:24 PM said:

And for those of you who use the Code Behind to set the DataSource property of the ListView control... and then find the DataPager Control not working (or not working right) when you slap it in the page, be sure to check out this blog post to get it to behave:

http://www.thejacklawson.com/index.php/2008/07/aspnet-datapaging-control-with-data-sources-set-in-the-codebehind-including-linq/

shilpakulkarnimcmfresher : On September 17, 2009 9:22 AM said:

Thanks ...this was really helpful.. Just if u type faster , it will save some time ..Ur communication skills are good and one can easily understand and remember.Thanks...

pepitombar : On September 25, 2009 5:38 AM said:

Great vid, just what I need, thanks

Leave a Comment

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

Microsoft Communities