Showing posts with label Ajax. Show all posts
Showing posts with label Ajax. Show all posts

AJAX How-to: Scroll to the top of a Page when clicking on only the Pager Controls in DataView

abstracts:

AJAX How-to: Scroll to the top of a Page when clicking on only the Pager Controls in DataView

Today I figured out how to Scroll back to the top of a Page when one of my users click on the Pager Controls at the bottom of a Page. I wanted all of the other AJAX postbacks to not scroll, but I did want the postbacks to scroll to the top when the pager controls were clicked. The pager control's client ID's are not set, so the postbackElement ID is set equal to the DataView, so knowing that information you can use the PageRequestManager to scroll to the top only if the the pager controls are clicked. (This works for both the Top and Bottom Pager controls):


Filed under: .NET, C#, atlas, ajax, ASP.NET Ajax, AutoScroll, Dataview

Click here to visit original site

Reverse Ajax

Abstract:

The Problem. But what if you want to build a highly interactive
application that adds updates to your page as soon as someone half way
around the world updates theirs? What if you are in a CMS interface and
you go to check out some content and find you colleague in marketing
checked it out 2 minutes ago, but the page you are looking at hasn't
been updated since then? What if you are writing an article on Reverse
Ajax using Writely and your technical editor just updated the paragraph
you were going to work on? These are essentially monitoring and
multi-user applications.

The browser does the asking. The
problem is that web servers can't easily contact web browsers. For one
thing firewalls will get in the way, and even if they didn't, browsers
only listen for answers to questions they've asked. So how is the web
server to get the message through?

.... for more details click here

or

Visit http://www.theserverside.com/news/thread.tss?thread_id=40650


Ajax Techniques - Examples

25 Good Techniques and Examples that you can use

http://sixrevisions.com/ajax/ajax_techniques/