Ho do I do that?

A

Ather Ali Shaikh

Hello All,
I have 5 or 6 User Controls on my page loading dynamically.
All these controls have a grid control with naviagtion Next and Previous.
When I click Next or previous of the last control, the grid goes to next
other records.

BUT

The page scrolls up. How do I set the location of the page to that control.

Regards
Ather Ali Shaikh
 
C

Chris Jackson

Well, a DataGrid is rendered on the client as a <table> object, and you
could use some javascript to call the scrollIntoView method on that object.
 

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