Help with filtering a GridView

  • Thread starter Thread starter nomad
  • Start date Start date
N

nomad

Hi,

I have a gridview which I filter based on a letter of the alphabet.
i..e Select U and it shows me all of U's. However, when I filter it
and then want to edit one of the values within U it ends up editing
A. It looks like the NewEditIndex isn't changing when I filter. How
can I do this?

Appreciate any help
 
how are you filtering??? DataView?
How are you setting to edit?? Gridview.EditIndex = e.NewEditIndex?
How are you enabling to edit?? Proper Gridview Edit command???

Hi,

Thanks for the reply. I am binding to the GridView in code. The
filter fire a stored procedure which filters the result and then binds
the result back to the GridView. I am using the proper GridView Edit
command and setting the edit by using Gridview.EditIndex =
e.NewEditIndex.

Appreciate any help on this.
 
Back
Top