search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

ScrollTo

Asked by Anonymous
2 years ago.

When I use ScrollTo it doesn't work, I get an error Scroll X null reference exception, what am I doing wrong?

Comment posted by Anonymous
2 years ago.

how do i use scrollTo in PostBack?

Answer posted by Dan Letecky [DayPilot]
2 years ago.

scrollTo() is a client-side method and it can only be used on the client side, in JavaScript:
https://api.daypilot.org/daypilot-scheduler-scrollto/

Comment posted by Anonymous
2 years ago.

how can i use scroll on server side?

Comment posted by Dan Letecky [DayPilot]
2 years ago.

On the server side, you can change the scrollbar position using ScrollX (in pixels).

However, the ASP.NET version has only limited ways of controlling the client-side behavior and if you want to customize it, I recommend using the JavaScript version instead. With the ASP.NET version, it is likely that you will hit similar issues in the future as well.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.