HighTechTalks DotNet Forums  

DataGrid SelectedIndex selected value is wrong

ASP.net Data Grid Control microsoft.public.dotnet.framework.aspnet.datagridcontrol


Discuss DataGrid SelectedIndex selected value is wrong in the ASP.net Data Grid Control forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
kimberly.walker@consultant.com
 
Posts: n/a

Default DataGrid SelectedIndex selected value is wrong - 09-04-2006 , 04:25 PM






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.


Reply With Quote
  #2  
Old   
JeffP@Work
 
Posts: n/a

Default Re: DataGrid SelectedIndex selected value is wrong - 09-13-2006 , 11:46 AM






What is the DataKey value for the datagrid?

<kimberly.walker (AT) consultant (DOT) com> wrote

Quote:
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.




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.