<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pearl Tech &#187; AJAX</title>
	<atom:link href="http://blog.pearltechnology.com/tag/ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.pearltechnology.com</link>
	<description></description>
	<lastBuildDate>Tue, 25 May 2010 14:37:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>FileUpload Control not working in UpdatePanel</title>
		<link>http://blog.pearltechnology.com/fileupload-control-not-working-in-updatepanel/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://blog.pearltechnology.com/fileupload-control-not-working-in-updatepanel/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 16:08:11 +0000</pubDate>
		<dc:creator>Geer</dc:creator>
				<category><![CDATA[Application Development]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[FileUpload]]></category>
		<category><![CDATA[UpdatePanel]]></category>

		<guid isPermaLink="false">http://blog.pearltechnology.com/?p=606</guid>
		<description><![CDATA[You may have experienced the problem with FileUpload control in an UpdatePanel – when you hit the submit button, Request.Files.Count always returns 0, even though you had registered the submit button as a PostBackControl and a PostBackTrigger of the UpdatePanel containing the FileUpload control.
In my case, the FileUpload only works when it is visible when [...]]]></description>
			<content:encoded><![CDATA[<p>You may have experienced the problem with FileUpload control in an UpdatePanel – when you hit the submit button, Request.Files.Count always returns 0, even though you had registered the submit button as a PostBackControl and a PostBackTrigger of the UpdatePanel containing the FileUpload control.</p>
<p>In my case, the FileUpload only works when it is visible when the page is first time loaded (not a postback).  It will not work (Request.Files.Count returns 0) when it is hidden originally and then made visible during later AsyncPostBacks.  Maybe ASP.NET is confused, because I am also changing the submit button’s postback type between full postback and aysnc postback.  The submit button is used by other things, and I only want it to fire a full post back when files need to be uploaded, and in all other cases, I want it to fire async postback and only do partial update on my page.</p>
<p>I spent many hours trying many different solutions I saw on the internet, but none of them worked for me.  However, I found an important hint which led me to the final working solution.  That is the Enctype attribute of the Form.  I learned that the Form.Enctype has to be “multipart/form-data” when files need to be uploaded.  I think this is set automatically for you in normal cases, but it isn’t set up correctly in my case.  So, I manually set it to “multipart/form-data” in OnInit of my user control, and it solves the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pearltechnology.com/fileupload-control-not-working-in-updatepanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery notifications using jGrowl</title>
		<link>http://blog.pearltechnology.com/jquery-notifications-using-jgrowl/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://blog.pearltechnology.com/jquery-notifications-using-jgrowl/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 14:23:45 +0000</pubDate>
		<dc:creator>AaronH</dc:creator>
				<category><![CDATA[Application Development]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[RIA]]></category>

		<guid isPermaLink="false">http://blog.pearltechnology.com/?p=40</guid>
		<description><![CDATA[When creating rich internet applications (RIA), having good communication back to the end user is critical. jGrowl is an excellent tool to provide instant notifications messages to the client using the jQuery framework. jGrowl is simple to use and easy to configure. Here is a quick introduction on how to get started with it. This [...]]]></description>
			<content:encoded><![CDATA[<p><span>When creating rich <span>internet</span> applications (RIA), having good communication back to the end user is critical. </span><a title="jGrowl" href="http://stanlemon.net/projects/jgrowl.html" target="_blank"><span><span>jGrowl</span></span></a> is an excellent tool to provide instant notifications messages to the client using the <a title="jQuery" href="http://jquery.com/" target="_blank"><span><span>jQuery</span></span></a><span> framework. <span>jGrowl</span> is simple to use and easy to configure. Here is a quick introduction on how to get started with it. This article assumes you are already using the jQuery framework in your existing site.</span></p>
<p>First, you need to download the jGrowl extension from <a href="http://plugins.jquery.com/project/jgrowl">here</a>. After including the JavaScript reference to your source, you can begin creating messages by adding the following JavaScript to your page.</p>
<pre name="code" class="jscript">$.jGrowl("Customer order successfully submitted!");</pre>
<p>jGrowl notifications can be sticky (<em>i.e. you must close them</em>) and they can also accumulate if you want to post several notifications at once. Here&#8217;s a quick glimpse of how these notifications can appear with some enhanced styling applied.<br />
<center><br />
<div id="attachment_105" class="wp-caption aligncenter" style="width: 270px"><img class="size-full wp-image-105 " title="Sample jGrowl Notification" src="http://blog.pearltechnology.com/wp-content/uploads/2009/08/jGrowl.PNG" alt="jGrowl Sample Notification" width="260" height="317" /><p class="wp-caption-text">jGrowl Sample Notification</p></div><br />
</center><br />
The first notice above is using HTML to render the message, while the second notice is using purely text to notify the user of an action or interaction with the page. Happy growling!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pearltechnology.com/jquery-notifications-using-jgrowl/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
