TabContainer paints slowly in IE (but not FF)

Category: ASP.NET Questions    |    3 views    |    Add a Comment

Are there any known issues with a TabContianer drawing slowling in IE? The
page I am developing is desinged with 4 main tabs, then 3 of the tabs have
their own TabContainer with 26 tabs on them each A-Z. It’s basically a
filter tab. Anyways, on post the page draws extremely slow and looks awful.
If I take the 3 filter tabs off the page the slow draw still exists, but it
is not nearly as bad. We’re talking about like 1-2 seconds to draw with them
and < .5 second without.

And like the subject said this does not happen in Firefox.

Thanks

Share/Save/Bookmark

 

How Ajax Can Be Used To Build Java Applications

Category: AJAX Questions    |    4 views    |    Add a Comment

How Ajax Can Be Used To Build Java Applications
Why Ajax Can be Useful For High Quality Web Applications
One thing that most people are looking for on the web these days is interactivity. The ability for companies to create web applications which are highly interactive will play a prominent role in their success over the web. In fact, the very nature of Ajax makes it useful for the construction of high end web applications. Ajax, which stands for Asynchronous JavaScript and XML, is an approach to web application design that differs from traditional methods. In the past, most developers had to use plug-ins and frames if they wanted their applications to work with prominent browsers. They were greatly limited in their ability to create interactive applications.

However, this was only a part of the problem. Not only were developers limited in their ability to create highly interactive web applications, they were not able to create an application that had the functionality and interactivity of a traditional desktop application. While the limitations of older web tools may not be easily noticeable to the average user, developers were very well aware of them. Understanding these limitations has been the key to their success when it comes to the introduction of Ajax.

Traditional Barriers to Ajax Applications
The page reload or refresh is testament to the limitations that were prevalent on the web before Ajax was introduced. It was a great barrier to usability, and developers were limited in their ability to correct the issue. Since the inception of the Internet, the goal of many developers has been to create web applications which are very interactive. In addition to being interactive, these applications should also be dynamic. When the user makes a change to the content on a web page, that change should be seen in near real time.

The user should not have to reload the page if they wish to see immediate changes in their actions. However, this is the way it was in the past, and it is still prominent among older websites today. However, the introduction of Ajax has changed everything. Rather than being a technology, Ajax is a technique that allows you to combine existing Java technologies in a way that allows you to bypass the page reload barrier. The fundamental concept behind Ajax is the fact that it uses client side scripting to transfer data to the web server.

Ajax Fundamentals
Not only will Ajax allow developers to create web applications with a great deal of interactivity, these programs will be so interactive that they can be likened to traditional desktop applications. Ajax is basically a pattern, a method of finding and utilizing a design technique that is efficient. While the concept of Ajax may not be new, it is new in the sense that many web developers have not yet taken advantage of it. One reason for Ajax’s sudden popularity is the fact that many popular applications such as Gmail utilize it.

The new Ajax applications are so powerful, so different from their contemporaries that many people have begin calling it a new technology altogether. These technologies have often been placed under the umbrella term which is known as Web 2.0. Since this time, Ajax has become a household name in many web development communities. Even then, its usage has not fully proliferated the web as a whole. There are a number of things which Ajax promises to create.

Ajax Tools and Applications
One of the things that Ajax can enhance are shopping carts. Since you don’t have to worry about reloading a page, a shopping cart designed with Ajax can be updated in real time. As soon as you add an item to it, this change in data will be shown automatically. One of the most important objects that has allowed Ajax to become so prominent is the XMLHttpRequest. It gives a client side script the ability to carry out requests for HTTP, and it will generate a response from the XML server. It is the interactive nature of Ajax that has allowed it to become so powerful.

There is a reason why “asynchronous” is used to describe Ajax. When an HTTP request is sent out, the user doesn’t want to wait for the browser to respond. You would much rather have it react to the direct interaction on the page.

Share/Save/Bookmark

 

Errors That Developers Make With Ajax

Category: AJAX Questions    |    5 views    |    Add a Comment

Basic Things That Developers Must Avoid
While Ajax has been the subject of hype for its ability to make web applications much more interactive, with power comes responsibility, and Ajax can be dangerous in the hands of developers who do not know how to use it properly. While Ajax has a great deal of potential, it is far from being perfect. There are a number of UI problems that can occur with Ajax applications, and some of these problems are server sided in nature. There are a lot of mistakes that developers can make when using Ajax, and it is important for you to avoid them. One of the most common mistakes that developers make is using Ajax just because it is one of the hottest tools available on the web.

If you’re going to use Ajax, you should take into consideration more than just the hype which surrounds the tool. While Ajax may be the latest web application tool, it is not a toy. However, many of the applications which are being developed by Ajax have no useful purpose. They are designed simply because the developer things they are cool, but they offer absolutely nothing to the common user. While these applications might be fun for a certain period of time, I think it could be argued that they don’t have a great deal of longevity as far as applications are concerned.

Dealing With The Back Button
The back button is not a bad feature for most web page interfaces. The problem is, the back button doesn’t work well with JavaScript, one of the technologies which make up Ajax. A wish to maintain the back button function is one of the key reasons why it may not be a good idea to create an app that is 100 percent JavaScript. Another thing that developers will want to pay attention to is a failure to give instant visual indicators for clicking on a widget. If a user click on something that creates an Ajax action, that user should be given a clue that something is going on.

One example of a program that uses this properly is Gmail. The button is located on the right side of the top page, and when you do something in Gmail, a small red box will show that the page is loading. This is done because Ajax doesn’t use the standard cues which show that a page is being loaded. Doing this is very important, for it will show that the application is user friendly. Now that I’ve talked about this, I will next want to address the issue of leaving behind people who are offline. Web programs are pushing the boundaries farther each day, and some have said that all applications must be moved online.

The Transition From Offline to Online Applications
There are a number of reasons why many developers feel that virtually all applications should be moved from offline to online. Some of these reasons include global access, the configuration and maintenance, and the learning curve, which has a tendency to be shorter for web applications when compared to desktop applications. However, there are a number of issues that must be considered. First, not everyone has a broadband Internet connection. The vast majority of the people in the world are still using dial up, and only a small percentage are using Internet connections which are broadband or faster.

For the people who use slower connections, being force to only use web based applications can be tedious and irritating. Also, there is the possibility that some people will prefer to use these applications offline. Developers who want to succeed with Ajax must prepare for this. If you decide to simply leave these people behind, you will dramatically reduce your potential user base. Offline access should always be considered even when a web based application is being developed. Anyone who is familiar with Gmail knows that it uses POP, a feature that is not web based.

Users Don’t Want to Wait For Ajax
The biggest mistake that developers can make is developing their applications in a way that forces users to wait. This is one of the biggest downsides to Flash. A lot of webmasters build Flash intros to their site, and while users may watch these intros the first time around, they can become annoying after a few visits, because all they do is waste time. Even if you are able to click on a button to skip the Flash intro, this still takes time. With Ajax, developers must get past fancy animations and focus on functions.

Share/Save/Bookmark

 

Ajax at a Glance

Category: AJAX Questions    |    7 views    |    Add a Comment

Ajax is a system that is comprised of a number of different technologies, and some of these include DOM, HTML, JavaScript, and DHTML. These technologies together are used to create an approach that will allow users to transform static web interfaces into those which are highly interactive. To fully understand the power of Ajax, you must be able to first understand how these various technologies work together. One of the most important factors in the success of Ajax is the XMLHttpRequest object. A few years ago, developers who didn’t know XML were often not popular among their peers.

Within the last two years, systems like Ruby have been hyped and slated to be the next big thing. Currently, Ajax is one of the most popular systems on the web. But unlike the others, all the evidence shows that Ajax is much more than just a fad. It is a powerful method for building websites, and it is not as difficult to learn as many programming languages. In addition to defining Ajax, you must also be able to understand how it functions, and what role it plays in the development of the Internet. First, if you write a standard application today, your choices are basically broken down in two types, and these are those that are web based, and those that are desktop based.

The Relationship of Ajax with Desktop and Web Based Apps
Desktop applications are those that can essentially function without the Internet. They are designed to run on a computer, and they use the operating system and the computer as a platform. These applications will generally come in the form of a CD, and the user will be expected to put the CD in their drive, install the program, and then run it. While the user may access the Internet to download updates for the program, the actual code which is used to run this application will remain on your desktop.

As the name suggests, web applications are programs which are designed to be run over the web. They will utilize web servers, and they will use the web as a platform to function and operate. In most cases, these applications can be accessed via a web browser. The most important thing with a web application is not the code, but the ways in which the application behave. Because desktop applications run off your computer, they are generally very fast. The reason for this is simple. They don’t have to wait on your Internet connection. They have powerful user interfaces, and they are highly dynamic.

Web Application Fundamentals
While desktop applications have a number of powerful advantages over their web based counterparts, there are many advantages that web applications have over those that run on desktops. First, these applications can offer services that no desktop application can offer. The reason for this is because they are directly connected to the Internet. Some examples of powerful web based applications include Amazon and eBay. Despite this, the biggest problem web applications have is the waiting process. You have to wait for the server to give you a response, and you have to wait for the screen to be refreshed.

The goal of Ajax is to bring the strengths of desktop applications to the web, while reducing their weaknesses. By taking the best of both worlds and merging them together in a system, an entirely new hybrid can be created in which the web becomes much more dynamic and interactive. With Ajax applications, you have all the fancy controls and speed of the desktop applications, but you have the global connectivity of applications which are web based. This is the goal of Ajax developers, and they are well on their way to being successful.

New Features, But Old Technology
I always like to emphasize how Ajax is not truly new. The foundation has existed for nearly a decade or more, and developers in the 1990s were well aware of its capabilities. However, at the time, the XMLHttpRequst object had not been fully realized. Because developers were not able to harness the power of this object, their success was greatly reduced. Once developers begin harnessing the power of this object, their success rate with Ajax gradually increased

Share/Save/Bookmark