Issue of endless scrolling using mose wheel

When scrolling functionality is implemented in GoView using the mouse wheel and pan cursors, it goes on scrolling endlessly in downward and right direction, though horizontal and vertical scroll bars have reached to maximum.

Can anybody tell whats wrong or what can be done?

Well, this isn’t what happens by default. Did you implemented your own scrolling?

I have used ScrollLine to implement scrolling

Is this WinForms? We already have support for the wheel, so I don’t understand why you’re doing your own.

ScrollLine does constrain DocPosition, so it shouldn’t keep scrolling either.