Programmatically registering a client script in the ScriptManager
Paul Hayman (5020 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#
|
Calling a static "page method" from Javascript using MS AJAX
Paul Hayman (32412 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
|
Launching an Ajax ModalPopupExtender from JavaScript
Paul Hayman (36692 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
|
Lightweight Ajax
Dave Howard (6590 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
|