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

[Solved] Interesting Layout I would Like to Create

1 Answer 91 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Rational Animal
Top achievements
Rank 1
Rational Animal asked on 25 Oct 2007, 09:00 PM
OK, so I have an odd layout that I'm playing with.

Basically a page could have a ton of information about a contact.  Some are multiple levels deep (i.e. all of the appointments for that contact etc.)

Each of these will likely be content within a user control.  What I would like to do is not load at all any of the content until that section (which is in a rad dock) until it scrolls into view and then I'd like to use Ajax to get the user control and display it's contents.

This way I don't have to have tabs upon tabs of stuff and users can use the dock to customize where everything goes on the page and just scroll to see the stuff they care about.

The problem is that i don't have a clue where to start.

Anyone have any suggestions?

1 Answer, 1 is accepted

Sort by
0
Bodevain Svensson
Top achievements
Rank 1
answered on 30 Oct 2007, 01:17 PM
Hm, this looks like quite a tricky task, Rational Animal, probably you think the same way as me :) Seriously, what comes to me at first sight is that you will have to discover a method to scroll the content in the dock into view (tweaking with the scrollTop/offsetTop properties of the scrollable element) and then load the user control on ajax request with some kind of delay.

Check also this basic info I found in the docs.

Bodevain
Tags
Ajax
Asked by
Rational Animal
Top achievements
Rank 1
Answers by
Bodevain Svensson
Top achievements
Rank 1
Share this question
or