[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 931
  • Last Modified:

Sync Scrolling between two gridviews

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.

Evan Cutler
Evan Cutler
1 Solution
>>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

Evan CutlerVolunteer Chief Information OfficerAuthor Commented:
thanks.  That'll work.

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now