<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" xml:lang="en" xml:base="http://ajaxblog.com/wp-atom.php">
	<title type="text">Ajax Blog</title>
	<subtitle type="text">HTML, Javascript and XML coding techniques for Web 2.0</subtitle>

	<updated>2009-12-19T15:15:50Z</updated>
	<generator uri="http://wordpress.org/" version="2.7.1">WordPress</generator>

	<link rel="alternate" type="text/html" href="http://ajaxblog.com" />
	<id>http://ajaxblog.com/feed/atom</id>
	

			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/ajaxblog/XCRT" /><feedburner:info uri="ajaxblog/xcrt" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry>
		<author>
			<name>rizal yoonus</name>
					</author>
		<title type="html"><![CDATA[patterns]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ajaxblog/XCRT/~3/sK6NNvLAR28/patterns" />
		<id>http://ajaxblog.com/?p=380</id>
		<updated>2009-12-19T15:15:50Z</updated>
		<published>2009-12-19T15:15:50Z</published>
		<category scheme="http://ajaxblog.com" term="Ajax" /><category scheme="http://ajaxblog.com" term="experiance" />		<summary type="html"><![CDATA[Patterns being patterns, theres not a lot of unseen information here. Patterns are just a concise way to represent the knowledge embodied in the many AJAX applications that are out there. The point is to discover best practices by investigating how developers have successfully traded off conflicting design principles. AJAX is all about usability, so [...]]]></summary>
		<content type="html" xml:base="http://ajaxblog.com/archives/2009/12/19/patterns">&lt;p&gt;Patterns being patterns, theres not a lot of unseen information here. Patterns are just a concise way to represent the knowledge embodied in the many AJAX applications that are out there. The point is to discover best practices by investigating how developers have successfully traded off conflicting design principles. AJAX is all about usability, so the patterns focus particularly on delivering usability in the face of constraints, most notably: user capabilities and expectations, bandwidth limits, the stateless nature of HTTP, the complexity of JavaScript.&lt;br /&gt;
                            AJAX is a new term, but XMLHttpRequest and related technologies have been around for a while. I know that, but the introduction of a single umbrella term nevertheless constitutes a tipping point which is forcing web development to move heavily in a certain direction. AJAX is only a name, but names can be tremendously important.&lt;/p&gt;
&lt;p&gt;these are some points&amp;#8230;&amp;#8230;..&lt;br /&gt;
Minimise traffic between browser and server so that the user feels the application is responsive.&lt;br /&gt;
Be clear on the interaction mode being used – regular HTML versus AJAX versus desktop application so that the user can predict what will happen next .. no surprises.&lt;br /&gt;
While avoiding confusion, borrow from conventions of HTML and desktop applications so that the user can rapidly learn how to use your application. &lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/GOQ7-E3r4LojzJss8whgBNy8Dsg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GOQ7-E3r4LojzJss8whgBNy8Dsg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/GOQ7-E3r4LojzJss8whgBNy8Dsg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GOQ7-E3r4LojzJss8whgBNy8Dsg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ajaxblog/XCRT/~4/sK6NNvLAR28" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://ajaxblog.com/archives/2009/12/19/patterns#comments" thr:count="3" />
		<link rel="replies" type="application/atom+xml" href="http://ajaxblog.com/archives/2009/12/19/patterns/feed/atom" thr:count="3" />
		<thr:total>3</thr:total>
	<feedburner:origLink>http://ajaxblog.com/archives/2009/12/19/patterns</feedburner:origLink></entry>
		<entry>
		<author>
			<name>tarannum bagwan</name>
					</author>
		<title type="html"><![CDATA[Introducing the ASP.NET Ajax Framework]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ajaxblog/XCRT/~3/mzlSlRaVhtU/introducing-the-aspnet-ajax-framework" />
		<id>http://ajaxblog.com/archives/2009/04/15/introducing-the-aspnet-ajax-framework</id>
		<updated>2009-04-15T18:05:16Z</updated>
		<published>2009-04-15T18:05:16Z</published>
		<category scheme="http://ajaxblog.com" term="Ajax" />		<summary type="html"><![CDATA[Ajax is a popular technology that is used in many different ways on the World Wide Web. It has become a technology of choice for building fast and responsive user interface. This artical takes a brief look at the features of some of the more widely used ASP.NET Ajax frameworks.
The What and Why of Ajax
Before [...]]]></summary>
		<content type="html" xml:base="http://ajaxblog.com/archives/2009/04/15/introducing-the-aspnet-ajax-framework">&lt;p&gt;Ajax is a popular technology that is used in many different ways on the World Wide Web. It has become a technology of choice for building fast and responsive user interface. This artical takes a brief look at the features of some of the more widely used ASP.NET Ajax frameworks.&lt;br /&gt;
The What and Why of Ajax&lt;br /&gt;
Before we delve deep into the Ajax frameworks, let&amp;#8217;s have a quick recap of what Ajax and why it is so popular. The word Ajax is and acronym for Asynchronous JavaScript and XML. It is a combination of different technologies, used for building rich and responsive user interfaces. The benefits of using Ajax include:&lt;br /&gt;
   faster page renderings and support for partial page updates&lt;br /&gt;
   rich and, responsive user interface&lt;br /&gt;
   reduced consumption of server resources&lt;br /&gt;
Common ASP.NET Ajax frameworks&lt;br /&gt;
The most common Ajax frameworks that can be used with ASP.NET are:&lt;br /&gt;
   Atlas&lt;br /&gt;
   AJAXPro.NET&lt;br /&gt;
   MagicAJAX.NET&lt;br /&gt;
   Anthem.NET&lt;br /&gt;
   ASP.NET Ajax&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/D9YDHNIBRiRfQn70XY_yoVK-oyM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/D9YDHNIBRiRfQn70XY_yoVK-oyM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/D9YDHNIBRiRfQn70XY_yoVK-oyM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/D9YDHNIBRiRfQn70XY_yoVK-oyM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ajaxblog/XCRT/~4/mzlSlRaVhtU" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://ajaxblog.com/archives/2009/04/15/introducing-the-aspnet-ajax-framework#comments" thr:count="3" />
		<link rel="replies" type="application/atom+xml" href="http://ajaxblog.com/archives/2009/04/15/introducing-the-aspnet-ajax-framework/feed/atom" thr:count="3" />
		<thr:total>3</thr:total>
	<feedburner:origLink>http://ajaxblog.com/archives/2009/04/15/introducing-the-aspnet-ajax-framework</feedburner:origLink></entry>
		<entry>
		<author>
			<name>SHASHANK SHEKHAR</name>
					</author>
		<title type="html"><![CDATA[A simple feedback of AJAX for beginners]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ajaxblog/XCRT/~3/gMQQQxOn_4A/a-simple-feedback-of-ajax-for-beginners" />
		<id>http://ajaxblog.com/archives/2009/01/27/a-simple-feedback-of-ajax-for-beginners</id>
		<updated>2009-01-27T16:10:14Z</updated>
		<published>2009-01-27T16:10:14Z</published>
		<category scheme="http://ajaxblog.com" term="Ajax" /><category scheme="http://ajaxblog.com" term="Ajax Applications" /><category scheme="http://ajaxblog.com" term="Ajax Tutorials" /><category scheme="http://ajaxblog.com" term="Browser Compatibility" /><category scheme="http://ajaxblog.com" term="Noteworthy" /><category scheme="http://ajaxblog.com" term="Feedback" /><category scheme="http://ajaxblog.com" term="For beginners" />		<summary type="html"><![CDATA[Website script holds large importance as far as popularity and usage convenience are concerned. As an innovative web language AJAX may not be very popular as it has come quite recently as compared with other web languages which have been around for last 10 years or more. For beginners a quick feedback of AJAX can [...]]]></summary>
		<content type="html" xml:base="http://ajaxblog.com/archives/2009/01/27/a-simple-feedback-of-ajax-for-beginners">&lt;p&gt;Website script holds large importance as far as popularity and usage convenience are concerned. As an innovative web language AJAX may not be very popular as it has come quite recently as compared with other web languages which have been around for last 10 years or more. For beginners a quick feedback of AJAX can be helpful.&lt;/p&gt;
&lt;p&gt;AJAX is really faster in its application as it does not need connection to server every time you ask for the information. Call back process for required information from users is capable enough to avoid sluggishness of page view. Data updation has been made quite simple and there is no need to review the entire contents. The system can select the bits to update. AJAX uses those scripts which are normally supported by all major browsers.&lt;/p&gt;
&lt;p&gt;If you are planning to develop a new website, you can try AJAX. Online tutorials are available to get basic start up guidelines also.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/L2m0tfw7fyRdbydsjy6T4D1-ZcQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/L2m0tfw7fyRdbydsjy6T4D1-ZcQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/L2m0tfw7fyRdbydsjy6T4D1-ZcQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/L2m0tfw7fyRdbydsjy6T4D1-ZcQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ajaxblog/XCRT/~4/gMQQQxOn_4A" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://ajaxblog.com/archives/2009/01/27/a-simple-feedback-of-ajax-for-beginners#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://ajaxblog.com/archives/2009/01/27/a-simple-feedback-of-ajax-for-beginners/feed/atom" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://ajaxblog.com/archives/2009/01/27/a-simple-feedback-of-ajax-for-beginners</feedburner:origLink></entry>
		<entry>
		<author>
			<name>SHASHANK SHEKHAR</name>
					</author>
		<title type="html"><![CDATA[Life Cycle of AJAX]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ajaxblog/XCRT/~3/gaBD9rKggg4/life-cycle-of-ajax" />
		<id>http://ajaxblog.com/archives/2009/01/26/life-cycle-of-ajax</id>
		<updated>2009-01-26T12:02:07Z</updated>
		<published>2009-01-26T12:02:07Z</published>
		<category scheme="http://ajaxblog.com" term="Ajax" /><category scheme="http://ajaxblog.com" term="Ajax Applications" /><category scheme="http://ajaxblog.com" term="Ajax Tutorials" /><category scheme="http://ajaxblog.com" term="Noteworthy" /><category scheme="http://ajaxblog.com" term="Life Cycle of AJAX" /><category scheme="http://ajaxblog.com" term="Stages of AJAX" />		<summary type="html"><![CDATA[A Typical Life Cycle or Process of AJAX
Life cycle of AJAX is more similar to a traditional GUI than a traditional web application. It has DOM objects who acts like GUI widgets. The used script has capacity to register even listeners on DOM objects and respond accordingly after manipulating DOM. 
There is an important part [...]]]></summary>
		<content type="html" xml:base="http://ajaxblog.com/archives/2009/01/26/life-cycle-of-ajax">&lt;p&gt;&lt;strong&gt;A Typical Life Cycle or Process of AJAX&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Life cycle of AJAX is more similar to a traditional GUI than a traditional web application. It has DOM objects who acts like GUI widgets. The used script has capacity to register even listeners on DOM objects and respond accordingly after manipulating DOM. &lt;/p&gt;
&lt;p&gt;There is an important part of the event-processing cycle in server is evoked sometimes. As the server calls are asynchronous, the even listening and event responding are done separately.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The normal AJAX life cycle consists of following stages:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;1. The webpage is visited by internet users simply by clicking the targetted link or searching an URL. Thereafter the page gets initialised and loaded. In order to handle the user input callbacks are present in the system which acts after this.&lt;br /&gt;
2. When a key is pressed it&amp;#8217;s called an event which is a query or click in common words. On such events browser sends the information request to the server which in turn responds to give back required information as bites.&lt;br /&gt;
3. The response of the server is translated through callback process to made viewable to the user.&lt;br /&gt;
4. The callback function then updates the DOM objects and javascript variables if present.&lt;br /&gt;
5. Generally the process of requesting information and giving callbacks are free to server to increase convenience and speed.&lt;br /&gt;
6. Some AJAX applications are short term and terminated once the request is completed. &lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-3xUSdDTZORm-Rlw1IknBuDq0dI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-3xUSdDTZORm-Rlw1IknBuDq0dI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-3xUSdDTZORm-Rlw1IknBuDq0dI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-3xUSdDTZORm-Rlw1IknBuDq0dI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ajaxblog/XCRT/~4/gaBD9rKggg4" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://ajaxblog.com/archives/2009/01/26/life-cycle-of-ajax#comments" thr:count="1" />
		<link rel="replies" type="application/atom+xml" href="http://ajaxblog.com/archives/2009/01/26/life-cycle-of-ajax/feed/atom" thr:count="1" />
		<thr:total>1</thr:total>
	<feedburner:origLink>http://ajaxblog.com/archives/2009/01/26/life-cycle-of-ajax</feedburner:origLink></entry>
		<entry>
		<author>
			<name>SHASHANK SHEKHAR</name>
					</author>
		<title type="html"><![CDATA[AJAX: Introduction and Advantage]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ajaxblog/XCRT/~3/6-lfo52O-_c/ajax-introduction-and-advantage" />
		<id>http://ajaxblog.com/archives/2009/01/25/ajax-introduction-and-advantage</id>
		<updated>2009-01-25T12:13:06Z</updated>
		<published>2009-01-25T12:13:06Z</published>
		<category scheme="http://ajaxblog.com" term="Ajax" /><category scheme="http://ajaxblog.com" term="Ajax Tutorials" /><category scheme="http://ajaxblog.com" term="Noteworthy" /><category scheme="http://ajaxblog.com" term="4 Web Standards of AJAX" /><category scheme="http://ajaxblog.com" term="Advantage of AJAX" /><category scheme="http://ajaxblog.com" term="Basics of AJAX" /><category scheme="http://ajaxblog.com" term="Web Language" />		<summary type="html"><![CDATA[Basics of AJAX:
AJAX is defined or termed as Asynchronous Javascript and XML. It&#8217;s a new avtar of modern day website creation. AJAX is one of the programming techniques which has primarily made popular after 2005 by Google. No doubt about it that AJAX has set innovative and new standads of programming. AJAX has enabled webmasters [...]]]></summary>
		<content type="html" xml:base="http://ajaxblog.com/archives/2009/01/25/ajax-introduction-and-advantage">&lt;p&gt;&lt;strong&gt;Basics of AJAX:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;AJAX is defined or termed as Asynchronous Javascript and XML. It&amp;#8217;s a new avtar of modern day website creation. AJAX is one of the programming techniques which has primarily made popular after 2005 by Google. No doubt about it that AJAX has set innovative and new standads of programming. AJAX has enabled webmasters create better, faster and more user-friendly web applications with its base of Javascript and HTTP.&lt;/p&gt;
&lt;p&gt;AJAX is based on &lt;strong&gt;4 web standards&lt;/strong&gt; which are well defined and supported by all major browsers.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1. JavaScript&lt;br /&gt;
2. XML&lt;br /&gt;
3. HTML&lt;br /&gt;
4. CSS&lt;/p&gt;
&lt;p&gt;Basic Advantage of AJAX&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Faster Updation:&lt;/strong&gt; If you want to update the data base of your web AJAX provides an unique feature to reduce consumption of time. Unlike other web languages where you need to update the entire data base every time you need to update the contents, however with AJAX you need to spend time only on updation of the contents which actually requires to be done so. AJAX selects the contents from the web which needs updation giving eage to the process.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Faster Response:&lt;/strong&gt; AJAX enables faster responses to the inputs even if the changes are not done on server. The unique advantage of AJAX is its ability to reload the individual pages separately giving a user friendly benefit and users may perceive the site functioning faster.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Faster Connection: &lt;/strong&gt;With AJAX it&amp;#8217;s not required to connect the webpage with server every time. Some times it saves the interaction between them to increase functionality and speed. It allows webpage to request for smaller bits of information rather than asking for the entire page to load again and again which increases speed as well. AJAX is a technology related to browser which is independent of web server.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2RuH-bJKLh2TK4bUoVz8XUwuWxE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2RuH-bJKLh2TK4bUoVz8XUwuWxE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2RuH-bJKLh2TK4bUoVz8XUwuWxE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2RuH-bJKLh2TK4bUoVz8XUwuWxE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ajaxblog/XCRT/~4/6-lfo52O-_c" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://ajaxblog.com/archives/2009/01/25/ajax-introduction-and-advantage#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://ajaxblog.com/archives/2009/01/25/ajax-introduction-and-advantage/feed/atom" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://ajaxblog.com/archives/2009/01/25/ajax-introduction-and-advantage</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Jegan Smiles</name>
					</author>
		<title type="html"><![CDATA[ASP.NET: Disable, Enable Validator Using Javascript]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ajaxblog/XCRT/~3/hJB8MN6V4m8/aspnet-disable-enable-validator-using-javascript" />
		<id>http://ajaxblog.com/archives/2009/01/09/aspnet-disable-enable-validator-using-javascript</id>
		<updated>2009-01-09T13:19:12Z</updated>
		<published>2009-01-09T13:19:12Z</published>
		<category scheme="http://ajaxblog.com" term="Ajax Examples" /><category scheme="http://ajaxblog.com" term="JavaScript" />		<summary type="html"><![CDATA[Doing this is pretty easy, if you know how or what method to use. I wanted to disable a Validator for a  province TextBox if the country DropDownList chosen is USA because the state DropDownList will be enabled so the province should be inactive. Doing this server-side may be easy, but I wanted to [...]]]></summary>
		<content type="html" xml:base="http://ajaxblog.com/archives/2009/01/09/aspnet-disable-enable-validator-using-javascript">&lt;p&gt;Doing this is pretty easy, if you know how or what method to use. I wanted to disable a Validator for a  province TextBox if the country DropDownList chosen is USA because the state DropDownList will be enabled so the province should be inactive. Doing this server-side may be easy, but I wanted to use client-side Javascript so that no request will be sent whenever the OnChange event of the country’s DropDownList gets fired. Luckily, there is already a pre-made function in Javascript that disables Validators.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;provinceValidator = document.getElementById(&amp;#8217;ProvinceValidator&amp;#8217;);&lt;br /&gt;
ValidatorEnable(provinceValidator, false);&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Just set the second parameter as either true or false to enable and disable a Validator. I hope this will help those who have no clue how to go about it like I did until I found out about this function.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Zoc6EzuWGclrLbxvfMDOuEwd-wU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Zoc6EzuWGclrLbxvfMDOuEwd-wU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Zoc6EzuWGclrLbxvfMDOuEwd-wU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Zoc6EzuWGclrLbxvfMDOuEwd-wU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ajaxblog/XCRT/~4/hJB8MN6V4m8" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://ajaxblog.com/archives/2009/01/09/aspnet-disable-enable-validator-using-javascript#comments" thr:count="2" />
		<link rel="replies" type="application/atom+xml" href="http://ajaxblog.com/archives/2009/01/09/aspnet-disable-enable-validator-using-javascript/feed/atom" thr:count="2" />
		<thr:total>2</thr:total>
	<feedburner:origLink>http://ajaxblog.com/archives/2009/01/09/aspnet-disable-enable-validator-using-javascript</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Jegan Smiles</name>
					</author>
		<title type="html"><![CDATA[Regex For Creating Usernames]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ajaxblog/XCRT/~3/gWSrkV3XBSQ/regex-for-creating-usernames" />
		<id>http://ajaxblog.com/archives/2009/01/09/regex-for-creating-usernames</id>
		<updated>2009-01-09T13:17:46Z</updated>
		<published>2009-01-09T13:17:46Z</published>
		<category scheme="http://ajaxblog.com" term="Ajax Examples" /><category scheme="http://ajaxblog.com" term="username" />		<summary type="html"><![CDATA[ A regular expression (called regex) is a way for a programmer to instruct how a program should look for a specified pattern in text and then what it should do when each pattern match is found. Rather than going through each character of a string and doing matches, regex makes life easier for programmers [...]]]></summary>
		<content type="html" xml:base="http://ajaxblog.com/archives/2009/01/09/regex-for-creating-usernames">&lt;p&gt; A regular expression (called regex) is a way for a programmer to instruct how a program should look for a specified pattern in text and then what it should do when each pattern match is found. Rather than going through each character of a string and doing matches, regex makes life easier for programmers to do search and matches. This sample regex is a good pattern for use in creating usernames.&lt;/p&gt;
&lt;p&gt;The regex below means that only alphanumeric (only lowercase letters) are allowed including an underscore and a dot.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;^[a-z0-9_.]$&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1agRkr0MczQSsyFrqzcs5Yupsu8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1agRkr0MczQSsyFrqzcs5Yupsu8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1agRkr0MczQSsyFrqzcs5Yupsu8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1agRkr0MczQSsyFrqzcs5Yupsu8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ajaxblog/XCRT/~4/gWSrkV3XBSQ" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://ajaxblog.com/archives/2009/01/09/regex-for-creating-usernames#comments" thr:count="1" />
		<link rel="replies" type="application/atom+xml" href="http://ajaxblog.com/archives/2009/01/09/regex-for-creating-usernames/feed/atom" thr:count="1" />
		<thr:total>1</thr:total>
	<feedburner:origLink>http://ajaxblog.com/archives/2009/01/09/regex-for-creating-usernames</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Jegan Smiles</name>
					</author>
		<title type="html"><![CDATA[ASP.NET: ValidationSummary For A CreateUserWizard Control]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ajaxblog/XCRT/~3/2XuZ8imCfNc/aspnet-validationsummary-for-a-createuserwizard-control" />
		<id>http://ajaxblog.com/archives/2009/01/09/aspnet-validationsummary-for-a-createuserwizard-control</id>
		<updated>2009-01-09T13:17:03Z</updated>
		<published>2009-01-09T13:17:03Z</published>
		<category scheme="http://ajaxblog.com" term="AJAX Code" /><category scheme="http://ajaxblog.com" term="Ajax Examples" /><category scheme="http://ajaxblog.com" term="Asp.net" />		<summary type="html"><![CDATA[   ASP.NET provides a control that uses the Membership API to create users on the fly via the CreateUserWizard control. The only drawback with this control is that you cannot include any other details like first name, last name, address and others. You would have to place all other details as a separate [...]]]></summary>
		<content type="html" xml:base="http://ajaxblog.com/archives/2009/01/09/aspnet-validationsummary-for-a-createuserwizard-control">&lt;p&gt;   ASP.NET provides a control that uses the Membership API to create users on the fly via the CreateUserWizard control. The only drawback with this control is that you cannot include any other details like first name, last name, address and others. You would have to place all other details as a separate page, called a Wizard Step. When you use forms, naturally, you would have to use validation in order to have the correct data that will be stored in your database.&lt;/p&gt;
&lt;p&gt;ASP.NET also has a nifty control called ValidationSummary that collects all errors of controls found in the tag and displays them as either a List or a Bulleted List. I typically got stuck for half a day looking for a solution because my ValidationSummary control does not display when it is in the CreateUserStep of my wizard. You can use a property called ValidationGroup to specify which set of controls will be collected by the ValidationSummary control for display. You do this by giving the ValidationGroup a name, which is case-sensitive by the way. My problem persisted because the ValidationSummary control for my CreateUserStep has a different name. I later found out that you would have to use the CreateUserWizard’s ID as the ValidationSummary’s ValidationGroup’s name for this to work. See the sample code below.&lt;/p&gt;
&lt;blockquote&gt;
&lt;form&gt;
&lt;p&gt;&amp;lt;asp:ValidationSummary runat=&amp;#8221;server&amp;#8221; ID=&amp;#8221;InfoVS&amp;#8221;&lt;br /&gt;
  ShowSummary=&amp;#8221;true&amp;#8221; DisplayMode=&amp;#8221;BulletList&amp;#8221; ValidationGroup=&amp;#8221;PersonalVG&amp;#8221;&lt;br /&gt;
  HeaderText=&amp;#8221;&lt;b&gt;Please review the following errors:&lt;/b&gt;&amp;#8221;&lt;br /&gt;
/&amp;gt;&lt;br /&gt;
&amp;lt;asp:ValidationSummary runat=&amp;#8221;server&amp;#8221; ID=&amp;#8221;AddUserVS&amp;#8221;&lt;br /&gt;
  ShowSummary=&amp;#8221;true&amp;#8221; DisplayMode=&amp;#8221;BulletList&amp;#8221; ValidationGroup=&amp;#8221;AddUserWizard&amp;#8221;&lt;br /&gt;
  HeaderText=&amp;#8221;&lt;b&gt;Please review the following errors:&lt;/b&gt;&amp;#8221;&lt;br /&gt;
/&amp;gt;&lt;br /&gt;
&lt;/p&gt;
&lt;table&gt;
&lt;tr&gt;
&lt;td&gt;first name&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;table&gt;
&lt;tr&gt;
&lt;td colspan="3"&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;username&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;password&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;confirm password&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;email&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;p&gt;                Your account has been successfully created. &lt;/p&gt;
&lt;/form&gt;
&lt;/blockquote&gt;
&lt;p&gt;I specifically added a StartNavigationTemplate tag and overrode the asp:Button and its properties because the validation does not work if you do not set the button’s CausesValidation property to true. Hence, your ValidationSummary control would show nothing since no validation took place. Notice that my ValidationSummary’s ValidationGroup is called PersonalVG. You can name it any way you want but to use the ValidationSummary’s ValidationGroup for the CreateUserStep, you would have to use the CreateUserWizard’s ID for this to work. Otherwise, no validation error messages will be displayed and you will just be stuck on the CreateUserStep page.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ID3gjaTfuQANFDFVWuWs5w2-XMY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ID3gjaTfuQANFDFVWuWs5w2-XMY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ID3gjaTfuQANFDFVWuWs5w2-XMY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ID3gjaTfuQANFDFVWuWs5w2-XMY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ajaxblog/XCRT/~4/2XuZ8imCfNc" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://ajaxblog.com/archives/2009/01/09/aspnet-validationsummary-for-a-createuserwizard-control#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://ajaxblog.com/archives/2009/01/09/aspnet-validationsummary-for-a-createuserwizard-control/feed/atom" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://ajaxblog.com/archives/2009/01/09/aspnet-validationsummary-for-a-createuserwizard-control</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Jegan Smiles</name>
					</author>
		<title type="html"><![CDATA[ASP.NET: Get Access Of Control Within A CreateUserWizard]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ajaxblog/XCRT/~3/G_5_ry5AV9I/aspnet-get-access-of-control-within-a-createuserwizard" />
		<id>http://ajaxblog.com/archives/2009/01/09/aspnet-get-access-of-control-within-a-createuserwizard</id>
		<updated>2009-01-09T13:15:51Z</updated>
		<published>2009-01-09T13:15:51Z</published>
		<category scheme="http://ajaxblog.com" term="AJAX Code" /><category scheme="http://ajaxblog.com" term="Ajax Examples" /><category scheme="http://ajaxblog.com" term="Asp.net" />		<summary type="html"><![CDATA[  Getting access to a control from within c# is straightforward. You just call the ID name and call the method or property that you want to use. If you are going to get access to a control from within a CreateUserWizard control and your code may look something like


you call the Label control [...]]]></summary>
		<content type="html" xml:base="http://ajaxblog.com/archives/2009/01/09/aspnet-get-access-of-control-within-a-createuserwizard">&lt;p&gt;  Getting access to a control from within c# is straightforward. You just call the ID name and call the method or property that you want to use. If you are going to get access to a control from within a CreateUserWizard control and your code may look something like&lt;/p&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;
&lt;p&gt;you call the Label control by&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;
Label lbl = (Label) RegisterUserWizard.CreateUserStep.ContentTemplate.label;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZCBSztabh9qGPKoYi3ebi8JXcJ4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZCBSztabh9qGPKoYi3ebi8JXcJ4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZCBSztabh9qGPKoYi3ebi8JXcJ4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZCBSztabh9qGPKoYi3ebi8JXcJ4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ajaxblog/XCRT/~4/G_5_ry5AV9I" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://ajaxblog.com/archives/2009/01/09/aspnet-get-access-of-control-within-a-createuserwizard#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://ajaxblog.com/archives/2009/01/09/aspnet-get-access-of-control-within-a-createuserwizard/feed/atom" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://ajaxblog.com/archives/2009/01/09/aspnet-get-access-of-control-within-a-createuserwizard</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Jegan Smiles</name>
					</author>
		<title type="html"><![CDATA[ASP.NET: GridView Control]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ajaxblog/XCRT/~3/0e_C9blLsOg/aspnet-gridview-control" />
		<id>http://ajaxblog.com/archives/2009/01/09/aspnet-gridview-control</id>
		<updated>2009-01-09T13:14:31Z</updated>
		<published>2009-01-09T13:14:31Z</published>
		<category scheme="http://ajaxblog.com" term="Ajax" /><category scheme="http://ajaxblog.com" term="Ajax Tutorials" /><category scheme="http://ajaxblog.com" term="Grid control" />		<summary type="html"><![CDATA[One of the reasons why I’m impressed with asp.net’s rich set of controls is its GridView control. This control displays your data in a table structure complete with delete, update and select features. It even has paging in case you have lots of records in your database. The best thing about this paging is that [...]]]></summary>
		<content type="html" xml:base="http://ajaxblog.com/archives/2009/01/09/aspnet-gridview-control">&lt;p&gt;One of the reasons why I’m impressed with asp.net’s rich set of controls is its GridView control. This control displays your data in a table structure complete with delete, update and select features. It even has paging in case you have lots of records in your database. The best thing about this paging is that everything is done for you, the links, the paging number, the paging labels and others. If you click a page link, it will retrieve the next set of record(s) for you without changing any SQL query. For example, you can use this SQL query to retrieve all records of the table.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;select * from [table_name];&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;In MySQL, you would need to supply the LIMIT keyword in order to get a specific set of rows. With GridView’s paging feature enabled, everything is done for you. Neat huh. Took me like a day in getting this one to work though because I had problems with the update and delete function. Since I am using MySQL, turns out when you do parameters in your query commands, the @ sign does not work because it is only for MS SQL. You would have to change the @ to ?.&lt;/p&gt;
&lt;p&gt;Take this sample asp.net code for a GridView control as an example. This assumes you have a working database connection to MySQL. If you do not know how to connect to a MySQL in asp.net, go here to use the custom MySQLProvider classes by Rakotomalala Andriniaina.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;
&amp;lt;asp:SqlDataSource ID=&amp;#8221;srcUsers&amp;#8221; runat=&amp;#8221;server&amp;#8221;&lt;br /&gt;
	ProviderName=&amp;#8221;MySql.Data.MySqlClient&amp;#8221;&lt;br /&gt;
	ConnectionString=&amp;#8221;"&lt;br /&gt;
	SelectCommand=&amp;#8221;select pkid, username, email, creationdate from users&amp;#8221;&lt;br /&gt;
	DeleteCommand=&amp;#8221;delete from users where pkid = ?pkid&amp;#8221;&lt;br /&gt;
	UpdateCommand=&amp;#8221;update users set email = ?email where pkid = ?pkid&amp;#8221;&lt;br /&gt;
&amp;gt;&lt;/p&gt;
&lt;p&gt;	&amp;lt;PagerSettings Mode=&amp;#8221;NextPrevious&amp;#8221; PreviousPageText=&amp;#8221;" /&amp;gt; &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;If you read e-books regarding asp.net, the queries used are for MS SQL. It’s been a long time since I dabbled with MS SQL, so when I read about it, I thought the @ sign for parameters were required for any database used. Took me some time to know that ? has to be used. See the DeleteCommand and UpdateCommand properties of the SqlDataSource tag.&lt;/p&gt;
&lt;p&gt;How you design your GridView control is up to you. With styles, you can override how the table would look like. The other GridView like control that I had used before that looks like asp.net’s version is the datagrid taglib for Java. The downside with using the taglib is that if your SQL query returns lots of rows, it may not load fast and may use up resources in doing so because it gets all records at one time. Asp.net’s GridView control totally impressed me in more ways.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/lPXTFahFgJsrrcLtzGhxRc0KCBY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lPXTFahFgJsrrcLtzGhxRc0KCBY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/lPXTFahFgJsrrcLtzGhxRc0KCBY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lPXTFahFgJsrrcLtzGhxRc0KCBY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ajaxblog/XCRT/~4/0e_C9blLsOg" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://ajaxblog.com/archives/2009/01/09/aspnet-gridview-control#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://ajaxblog.com/archives/2009/01/09/aspnet-gridview-control/feed/atom" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://ajaxblog.com/archives/2009/01/09/aspnet-gridview-control</feedburner:origLink></entry>
	</feed><!-- Dynamic page generated in 0.320 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-03-11 23:44:09 -->
