AllowPaging Rows & Columns for a DataGrid

Discussion in 'ASP .Net Web Controls' started by matchbx, Jan 11, 2005.

  1. matchbx

    matchbx Guest

    What is the best way to implement custom RowPaging and ColumnPaging on a
    DataGrid?

    Background Information:

    I have a datatable that is built manually (looping through code). I build a
    DataGrid with a dynamic number of columns containing bound checkboxes (could
    be 5 could be 100 columns). Everything is bound and working properly
    (including javascript postbacks on the checkbox onclick event).

    Paging Rows is not a problem that works fine setting the AllowPaging
    property in the IDE. But when I comes to implementing Column Paging, well
    it's a bit tricky.

    I attempted to implement ColumnPaging by setting certain checkbox template
    columns Visbile property to true or false. This appear to work but fails when
    you navigate to the next set of Rows (it reverts back to the first 5 or so
    columns). In other words you can't navigate to Row Page 3 and Column Page 2.

    Any Suggestions would be great.
    matchbx, Jan 11, 2005
    #1
    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. helpful sql
    Replies:
    0
    Views:
    791
    helpful sql
    May 19, 2005
  2. =?Utf-8?B?SmFja08=?=

    AllowPaging not working

    =?Utf-8?B?SmFja08=?=, Jun 23, 2005, in forum: ASP .Net
    Replies:
    8
    Views:
    3,620
    Patrick Olurotimi Ige
    Jun 24, 2005
  3. =?Utf-8?B?U3RlcGhlbiBIYXRmaWVsZA==?=

    Overriding AllowPaging and PageSize set in skin file

    =?Utf-8?B?U3RlcGhlbiBIYXRmaWVsZA==?=, May 5, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    637
    Onwuka Emeka
    May 5, 2006
  4. Jim Mitchell

    How to find a record in a Datagrid with AllowPaging set to true.

    Jim Mitchell, Jul 26, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    164
    Jim Mitchell
    Jul 26, 2003
  5. Atanas Marinov

    Problem creating custom header when datagrid AllowPaging=true

    Atanas Marinov, May 28, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    242
    Atanas Marinov
    May 29, 2004
Loading...

Share This Page