Ajax Articles

Programmatically registering a client script in the ScriptManager

Programmatically registering a client script in the ScriptManager Registering a client script in the ScriptManager is easy! ScriptManager.RegisterClientScriptInclude(Page, typeof(Page),          "MyScript",    &n

Paul Hayman - 7,731 views

Calling a static "page method" from Javascript using MS AJAX

Calling a static "page method" from Javascript using MS AJAX Atlas gave us the ability to easily call Web Services from JavaScript. MS AJAX has gone one step further! We can now call methods in the codebehine of the current page from Javascript. Here's how: This is designed for v1.0.61

Paul Hayman - 175,056 views

Launching an Ajax ModalPopupExtender from JavaScript

Launching an Ajax ModalPopupExtender from JavaScript This is an updated version of the earlier (and very popular) Atlas article It is by far the simplest way to launch an Ajax ModalPopupExtender from javascript. The groundworks Add a hidden link for ModalPopup Extender to attach

Paul Hayman - 88,102 views

Lightweight Ajax

Lightweight Ajax Ajax doesn't have to be complicated - at its most basic it just means partial updates your pages rather than reloading the whole page. The attached js library contains just two functions - GetContent and RunJS. GetContent() takes a URL and a element name: It si

Dave Howard - 7,739 views