Data Grid

G

Guest

Hi
I have set a HyperLink column in the data grid. When that hyperlink column is clicked then I make that row selected.
But the problem is that When there are more records in the grid. It means if I have to scroll down the Page to select that Item in the Data Grid. then That Item is selected that is fine but the page scrolls up & that item is no more visible

I want that that Item should be visible to the user

Thanks in advace

Das
 
N

Nicholas Paldino [.NET/C# MVP]

Das,

You are going to have to provide a lot of code on the client side to do
this. The problem comes from the fact that the elements are in a table, so
you probably cant just set the positioning to be an absolute value (which
you have to adjust when you scroll). If anything, I would use a set of
frames to do this, so that when you click a link, it will add the row to the
top frame, and hide it on the bottom frame.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Das said:
Hi,
I have set a HyperLink column in the data grid. When that hyperlink
column is clicked then I make that row selected.
But the problem is that When there are more records in the grid. It means
if I have to scroll down the Page to select that Item in the Data Grid. then
That Item is selected that is fine but the page scrolls up & that item is no
more visible.
 

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

Top