Ajax Articles

Creating your first ASP.NET AJAX 1.0 Application

Creating your first ASP.NET AJAX 1.0 Application Over the last year or so, AJAX has taken the web development world by storm. AJAX is short for Asynchronous JavaScript and XML and is an approach to building dynamic web applications that behave less like the static web pages we're used to and

Michael O'Brien - 4,793 views

Returning a value from a PageMethod

Returning a value from a PageMethod using MS AJAX NOTE: This is designed for v1.0.61025.0 of AJAXExtensionsToolbox.dll If you've ever returned data from a web service using MS AJAX this technique will look familar. Call the method from javascript by append PageMethods. to the fro

Paul Hayman - 41,874 views

Rendering a Control to a String

Rendering a Control to a String This is a really handy little function for rendering a control to a string. Really handy if you want to pass back rendered HTML from a StaticPageMethod or WebService. private static string GetRenderedControl(Control contr

Paul Hayman - 5,757 views

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,685 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 - 174,641 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 - 87,672 views