DataGrid SelectedIndex selected value is wrong

Discussion in 'ASP .Net Datagrid Control' started by kimberly.walker@consultant.com, Sep 4, 2006.

  1. Guest

    Im having a problem with one of my datagrids. Basically the datagrid
    has paging included in it and when a user clicks on page other than the
    first page and the user selects a row the value is stored but the
    problem is the value is wrong its still getting the value from the
    first page.
    I have view state enabled on both page and datagrid. Im not sure whats
    wrong, any help will be greatly appreciated.
    , Sep 4, 2006
    #1
    1. Advertising

  2. JeffP@Work Guest

    What is the DataKey value for the datagrid?

    <> wrote in message
    news:...
    > Im having a problem with one of my datagrids. Basically the datagrid
    > has paging included in it and when a user clicks on page other than the
    > first page and the user selects a row the value is stored but the
    > problem is the value is wrong its still getting the value from the
    > first page.
    > I have view state enabled on both page and datagrid. Im not sure whats
    > wrong, any help will be greatly appreciated.
    >
    JeffP@Work, Sep 13, 2006
    #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. bill yeager

    selectedindex value not being updated

    bill yeager, Oct 15, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    372
    carlos medina
    Oct 15, 2003
  2. Bryan Poteet
    Replies:
    0
    Views:
    394
    Bryan Poteet
    Dec 4, 2003
  3. Joel Reinford

    Datagrid selectedindex from datakey value

    Joel Reinford, Oct 5, 2005, in forum: ASP .Net
    Replies:
    7
    Views:
    9,798
    S. Justin Gengo
    Oct 5, 2005
  4. =?Utf-8?B?S2lt?=

    DataGrid SelectedIndex selected value is wrong

    =?Utf-8?B?S2lt?=, Sep 9, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    518
    =?Utf-8?B?S2lt?=
    Sep 9, 2006
  5. mldardy
    Replies:
    0
    Views:
    961
    mldardy
    Sep 28, 2010
Loading...

Share This Page