We help IT Professionals succeed at work.

Sync Scrolling between two gridviews

Evan Cutler
Evan Cutler asked
on
I have to compare two values in gridviews.

If the gridviews require vertical scrolling, how can I sync between them, like the "Side by Side" function of Microsoft Word.

Thanks.
Comment
Watch Question

>>If the gridviews require vertical scrolling
i think, normally gridviews are shown with no vertical scroll, unless you add them within a div tag or any other containers with fixed height.. So if the gridviews are placed between 2 independent div tags, did you try adding them to the same div tag?

if you really want it to be done in 2 div tags, try using javascript and the client event onscroll of the div tags to set the scroll position of the second div = the scroll position of the first one

Rejo
Evan CutlerVolunteer Chief Information Officer

Author

Commented:
thanks.  That'll work.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.