Skip to main content

Latest Articles: AJAX


Little SharePoint 2010 Gem: AJAX Options in List View Web Parts
Entry Date: May 2010 site: Sharepoint 2010 WSS Rating:
keywords:AJAX ASP .net; MOSS 2010; Sharepoint 2010;
Article Description:
Last week I stumbled upon some pretty neat functionality of the out-of-the-box List View Web Part in SharePoint 2010: the AJAX Options. When you add a Web Part from the List and Libraries category (that basically shows you every List and Document Library you have on the SharePoint site) behind the scenes the Data View Web Part is being used to display the List or Document Library data.
Comments:

Interesting, with MOSS 2010 you can make some controls just AJAX enabled with a mouse click.

Click Here To Navigate to the Article

Asp net Ajax Toolkit Getting Key Value
Entry Date: Oct 2009 site: Lazy Loading Rating:
keywords:ASP .net; AJAX ASP .net; Java Script;
Article Description:
Originally the Autocomplete Extender lacked very important functionality - ability to operate with key-value pairs. If you think about that, the Google search auto complete serves its purpose - the resulting string IS the value which is important for the postback, but it is scarcely the case for the 98% of non-search applications. We need control to mimic dropdown list - so gimme ya money let me keep the value for the entered text! Such a functionality was added some time ago but regretfully the feature was left undocumented.
Comments:

The right way to have a key / value combination on an AutocompleteExtender (asp .net AJAX toolkit).

Great article, easy to apply in your real code.

Click Here To Navigate to the Article

Are you making these 3 common ASP.NET AJAX mistakes?
Entry Date: Sep 2008 site: Encosia Rating:
keywords:ASP .net; AJAX ASP .net; .net framework 3.5; UpdatePanel;
Article Description:

It’s important to remember that a partial postback is just that: A postback.

The UpdatePanel’s way of abstracting AJAX functionality behind standard WebForm methodology provides us with flexibility and familiarity. However, this also means that using an UpdatePanel requires careful attention to the ASP.NET Page Life Cycle.

Comments:

When you start developing using Microsoft AJAX ASP .net, you can think that Partial Rendering and UpdatePanels are the magic soluton to all the problems, Watch out !! Is quite important to know the inners of this technology in order to know in which scenario you can use them.

Beware... everything will perform fast in your local development environments, headaches come when you move to a production enviroment...

Click Here To Navigate to the Article

JSON in ASP.NET Ajax: Part 2. Calling a remote JSON Web Service from client script
Entry Date: Jun 2008 site: Geeks With Blogs Rating:
keywords:ASP .net; AJAX ASP .net; .net framework 3.0; Java Script; JSON; Web Services; Networking; ScriptManager;
Article Description:
Now, after the very futile example which accompanied the introduction to JavaScript Object Notation in my last post (by the way, I forgot to mention that this is what the fancy acronym stands for, but I'm sure you already knew that), let's go straight to the fun part, and see how we can leverage the flexibility of JSON (and ASP.NET AJAX, of course) to achieve some less trivial result. When developing a web application, we often need to aggregate data from different sources. You might argue this is no big news, as we've all used web services in a way or the other, and "mashup" is surely not an uncommon word these days. But probably, for most of us, the natural way to think of data returned from a web service call is XML. But XML is not exactly the easiest thing to parse on the client, nor a very succinct format. That's why a number of JSON web services have flourished lately. Probably the first that comes to mind is Google Maps' Geocoder (see here), but there are a lot more. If you are looking for inspiration you can have a look at xmethods. But today, we are focusing on some very, very interesting web methods kindly offered by Geonames.
Comments:

Quite good stuff, AJAX ASP .net + JSON at low level.

Most of us are used to let the AJAX ASP .net framework to do all the magic for us (JSON serialization / deserialization) in this post series you will learn the internals, and how to do it by your self, interesting thing to, for instance, serialize an array on a hidden field

Click Here To Navigate to the Article

Hosters Directory
Entry Date: Apr 2008 site: Microsoft Download Rating:
keywords:ASP .net; AJAX ASP .net; .net framework 2.0; Hosting; .net framework 3.0; IIS; .net framework 3.5;
Article Description:
Microsoft has premier partners to provide hosted ASP.NET services.
Comments:

If you are looking for ASP .net hosting,this can be a good starting point, it lists Microsoft partners that offers ASP .net and AJAX hosting

You can check and compare prices and conditions

It does not guarantee the best hosting for your site, but at least you can get an idea of costs and features

Click Here To Navigate to the Article

Boost ASP.NET performance with deferred content loading
Entry Date: Apr 2008 site: Encosia Rating:
keywords:ASP .net; AJAX ASP .net; Performance; .net framework 3.0; Java Script; JSON; Web Services; Networking; HTML; DHTML; DOM; ScriptManager;
Article Description:

When rolled into the page life cycle of an ASP.NET WebForm, that red bar is one of your application’s greatest enemies. No matter how well you optimize the rest of the page, even one slow task can become the sole factor determining a user’s perception of the entire page’s performance.

In this post, I’m going to show you one way to circumvent that problem. By placing ancillary content in user controls and delaying their load until the core page content has been displayed, you can drastically improve perceived performance.

Comments:

Simple and nice sample about how to combine javascript calls to server side web services /script services in order to get an HTML and inject it using javascript / DOM inside a DIV using the property innerHTML.

If you just want to show readonly data this solution is excellent, users can keep on working on the page and once you get the info it will be loaded in background, if it's something that the users need to edit and post, things get a bit more difficult

Click Here To Navigate to the Article

Configure ASP.NET AJAX Extensions
Entry Date: Apr 2008 site: Visual Studio Magazine Rating:
keywords:AJAX ASP .net; Performance; .net framework 3.0; Networking; UpdatePanel; Partial Rendering;
Article Description:
In my previous column, I discussed the technologies on which AJAX relies, how you can create custom AJAX scripts to perform asynchronous postbacks, and productivity gains that the ASP.NET AJAX Extensions provide in general. In this column, I'll focus on ASP.NET AJAX configuration entries in web.config as well as on the role new HttpHandler and HttpModule classes play in AJAX-enabling Web sites.
Comments:

Interesting info about how to play with web.config settings on AJAX, no more "blac magic" on such settings :-).

Click Here To Navigate to the Article

ASP.Net Ajax UpdatePanel links.
Entry Date: Apr 2008 site: Geeks With Blogs Rating:
keywords:ASP .net; AJAX ASP .net; Performance; Viewstate; .net framework 3.0; IIS; Networking; Cache; UpdatePanel; Partial Rendering; ScriptManager;
Article Description:
I've tried to investigate slow load of UpdatePanel. It works quick enough in FireFox, slow in IE 7 and even more slower in IE6.
Comments:

A must read AJAX ASP .net trouble shooter bunch of links

How to play with compression, issues with IE6,issues with UpdatePanel, and magic web.config settings that will boost up you AJAX ASP .net application performance (compression, compilation debug, ...)

Click Here To Navigate to the Article

What’s Ailing ASP.NET Web Forms?
Entry Date: Feb 2008 site: Code Magazine Rating:
keywords:ASP .net; AJAX ASP .net; GridView; Performance; Viewstate; HTML; VS 2008; ASP .net Futures; UpdatePanel; Partial Rendering; ScriptManager; Visual Studio 2008;
Article Description:
Microsoft’s recent announcement that ASP.NET will soon get an alternate engine in the ASP.NET Model View Controller framework (MVC-see last month’s editorial) has brought out some renewed discussion of the merits and shortcomings of Web Forms and the potential need for an alternate mechanism of building Web applications that provide a closer and purer model to raw Web development. This is true especially in light of the different development style that AJAX/Web 2.0 applications are introducing and some of the complications that it raises with the Web Forms development lifestyle.
Comments:

Ms is going to release this year their implementation of the MVC pattern... this means: do not use web forms anymore, do not use updatepanel or partial rendering, do not use viewstate... do not use anything that can postback :-).

Are Web forms dead? Do Web forms sucks? What are the advantages and drawbacks?

Quite interesting topic and article.

Click Here To Navigate to the Article

How do I reduce this ViewState thing?
Entry Date: Feb 2008 site: Weblogs ASP .net Rating:
keywords:ASP .net; AJAX ASP .net; GridView; Performance; Viewstate; .net framework 2.0; Web Services; Networking; UpdatePanel; Partial Rendering;
Article Description:
ViewState is a hugely useful feature of ASP.NET, but it's easy to misuse. It's also a little difficult to apprehend for ASP.NET beginners as it's working behind the scenes. The only thing you see at first is this huge blob on your page source.
Comments:

Viewstate plus UpdatePanel: performance killer, sucks, slow pages, ...

Well, yes... UpdatePanel sends the full viewstate on each request, if you have a huge viewstate you will have a lot of problems (I have seen 1 Mb and 2 Mb pages due to ViewState, think about that big chunk travelling on every single partial rendering post).

Good news are... you don't need to rewrite your app using Script Services / Web Services (a bit complex), you can just disable the ViewState control by control and keep that data to bind in session, by using that you can reduce the ViewState to the max (and reduce the cases where you need to use Script Services), the most usual performance killer is the combination of GridView + ViewState.

Click Here To Navigate to the Article

Code Your Way to ASP.NET Excellence
Entry Date: Feb 2008 site: MSDN Magazine Rating:
keywords:ASP .net; AJAX ASP .net; Performance; .net framework 2.0; Java Script; HTML; DHTML; DOM;
Article Description:
One of the selling points of the Microsoft® .NET Framework is that it makes programming easier—not just Web programming, but application programming in general. Few would argue that it doesn't live up to the hype. The .NET Framework Class Library (FCL), which provides the API that managed applications write to, is so rich and diverse that tasks requiring hundreds of lines of code in unmanaged applications are often accomplished with just one or two lines of managed code. If you don't believe it, compare a Windows®-based app that displays a JPEG with one that does the same using the .NET Framework (see http://samples.gotdotnet.com/quickstart/ winforms/doc/WinformsGDIPlus.aspx). With such a rich class library to fall back on, you might be misled into believing that the .NET Framework presents fewer opportunities for clever coders to do great things. On the contrary, the sheer size of the .NET Framework means that nuggets of opportunity are everywhere. To illustrate, here are five little gems to help ASP.NET programmers code their way to programming excellence. They're from my personal grab bag of favorite ASP.NET programming tricks. I think you'll find them as useful as I do.
Comments:

The most interesting part of this article is how to make an image "live / refresh" without having to perform a full postback.

Imagine that you have chart bar (displayed as a fixed image, dynamically generated on the server side), and you let the user modify values using textboxes, you can just pickup the values of this boxes and using DOM/DHTML/Javascript change the URL of the image to a new one where you specify the new parameter values. You can do that implementing on the server side a custom HTTP Handler.

Very interesting, approach, it would help you to add AJAX like style to your site, without having to put lot of effort on it.

Click Here To Navigate to the Article

Page (1) Of 6 Next Articles >>