Launching an Ajax ModalPopupExtender from JavaScript
Paul Hayman (36951 views)
Launching an Ajax ModalPopupExtender from JavaScript
This is an updated version of the earlier (and very popular) {Atlas article}http://www.geekzilla.co.uk/ViewDAAE6AAB-0369-45C2-BE78-B8E6F876B4F4.htm
It is by far the simplest way to launch an Ajax ModalPopupExtender from javascript.
The
|
Calling a static "page method" from Javascript using MS AJAX
Paul Hayman (32669 views)
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.61025
|
Returning a value from a PageMethod
Paul Hayman (12807 views)
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 front
|
Web 2 Ajax Style Animated Gif's
Paul Hayman (11128 views)
Web 2 Ajax Style Animated Gif's
When searching high and low for a ajax style wait icon I came across the following sites.
The first is a very good source of {web 2}http://www.kwiboo.com/Glossary/Web2 style animated gifs:
http://www.sanbaldo.com/wordpress/1/ajax_gif/ - Example: [[bigrotati
|
Comparing ATLAS and Dojo (part 1)
Mark Page (10787 views)
Comparing ATLAS and Dojo (part 1)
This is a first article in a series comparing some of the functionality of ATLAS with another popular AJAX framework called Dojo. Both frameworks have some powerfull components and there is a high degree of overlap.
This first article is a straight comparisi
|
Auto-complete using ATLAS
Dave Howard (7301 views)
Auto-complete using ATLAS
#$#<a href="http://www.dotnetkicks.com/kick/?url=http://www.geekzilla.co.uk/View7585D539-C094-4211-9FFC-32FABE4D09B5.htm"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http://www.geekzilla.co.uk/View7585D539-C094-4211-9FFC-32FABE4D09B
|
Lightweight Ajax
Dave Howard (6596 views)
Lightweight Ajax
#$#<a href="http://www.dotnetkicks.com/kick/?url=http://www.geekzilla.co.uk/ViewC77497B2-2CD6-4FBC-968C-93AFF2F397EB.htm"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http://www.geekzilla.co.uk/ViewC77497B2-2CD6-4FBC-968C-93AFF2F397EB.htm" bo
|
Programmatically registering a client script in the ScriptManager
Paul Hayman (5045 views)
Programmatically registering a client script in the ScriptManager
Registering a client script in the ScriptManager is easy
#c#ScriptManager.RegisterClientScriptInclude(Page, typeof(Page),
#c# "MyScript",
#c# Page.ResolveClientUrl("~/scripts/SomeJavascript.js"));
#c#
|
Json converters lacking in Microsoft AJAX RTM
Dave Howard (3651 views)
Json converters lacking in Microsoft AJAX RTM
Having spent some time developing a project using a CTP version of Microsoft Ajax ("ATLAS" back in the day) I finally came to migrate the project to the RTM version.
After uninstalling the CTP release, and installing the RTM release I wasn't sur
|
Rendering a Control to a String
Paul Hayman (3222 views)
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.
#c#private static string GetRenderedControl(Control control)
#c#{
#c# HtmlTextWriter wri
|
Set Input Focus on a Control Programatically Added to an ASP.Net Page
Paul Marshall (2022 views)
Set Input Focus on a Control Programatically Added to an ASP.Net Page
This little problem had the potential to drive me nuts for hours, I was fortunate to stumble over a blog with 100s of comments re problems of this nature and how to solve it. Most of the discussion was about using JavaScript
|