I have a gridview bound to a SQLDataConnecto r. It displays two fields
and I also have a Select button so people can select a record on the
grid. I have the grid in a panel so it shows the top 15 records and
then they have vertical scrollbars to scroll down the grid.
If someone clicks on the select button it properly selects the record.
It obviously creates a round-trip. If the record is one they had to
scroll down the panel to find, after the round trip the record is
selected but the grid has reset itself so I am seeing the top of the
grid. This means the person will not know they successfully selected
the record unless they scroll down and see it highlighted.
Is there a way to stop the grid from repainting itself? I would prefer
it stay witht eh selected record being shown.
Thanks
Mitch
and I also have a Select button so people can select a record on the
grid. I have the grid in a panel so it shows the top 15 records and
then they have vertical scrollbars to scroll down the grid.
If someone clicks on the select button it properly selects the record.
It obviously creates a round-trip. If the record is one they had to
scroll down the panel to find, after the round trip the record is
selected but the grid has reset itself so I am seeing the top of the
grid. This means the person will not know they successfully selected
the record unless they scroll down and see it highlighted.
Is there a way to stop the grid from repainting itself? I would prefer
it stay witht eh selected record being shown.
Thanks
Mitch