ASP.NET News from Blogger: Aspects of AJAX   Get the feed of: Aspects of AJAX

Total News: 59

How to read cookie values in JavaScript

I recently had some odd effects with some pages that use cookies to store some local information. The bug seems to be widely spread in many web applications so here are my findings: To read the value...

Extending the initialization sequence of JavaScript behaviors

This topic was recently discussed in the OpenAjax group and here is the implemented solution for the AjaxEngine framework. The consensus was to solve the initialization problem on the application leve...

How to set up a web project using the AjaxEngine Part 1b

Some days ago I posted part 1a - a short instruction about how to set up a minimal project. The sample I used to demonstrate that the infrastructure works was as simple as possible and is using a R...

Calling WCF and SOAP based webservices from AJAX

The JavaScript proxy that is implemented for the Ajax engine to call SOAP based web services has been used on the ASP.NET platform for a long time and was ported to other platforms like Java. Some der...

How to setup a new AjaxEngine web project

I was asked how to setup a web project that uses the AjaxEngine so here is step by step tutorial for a minimal Ajax web project that calls a server side web service: 1. Create a new web project (I p...

OpenAjax Call-to-Action to Ajax Developers for Browser Wishlist

The OpenAjax Alliance is developing an Ajax industry wishlist for future browsers, using a dedicated wiki for this initiative (http://www.openajax.org/runtime/wiki). The main purpose of the initiative...

Data bound fields for Ajax forms

An overview of the Ajax forms implementation of the AjaxEngine framework has already been published some days ago at http://ajaxaspects.blogspot.com/2007/12/using-openajax-events-for-building-data.htm...

Building menus with OpenAjax events

Implementing menus is often based on publishing events. I personally cannot remember any system that does not. The web control that is used to implement menubars is therefore a good sample for a htm...

More OpenAjax compatible components

The PersistCookie control OpenAjax events are not persistent. The specification is based on the fact that the subscribers are informed just in time when the event was published. But by using cookies t...

Useful OpenAjax Event Logger

While working on further adopting the OpenAjax event mechanism I wrote this small JavaScript include file that helps inspecting the current OpenAjax events. It is implemented by using a single JavaScr...

Passing values around with OpenAjax events

When publishing and receiving OpenAjax events there is the built-in mechanism of passing a payload a.k.a publisherData around together with the event. When implementing applications based on OpenAjax ...

Using OpenAjax events for building data-centric and forms based AJAX applications

Most of the business web applications on the Internet are HTML forms based applications where html elements are bound to data is the core functionality. I am talking about registration forms, dialogs ...

AjaxEngine is now full based on the OpenAjax specification

During the last weeks a lot of work was done to remove the old DataConnection implementations in the Ajax Engine open source project. Now it's done. You can find a first version of it in the repositor...

A alternative to JSON is available: web services

The discussions about the security concerns of JSON coming up again. Are you looking for alternatives ? I am not used to advertise for my web site but there is an alternative cross browser solution av...

Calling web services with structured parameters from JavaScript

In many situations it is better to use structured parameters when calling SOAP based web services then using a long list of simple parameters. The proxy layer of the AjaxEngine now also supports these...

The plan for Q3/2007

I've got some mails that have asked about the future of the AjaxEngine framework and here are some statements on that topic: I will support and extend the framework in the future so companies and othe...

Extending the OpenAjax hub

Extending events over the network by using an OpenAjax hub compatible approach. The current version of the OpenAjax hub implementation (Hub 1.0) is focusing on a client-side solution for integrating c...

Using the OpenAjax hub

What's the problem ? Let's think about a web application that consists of several pages that all should share some common functionality, let's say a button that pops up a calendar to pick up a date.I...

Tree view Ajax control update

The tree view control was introduced some time ago and some details of its implementation can be found at http://ajaxaspects.blogspot.com/2006/01/tree-view-ajax-control.html or in the book at htt...

AjaxEngine is now on sourceforge.net

You can now find a repository with the current version of the AjaxEngine, including the samples on sourceforge at  http://sourceforge.net/projects/ajaxengine/. There are some real great advantag...

The fade effect and the DataFade control

Here is a nice visual effect for data fields: When a page contains multiple values that might change from time to time it is a good idea to bring the users attention to t...

Aspects of OpenAjax

You know I like standards. Even if it is some kind of more complex to implement a solution based on a standard than using a direct and efficient but proprietary way, there are benefits on the long way...

A simple page for displaying a record

Building a page with a form to display and change a record is a common scenario and it should be easy to implement. Some of the basic ideas where already published last week and here is a concrete imp...

Building data-centric and forms based AJAX applications

Most of the business web applications on the Internet are HTML forms based applications where data, bound to html elements, is the core functionality. I am talking about registration forms, dialogs an...

A simple menubar

By using the hover effect it is possible to realize a simple menubar that will be used by an upcoming control that allows rich text editing. Here I focus on the implementation of the menubar...

Using webservice calls with multiple parameters

The restriction that the AJAXEngine supported only methods with one parameter had been a topic to some postings in the blog and also to some good comments with good solutions. Because the proble...

Accordion menu

I added another visual effect for HTML that is called an accordion menu by using a JavaScript Behavior. An accordion menu is a collection of multiple, stacked panels. Only one of them is visible...

A new version of the book "Aspects of AJAX" is online

Beside writing some more pages it also contains some corrections and the new posts on this blog where added also. You can get it for free from http://www.mathertel.de/Ajax/AJAXeBook.aspx....

Using Inheritance in JavaScript Behaviors

While working on some samples using (different) menubar, I found it helpful to inherit a JavaScript Behavior from a more general JavaScript Behavior. This would give me the chance to implement the com...

JavaScript Behavior Tutorial

The complete Tutorial is now online. If you worry about too much JavaScript fragments in too many places you need a concept of reusing client side functionality on a component level. This is a step by...

Building JavaScript Behaviors - 3

Methods for event handling The methods that are used to handle events from the mouse, keyboard or system are identified by their name prefix ""on"".  When the behavior is bound to the HTML el...

Building JavaScript Behaviors - 2

The sample from the last post about building JavaScript Behaviors is not very realistic, because it is not configurable and missing parameters. Properties, Attributes and Parameters The way parameters...

AJAX Aspects is now available under the BSD license

After some discussions and some reading I decided to change the license of my public software available from http://www.mathertel.de to a BSD style license. It's a better license for software project...

Building JavaScript Behaviors

During the last months I got some good feedback from readers and friends that point me to some missing topics in my AJAX book. I will continue to publish new content here before bringing a new version...

Update on the JavaScript client for SOAP based WebServices

A core element of the AJAX Engine is a JavaScript based SOAP client that is used by the browser to call methods on the server implmented by regular webservices. Up to now only document encoding was s...

Searching the AJAXEngine Code

Google released a new search tool named codesearch specially for coders. They support also Zip files that contain code and you can find the sources for the Ajax engine by using the link: http://www....

Help on this - Scope in JavaScript

I really do not often link up to other postings on the web but in this case I have to! Thanks to Mike West and his article "Scope in JavaScript" published at http://digital-web.com/articles/sco...

The Lightbox Visual effect

 The Lightbox is another visual effect that uses the semi transparent feature available in the modern browsers. Here is is used to simulate another layer of user interaction by hiding the existin...

AJAX Book now available as PDF download

As requested by some people the book "Aspects of AJAX" is now available in PDF format so you can easily take it with you. I will update it from time to time when new text on theis Blog or samples on...

Building a AJAX enabled popup control

When fetching the extra information costs a lot of resources (cpu, memory or time) on the server or is more than just a few words it is better to not include it into the page a...

An ASP.NET popup web contol

I just added a new control to the library that displays a popup on the page that can be used to show additional information on a specific topic or item. A detailed description and the source can b...

Visual Studio .NET add-in updated

One of my older projects where updated today. I missed some commands so I started developing a collection of useful tools that help developing and controlling my work and files. The result was an add...

Update to the back-button and history implementation

The last past was about implementing a back-button and local history support to the AJAX Engine. I've added 2 attributes to the PropHistory web control that can be declared to avoid some scripting on...

Another view to the Back Button Problem of AJAX applications

A lot of people already wrote about this topic. Search "AJAX BACK BUTTON PROBLEM" on a search portal and you can find a lot of stuff about it! But there are still aspects that haven't been talked...

Moving HTML objects using drag and drop around, CSS and JavaScript

If you want to enable a custom page layout for the user or a drag & drop functionality in your solution you need a mechanism that enables moving html objects around. Here is a cross browser compat...

Less waiting on AJAX

It's a psychological phenomena that waiting takes less time as long as something happens. I'm sure you have seen all these nice rotating arrows, bouncing points or bars that are commonly used for si...

Simple sliding sample to move HTML elements around

Moving HTML objects to new positions is not hard to implement. You can use absolute positioning and just set the style attributes left and top to the new values but it doesn't look cool if the ob...

HTML elements with rounded corners

HTML elements up to now have always a rectangle shape. In the upcoming CSS3 standard (still a proposal) there might be also other border shapes available including rounded corners by specifying a ...

HTML + CSS Shadow Effect with real transparency

If you want to give your objects a kind of 3D feeling then you might want to use shadows for those objects that are placed upon the web page. Using special graphics A often solution for a...

Why AJAX needs visual effects

Implementing a web based application by using AJAX techniques is about improving the backside, will elable the right user experience and will make your application work the way it should....

View Other bloggers