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

Discussion in 'ASP .Net Datagrid Control' started by Jim Mitchell, Jul 26, 2003.

  1. Jim Mitchell

    Jim Mitchell Guest

    I have a "Find" button that I want to use to locate the correct pageindex so
    that my user can find a name in a datagrid of names.

    I suppose that I could loop through every page in the datagrid and then loop
    through every item, but this seems like it would be to slow for a datagrid
    that could hold 1000 records.

    Is there any kind of "FindPageIndex" method for the datagrid based on the
    datakeyfield?

    Thanks in advance.

    Jim
     
    Jim Mitchell, Jul 26, 2003
    #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. =?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:
    658
    Onwuka Emeka
    May 5, 2006
  2. Jonathan Wood

    GridView Blank with AllowPaging="True"

    Jonathan Wood, Jan 29, 2007, in forum: ASP .Net
    Replies:
    4
    Views:
    621
    Jonathan Wood
    Jan 29, 2007
  3. bdb112
    Replies:
    45
    Views:
    1,349
    jazbees
    Apr 29, 2009
  4. ton
    Replies:
    1
    Views:
    765
    Peter Bucher [MVP]
    Mar 11, 2008
  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:
    257
    Atanas Marinov
    May 29, 2004
Loading...

Share This Page