This is a migrated thread and some comments may be shown as answers.

ScrollIntoView? Server Side?

3 Answers 86 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Coldapoy
Top achievements
Rank 2
Coldapoy asked on 20 Jan 2009, 12:42 AM
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

3 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 20 Jan 2009, 08:39 AM
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
0
Coldapoy
Top achievements
Rank 2
answered on 22 Jan 2009, 12:36 AM
thanks for the reply...

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

thanks...
0
Gordon
Top achievements
Rank 1
answered on 13 Feb 2009, 03:10 PM
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.
Tags
TreeView
Asked by
Coldapoy
Top achievements
Rank 2
Answers by
Simon
Telerik team
Coldapoy
Top achievements
Rank 2
Gordon
Top achievements
Rank 1
Share this question
or