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

ajax panel scroll issue

1 Answer 71 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
sircutbreaker
Top achievements
Rank 1
sircutbreaker asked on 03 Oct 2008, 04:32 PM
I am having an issue with an ajax site scrolling...

i have a tree menu that updates a user control.. the user control houses 2 datalists that have images as the items....

when you click on an item.. it opens a detail panel for that item..

only thing is... if you scroll down and click on it, in ie... the detail window comes up but you have to scroll up to see the whole thing.

http://maximlrg.com/uomo/search

click on Men, and then click on cotton... scroll down to the bottom of the list and click on an item...

you will see the behavior...

i only notice it in ie7 on a laptop that doesnt have a lot of vertical screen space...

I placed a javascript routine that brings the scroll window to the top... but i was only able to attach it to the item command for the datalist... and that brings the items to the top and then displays the detail window.. that works.. but it is quirky...

Is there another solution?

thanks and regards,

jeff

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 06 Oct 2008, 10:32 AM
Hi sircutbreaker,

I followed the steps you specified but unfortunately I was not able to observe the unwanted behavior because the detail page was displayed in the same window (I tested it under IE 7 and FireFox 3.x).

Nevertheless, I think that the approach presented in the following forum post will help you scroll the page to the top after an ajax request finishes execution. I hope that this is feasible solution for your case.

Best regards, Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Ajax
Asked by
sircutbreaker
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or