Help with filtering a GridView

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
 
N

nomad

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top