Editable Datagrid row index

Results 1 to 2 of 2

Thread: Editable Datagrid row index

  1. #1
    Join Date
    Dec 1969

    Default Editable Datagrid row index

    Hi, <BR><BR>I have an editable datagrid chunked into 4 pages of 15 records, each row is editable for data entry. <BR><BR>On page load, the BindData method binds the data trough a stored procedure that call in a TempTable with an identity column, it returns only the number of rows needed and calculate the first record and last record numbers for the paging function. Until here all is fine <BR><BR>The problem comes when I edit the datagrid. For the first page no problem, but as soon as I am on the second page of the datagrid and I edit a row for data entry, the OnEdit method recall the BindData wich sends me back to the first page. <BR><BR>I am left with an edited records wich is not the second page record but the first page record?? <BR><BR>How could I keep my datagrid on the correct page on Edit, knowing that my DataBind method call for the number of pages and pages number. <BR><BR>Urgent help is needed I have to roll over my project next monday. <BR><BR>slts. <BR>plm

  2. #2

    Default RE: Editable Datagrid row index

    How about not calling the DataBind?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts