Please help me with this error in datagrid paging

Discussion in 'ASP .Net Datagrid Control' started by William Gower, Apr 23, 2004.

  1. AllowCustomPaging must be true and VirtualItemCount must be set for a
    DataGrid with ID DataGrid1 when AllowPaging is set to true and the selected
    datasource does not implement ICollection.

    I set AllowPaging = "True" and PageSize=10
     
    William Gower, Apr 23, 2004
    #1
    1. Advertising

  2. William Gower wrote:

    > AllowCustomPaging must be true and VirtualItemCount must be set for a
    > DataGrid with ID DataGrid1 when AllowPaging is set to true and the selected
    > datasource does not implement ICollection.
    >
    > I set AllowPaging = "True" and PageSize=10


    William, make sure you are binding a DataSet or DataTable to the
    DataGrid rather than a DataReader. For more information read:
    http://aspnet.4guysfromrolla.com/articles/070903-1.aspx

    --

    Scott Mitchell

    http://www.4GuysFromRolla.com
    http://www.ASPFAQs.com
    http://www.ASPMessageboard.com

    * When you think ASP, think 4GuysFromRolla.com!
     
    Scott Mitchell [MVP], Apr 25, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UGF0cmljay5PLklnZQ==?=

    DataSet paging vs Datareader paging

    =?Utf-8?B?UGF0cmljay5PLklnZQ==?=, Oct 8, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    10,706
    Scott Allen
    Oct 8, 2004
  2. wh1974
    Replies:
    0
    Views:
    2,439
    wh1974
    Jan 12, 2005
  3. Red
    Replies:
    1
    Views:
    725
  4. KK
    Replies:
    2
    Views:
    596
    Big Brian
    Oct 14, 2003
  5. Juan Romero

    unexpected behavior in Datagrid paging : PLEASE HELP >: (

    Juan Romero, Sep 10, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    122
    Alvin Bruney
    Sep 11, 2003
Loading...

Share This Page