Locating fields in grid

Discussion in 'ASP .Net Datagrid Control' started by Gary, Apr 4, 2004.

  1. Gary

    Gary Guest

    I have a grid with Contact information, Last Name, First
    Name, Address, City, State, Zip. etc.... There are about
    2000 or more records on the grid. They are sorted by
    Last Name, First Name.

    Is there a way while on the grid to enter a last name,
    say "Smith" for example, and go right to that row? I
    don't want to have a text box entry just be able to type
    where the cursor is on the grid.

    Any help or examples would be much appreciated.

    Thanks,

    Gary
     
    Gary, Apr 4, 2004
    #1
    1. Advertisements

  2. Gary

    Ian Oldbury Guest

    Hi Gary,
    You could do it by ...

    some relativly simple javascript to
    1. store the keypress/s values into a variable or store that information
    into an already created html/.net control
    2. read the stored value
    3. sort or just move to that position on the datagrid

    ian

    "Gary" <> wrote in message
    news:1809301c41a92$770d8a60$...
    > I have a grid with Contact information, Last Name, First
    > Name, Address, City, State, Zip. etc.... There are about
    > 2000 or more records on the grid. They are sorted by
    > Last Name, First Name.
    >
    > Is there a way while on the grid to enter a last name,
    > say "Smith" for example, and go right to that row? I
    > don't want to have a text box entry just be able to type
    > where the cursor is on the grid.
    >
    > Any help or examples would be much appreciated.
    >
    > Thanks,
    >
    > Gary
    >
     
    Ian Oldbury, Apr 5, 2004
    #2
    1. Advertisements

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. call_me_anything
    Replies:
    4
    Views:
    713
    Pete Becker
    Sep 30, 2007
  2. simon
    Replies:
    1
    Views:
    506
    Munna
    Jun 19, 2008
  3. Cyril.Liu
    Replies:
    0
    Views:
    629
    Cyril.Liu
    Dec 2, 2008
  4. mirin

    template fields for unbound grid

    mirin, Oct 7, 2008, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    235
    mirin
    Oct 7, 2008
  5. middletree

    how to copy from fields to other fields

    middletree, Nov 5, 2003, in forum: ASP General
    Replies:
    1
    Views:
    324
    middletree
    Nov 5, 2003
  6. Replies:
    0
    Views:
    440
  7. AMT2K5
    Replies:
    1
    Views:
    325
    Eric Schwartz
    Nov 8, 2005
  8. Replies:
    23
    Views:
    1,011
    Tim Streater
    Dec 18, 2013
Loading...