AJAX Client Side Programming
page 1 of 8
Published: 16 Apr 2008
In this article, Brian explores the client-side programming aspect of the ASP.NET AJAX Framework. He will look at setting up client-side components that represent server-side counterparts, and an introductory leading into developing control extenders with the help of relevant code sample. Brian initially provides an overview of Application Namespaces and then examines the various helper methods. Towards the end of the article he also discusses ASP.NET Client Framework Development and Web Services. The article is well supported by relevant code snippets with detailed analysis.
by Brian Mains
Average Rating: 
Views (Total / Last 10 Days): 37458/ 75


The ASP.NET AJAX Framework provides many mechanisms to embed rich-client functionality in ASP.NET applications.  This framework provides a client-side set of components that extend JavaScript by providing a series of components meant to aid integration and development of web services, control extenders, and more.  All of these objects fit within the patterns Microsoft set forth in regards to their approach of AJAX development.  In addition, the ASP.NET AJAX Framework contains a set of server-side components and base classes that you can leverage in your custom AJAX components.

I've heard people ask why it is needed.  After all, AJAX is regularly available without the need of a specialized framework.  But what this framework is attempting to do is make development of AJAX components easier and more managed.  They've include a client-side framework that mimics the ASP.NET framework, by including classes and class inheritance, interface definitions, type checking and reflection, and many other mechanisms used in ASP.NET.  We'll take a look at that in this article.

View Entire Article

User Comments

Title: Good Article   
Name: Amol
Date: 2010-09-17 2:48:44 AM
Very good article
Title: Informative   
Name: PickaTutorial.com
Date: 2010-08-07 2:44:15 AM
A good informative resource.
Title: good   
Name: good
Date: 2010-07-23 2:53:53 AM
Title: Good   
Name: Ananth
Date: 2009-04-15 12:51:48 PM
Title: Parameters to be passed webserivices (reply)   
Name: Brian Mains
Date: 2009-02-09 8:59:45 AM

You could pass the values as straight parameters; I preferrably like to have the web service use a custom object that has those parameters. The reason is that it makes maintenance easier. If you need 21 parameters later, you have to change the web service, and anything that connects to this web service.

This way, you simply add a parameter to the class and make use of it in the web service, less coding work to do this way.

The proxy generator will also generate the class that's accepted by the parameter, as long as it's simple enough (not deeply nested properties), and you can instantiate this and pass it to the web service call.
Title: Parameters to be passed webserivices.   
Name: Rupesh Kumar Tiwari
Date: 2009-02-09 5:37:28 AM
I have to pass 20 parameters to a webmethod from the clientside.so, is it advisable to make a webmethod that will take 20 parameters or else i have to send one array of parameters to reduce the confusion. Any other suggesion do you have. then kindly tell me. Any quick response is appreciable.

Title: Thanks a lot for the info   
Name: The Black Knight
Date: 2008-11-19 6:24:52 PM
Excellent info
Title: Nice Article   
Name: ---
Date: 2008-06-21 5:40:01 AM
really nice article, it is good for the beginners.
good job :)
Title: dragpanel extender in ajax controls   
Name: lalitha
Date: 2008-06-12 5:46:21 PM
its not working as i had written as it was mentioned here in the tutorial plse give a brief coding about that control
Title: expect more   
Name: sivaram
Date: 2008-05-02 4:50:01 AM
ok .i expected more.If possible plz explain with the examples
Title: nice but shud little brief   
Name: snehal
Date: 2008-04-30 3:20:58 PM
nice article but give more details on ajax its merits... funnalities future implementation ....etc thnx
Title: thanks   
Name: suhas kudekar
Date: 2008-04-23 9:02:58 AM
its very new concept 4 me. thanks
Title: very good   
Name: panakj lahjoti
Date: 2008-04-21 7:34:42 AM
i found this aticle very useful for the newbies
Title: Very helpful   
Name: Raviraj
Date: 2008-04-20 1:28:30 PM
thanks it is very helpful to me

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-06-14 2:51:37 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search