Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My gridview is bigger than the page size.
When the page is loaded, first lines of gridview appear on page and one has to scroll down to see the last lines.

On pageload, I would like the last lines to appear in on page and if one has to see the first lines, he may have to scroll up, like it happens in a chat message box.

Is it possible to do it in gridview?

I have tried the following code

GridView1.Rows[index of last line].Focus();

but it does not help

Kindly advise me if it is possible and how to do it if it is possible.

Many thanks for your help.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900