ScrollIntoView? Server Side?

4 posts, 0 answers
  1. Coldapoy
    Coldapoy avatar
    34 posts
    Member since:
    Jul 2008

    Posted 19 Jan 2009 Link to this post

    is there any way for .scrollIntoView() be done server side?
    all the references i've seen for it to work is from the client side...

    thanks in advance team telerik

    regards,
    coldapoy
  2. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 20 Jan 2009 Link to this post

    Hi Coldapoy,

    The scrollIntoView is a client-side method and it does not have a server-side analogue.

    However, whenever you need to determine its call from the server, I suggest you emit a client-side script which calls the method to a specified Node.

    Sincerely yours,
    Simon
  3. Coldapoy
    Coldapoy avatar
    34 posts
    Member since:
    Jul 2008

    Posted 21 Jan 2009 Link to this post

    thanks for the reply...

    just want to ask... specifically how can i apply it (server side way)?

    thanks...
  4. Gordon
    Gordon avatar
    16 posts
    Member since:
    Feb 2009

    Posted 13 Feb 2009 Link to this post

    I'm also intersted in this.

    I'm using an expandmode of serversidecallback and loading the nodes on the server.
    I have a seperate proc which locates a node futher down in the tree and expands all of the parental nodes leading to this point (which all works great).  I then tried to find the .ensurevisible method.... to no avail.

    I can't see why there isn't a server side method to achieve this. 
    I don't really want to start using client side scripting as my tree is within a user control.
Back to Top