How to scroll ASP.NET Content Area - AJAX Animation Possibly?

G

Guest

HI. I need to create a small area within an aspx page, which contains up and
down buttons. The user will click on the up/down buttons and content inside
the small area will 'page', just like for example if you are paging through a
PDF document.

Could someone please give me some direction for accomplishing this? I am
going to populate the entire area w/data, and then just allow the user to
scroll.

Thanks
 
D

Dave Sussman

The easiest way to do this is just to have a scrolling region, perhaps a
div. Use the CSS overflow property:

<div style="width:500px; height: 500px; overflow:scroll">
content goes here
</div>

Set the height and width to whatever is appropriate for you page. Scrollbars
will automatically appear if the content is larger.

Dave
 
G

Guest

Thank you!

Dave Sussman said:
The easiest way to do this is just to have a scrolling region, perhaps a
div. Use the CSS overflow property:

<div style="width:500px; height: 500px; overflow:scroll">
content goes here
</div>

Set the height and width to whatever is appropriate for you page. Scrollbars
will automatically appear if the content is larger.

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top