As I mentioned in another post, AJAX is used to make web pages more interactive and responsive. We saw that the UpdatePanel control is an easy way of adding AJAX to a web page. But there are times when an operation can’t be completed quickly, so to the user it might seem like nothing is […]

Continue reading >>

The Microsoft Chart control allows us to easily create many types of charts in Windows applications and in ASP.NET applications. If you’re using .NET 3.5 (Visual Studio 2008), you will need to download a separate installer from Microsoft’s download page. Optionally, you can also download an Add-on for Visual Studio 2008 that will add the […]

Continue reading >>

jQuery is the default AJAX library when you create a new ASP.NET Web Application or ASP.NET MVC Web Application in Visual Studio 2010. But if you have an existing web application (Web Forms), you’ll need to manually add jQuery to your project. Open Visual Studio or Visual Web Developer Express and open your web application. […]

Continue reading >>

In the previous post, we created a page that’s able to call a web service from ASP.NET AJAX. In that sample we displayed a list of locations close to a zip code. It would be very useful to also show a map to the user with the found locations, and thanks to Google Maps JavaScript […]

Continue reading >>

The power of AJAX is the capability of calling the web server and updating only a portion of the page using JavaScript. Besides calling code in the page itself, as it occurs when using the UpdatePanel, we can also call a web service with ASP.NET AJAX. In this post, we’ll build a small page that […]

Continue reading >>

In web pages, it’s very common to arrange data in a tabular way. It makes it easier to read it and interpret it. It’s no surprising that data in databases is represented in tables and that spreadsheets have columns and rows. The GridView control in ASP.NET allows us to dynamically create tables to represent data in a web page. […]

Continue reading >>

JavaScript offers some functions that we can use to display modal popup boxes, such as alert() and confirm(). But in modern applications, this type of dialogs doesn’t have a place anymore. The technique of using HTML div to “simulate” a dialog is a very popular choice. The ASP.NET AJAX Control Toolkit offers an extender that […]

Continue reading >>

In some web applications that show sensitive data, such as online banking, we want to “time out” the user’s session after a certain amount to time. For instance, we might want to log out the user automatically and redirect the user to the home page. This is an important security feature, but at the same […]

Continue reading >>

In web development, there are occasions when we want to redirect the browser to another page without any interaction from the user. For instance, we might want to display the current page for 5 seconds and then automatically redirect to another page. This could be done with the Refresh meta tag. But what if we […]

Continue reading >>

ASP.NET AJAX is a simple way of creating pages that are more interactive and make use of AJAX technology without having to create new controls. But it’s not always possible to generate the behavior we want with just code on the server side. In many occasions we have to write our own JavaScript code. ASP.NET AJAX also puts at our disposition JavaScript functions. One of them is $get().

Continue reading >>