Remember Me
forgot your password?

Creating a Simple Ajax Control in Asp.net 2.0 and C#

A Simple AJAX control in ASP.NET 2.0 and C#

Introduction

In this article I will explain how you can easily create an AJAX enabled web site within Visual Studio 2005 utilizing C# and how to utilize the AJAX framework to add a simple control from the list of controls available in the AJAX Control Toolkit.
The AJAX control we will be working with in this article is the “PasswordStrength” control. As mentioned above this control is in the AJAX Control Toolkit we installed in the previous article of this series. We will also learn that the PasswordStrength control can easily secure passwords as they are being entered and notify the user real time as to what else they need to add to their password in order for it to meet your requirements.
In the previous article we learned the following about AJAX and what you can with it?
“ASP.NET AJAX is a free framework for quickly creating efficient and interactive Web applications that work across all popular browsers.”

ASP.NET AJAX:




  • Create interfaces with AJAX components that can be reused.



  • Upgrade your existing pages with AJAX controls.



  • AJAX comes with support for all modern browsers



  • AJAX comes as part of Visual Studio 2008 and does not need to be downloaded and installed as in Visual Studio 2005.




 

What we will learn in this article:




  • How to Create an AJAX enabled Web Site



  • How to utilize the PasswordStrength control




 

Please Note:
AJAX functionality is integrated in ASP.NET 3.5 and does not require any additional downloads. If you are using ASP.NET 3.5 this article does not apply to you.

Getting Started with our AJAX Application

Before we begin coding we will need to download the AJAX framework and install it onto our system in order to have the framework available for us to create our first AJAX web project.
In our previous article titled “Getting Started with AJAX, ASP.NET 2.0 and C#“ we went through the steps involved to install AJAX and how to AJAX enable Visual Studio. We explained where to go to find out about AJAX and that you could download step by step tutorials that will guide you through using every control within the AJAX Control Toolkit.
Here is the AJAX web site for you to add to your bookmarks in your favorite browser:
http://www.asp.net/

Configure Visual Studio 2005

Please Visit Programminghelp.com For the full article and Pictorial tutorial.

http://www.programminghelp.com/web-development/ajax/creating-a-simple-ajax-control-in-asp-net-2-0-and-c/

Programminghelp.com

Programming Help is a community collaboration for programming resources, tutorials, articles, forums, and help. Offering articles written by programmers and developers with years of experience. ProgrammingHelp.com strives to develop and create context and articles in which the beginning and most advanced level programmers/coders can use in everyday methods of development. We welcome you to come join us with your questions and knowledge to help us create an excelled programming community and open forum.

Rate this Article: 4.3 / 5 stars - 4 vote(s)
Print Email Re-Publish

Add new Comment



Captcha

  • Latest Programming Articles
  • More from Programminghelp.com

More than calling and Texting!

By: Rapidsoft | 08/12/2009
The concept of a mobile phone itself has become different! These days, mobile phones serve not only the purpose of communication. A small, tiny handset device can give you much that can be beyond your imagination.

Spotting a Genuine Search Engine Optimization Company

By: kayla tyler | 08/12/2009
Those in the know will advice people who are just about to launch their new website that it is more important to acquire the service of a search engine optimization company than to spend time analyzing which design template will work best for their website.

Stay Away from Ineffective SEO Companies

By: kayla tyler | 08/12/2009
This is the age of online marketing and advertisement thus the constant demand for a search engine marketing company that is capable of providing an array of services that range from search engine optimization (SEO) to pay per click ads management.

How to Convert FLV video to MP3 for iTunes or Garageband on Mac OS X

By: terryly | 08/12/2009
If you have some FLV files but you only get the audio but no video, you can compromise by extract audio from it and then listen to it. You might want to extract MP3 audio from FLV format episodes or a movie to iTunes for playback on your iPod, as ringtones for iPhone, or to create your own masterpiece in Garageband. The question is: how to convert FLV to MP3 for iTunes or Garageband

Blackberry Application Development – A Latest Trend in Market

By: Daviodjones035 | 07/12/2009
The above article, by and large brings forth the facts that led to the immediate success and popularity of Blackberry pagers and now, mobile phones. The establishment of which has led to an immense increase in the Blackberry Mobile Application Development and software market.

IEEE 1588 Time Protocol Promises More Accurate Time Synchronisation

By: Richard n Williams | 07/12/2009
Despite being around for over twenty years, the current favoured time protocol by most networks, NTP (Network Time Protocol) has some competition.

Change Your Lifestyle with New iPhone App Development

By: Vimal Mistry-seo | 07/12/2009
The computing world is shrinking from big computers to desktop to laptop to palmtop and now to mini mobile devices, may be with no limits. Arrival of iPhone in the market has created the buzz like never before.

AJAX CascadingDropdown in Asp.Net

By: pons_saravanan | 07/12/2009
A pure webservice based cascading dropdown list developed using ASP.Net.

Sql: not in Vs. not Equal

By: Programminghelp.com | 14/08/2008 | Programming
While writing SQL queries, have you ever strung several (not equals) together in the WHERE clause and just wondered if that was inefficient? Or have you used the NOT IN function, (both of which can be used to get the same result), and wondered the same thing? If you have or just are curious about either of these methods, keep reading. In this article, both of these functions will be explored to see how efficient they are, plus it will cover a few other methods to get the same results.

Sql: Coalesce() Function

By: Programminghelp.com | 14/08/2008 | Databases
When developing queries in SQL Server, dealing with nulls can often be challenging. The COALESCE function was included in SQL 2005 to help deal with these issues. First let’s take a look at what COALESCE can offer. Generally, COALESCE function receives a sequence of values and a default value to used when all of items in the sequence of values are null. From here the function returns the first not-null in the sequence of values list.

Creating an Encryption Utility in C# Final Part

By: Programminghelp.com | 14/08/2008 | Programming
In part three of this three part series we are going to continue with our Encryption utility example and pick up where we left off. What we learned in the previous articles was how many various types of encryption algorithms there are and which one of those algorithms we will be using for our example.

Creating an Encryption Utility in C# Part Two

By: Programminghelp.com | 14/08/2008 | Programming
In part two of this three part series we are going to continue with our Encryption utility example and pick up where we left off. What we learned in the previous article was how many various types of encryption algorithms there are and which one of those algorithms we will be using for our example.

Creating an Encryption Utility in C# Part One

By: Programminghelp.com | 14/08/2008 | Programming
In this three part series we are going to create an Encryption utility that can take a string value and turn it into an Encrypted Binary value, and then we will take that Binary value and turn it into a Base 64 encoded string that you can cut and paste into a Web Config file or to be used as a password to pass back and forth between services.

C# Web Multi-view Control

By: Programminghelp.com | 08/08/2008 | Programming
At some point in developing web sites or web applications, there will come a time when a requirement of having tab functionality like there is for a Windows application. Before ASP.NET, JavaScript had to be used to achieve this. But when ASP.NET 2.0 came out, a new set of controls were introduced to give the ability of having tab functionality for the web. With the new controls of a multi-view and view when combined with a few basic buttons, the tab can be created.

Sql Server Integrated Services Package Deployment

By: Programminghelp.com | 08/08/2008 | Databases
A decent amount of material has been covered in this introductory series on SQL Server 2005 Integration Services. Many of the basic data flow tasks have been covered along with some database maintenance tasks. It is now time to put these techniques into use.

Submit Your Articles Free: Signup
Article Categories




Use of this web site constitutes acceptance of the Terms Of Use and Privacy Policy | User published content is licensed under a Creative Commons License.
Copyright © 2005-2008 Free Articles by ArticlesBase.com, All rights reserved. (0.08, 1, w2)