<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.encosia.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for Encosia</title>
	
	<link>http://encosia.com</link>
	<description>ASP.NET and AJAX code, ideas, and examples.</description>
	<lastBuildDate>Thu, 02 Feb 2012 19:50:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.encosia.com/EncosiaComments" /><feedburner:info uri="encosiacomments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>EncosiaComments</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Comment on Cripple the Google CDN’s caching with a single character by James Timmons</title>
		<link>http://feeds.encosia.com/~r/EncosiaComments/~3/AkoRNptauhU/</link>
		<dc:creator>James Timmons</dc:creator>
		<pubDate>Thu, 02 Feb 2012 19:50:46 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=1078#comment-62806</guid>
		<description>Nice post! Like others I'd never seen that URL format before.

I'm just nervous about 3rd party hosting I guess, particularly with scripts. If they change the script to something malicious, or get hacked by someone else who does, your site is also then wide open for attack.

Also if they changed the caching policy they could get all those lovely referrers and google.com cookies. Not that I'm paranoid! *8-}</description>
		<content:encoded><![CDATA[<p>Nice post! Like others I&#8217;d never seen that URL format before.</p>
<p>I&#8217;m just nervous about 3rd party hosting I guess, particularly with scripts. If they change the script to something malicious, or get hacked by someone else who does, your site is also then wide open for attack.</p>
<p>Also if they changed the caching policy they could get all those lovely referrers and google.com cookies. Not that I&#8217;m paranoid! *8-}</p>
<img src="http://feeds.feedburner.com/~r/EncosiaComments/~4/AkoRNptauhU" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://encosia.com/cripple-the-google-cdns-caching-with-a-single-character/#comment-62806</feedburner:origLink></item>
	<item>
		<title>Comment on Disable a button control during postback. by Ankur</title>
		<link>http://feeds.encosia.com/~r/EncosiaComments/~3/iOa5bxYNzEU/</link>
		<dc:creator>Ankur</dc:creator>
		<pubDate>Thu, 02 Feb 2012 10:09:08 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/04/17/disable-a-button-control-during-postback/#comment-62804</guid>
		<description>Thank you for the post, but I have a question.
What if we need to do a client side validation using javascript before disabling and posting back the page. 
I read the comment section where people talk about similar scenario. But what I am asking is different. I cannot have validators but need to write a javascript function which does a initial client side validation. So, say if one of the text box in my form has value greater than certain amount, disable the button and do a post back, else show an error message and not post back?</description>
		<content:encoded><![CDATA[<p>Thank you for the post, but I have a question.<br />
What if we need to do a client side validation using javascript before disabling and posting back the page.<br />
I read the comment section where people talk about similar scenario. But what I am asking is different. I cannot have validators but need to write a javascript function which does a initial client side validation. So, say if one of the text box in my form has value greater than certain amount, disable the button and do a post back, else show an error message and not post back?</p>
<img src="http://feeds.feedburner.com/~r/EncosiaComments/~4/iOa5bxYNzEU" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://encosia.com/disable-a-button-control-during-postback/#comment-62804</feedburner:origLink></item>
	<item>
		<title>Comment on $(document).ready() and pageLoad() are not the same! by pinkPanther</title>
		<link>http://feeds.encosia.com/~r/EncosiaComments/~3/4hElKmMsB6Q/</link>
		<dc:creator>pinkPanther</dc:creator>
		<pubDate>Thu, 02 Feb 2012 06:58:08 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=842#comment-62801</guid>
		<description>Hi newbie in jquery/ajax here.  I cant figure out how to solve this problem.  The problem i have is, when btnSubmit is clicked, everything is working fine.  But when i click btnClear, jquery stops working.  This is a simplied version, the actual code has a gridview instead of lblMessage.  Also in actual code btnClear is in each row in the gridview.  Any pointer will be greatly appreciated:

&lt;pre lang="html"&gt;
&lt;head runat="server"&gt;
    &lt;title&gt;&lt;/title&gt;
    &lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript"&gt;
        

        function pageLoad() {
            $('#lnkToggle').click(function () {
                $('#div1').toggle();
            }); 
        }


    &lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;form id="form1" runat="server"&gt;
    &lt;div&gt;
        &lt;a href="#" id=lnkToggle onclick="return false;"&gt;Toggle&lt;/a&gt;
        &lt;asp:ScriptManager ID="ScriptManager1" runat="server" /&gt;
        &lt;asp:UpdatePanel runat="server" id="UpdatePanel1" updatemode="Conditional"&gt;
            &lt;Triggers&gt;
                &lt;asp:PostBackTrigger controlid="btnSubmit" /&gt;
            &lt;/Triggers&gt;
            &lt;ContentTemplate&gt;

                &lt;div id="div1"&gt;
                    Name: &lt;asp:TextBox ID=txtName runat=server /&gt;
                    &lt;br /&gt;
                    Age: &lt;asp:TextBox ID=txtAge runat=server /&gt;
                    &lt;asp:Button ID=btnSubmit OnClick="btnSubmit_Click" Text=Submit runat=server /&gt;
                &lt;/div&gt;
                &lt;div id=div2&gt;
                    &lt;br /&gt;
                    &lt;hr /&gt;
                    Result:
                    &lt;asp:Label ID=lblMessage runat=server /&gt;
                    &lt;asp:Button ID=btnClear runat=server OnClick="btnClear_Click" Text=Clear /&gt;
                &lt;/div&gt;
            &lt;/ContentTemplate&gt;
        &lt;/asp:UpdatePanel&gt;
    &lt;/div&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Hi newbie in jquery/ajax here.  I cant figure out how to solve this problem.  The problem i have is, when btnSubmit is clicked, everything is working fine.  But when i click btnClear, jquery stops working.  This is a simplied version, the actual code has a gridview instead of lblMessage.  Also in actual code btnClear is in each row in the gridview.  Any pointer will be greatly appreciated:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;head</span> runat<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;server&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
    <span style="color: #009900;">&lt;title&gt;&lt;<span style="color: #66cc66;">/</span>title&gt;</span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span>script&gt;</span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
&nbsp;
&nbsp;
        function pageLoad() {
            $('#lnkToggle').click(function () {
                $('#div1').toggle();
            }); 
        }
&nbsp;
&nbsp;
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/script&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/head&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;body&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;form</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;form1&quot;</span> runat<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;server&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span>lnkToggle <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;return false;&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Toggle<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span>
        <span style="color: #009900;">&lt;asp:ScriptManager <span style="color: #000066;">ID</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ScriptManager1&quot;</span> runat<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;server&quot;</span> <span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        <span style="color: #009900;">&lt;asp:UpdatePanel runat<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;server&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;UpdatePanel1&quot;</span> updatemode<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Conditional&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
            <span style="color: #009900;">&lt;Triggers&gt;</span>
                <span style="color: #009900;">&lt;asp:PostBackTrigger controlid<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;btnSubmit&quot;</span> <span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span><span style="color: #66cc66;">/</span>Triggers&gt;</span>
            <span style="color: #009900;">&lt;ContentTemplate&gt;</span>
&nbsp;
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;div1&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
                    Name: <span style="color: #009900;">&lt;asp:TextBox <span style="color: #000066;">ID</span><span style="color: #66cc66;">=</span>txtName runat<span style="color: #66cc66;">=</span>server <span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
                    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
                    Age: <span style="color: #009900;">&lt;asp:TextBox <span style="color: #000066;">ID</span><span style="color: #66cc66;">=</span>txtAge runat<span style="color: #66cc66;">=</span>server <span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
                    <span style="color: #009900;">&lt;asp:Button <span style="color: #000066;">ID</span><span style="color: #66cc66;">=</span>btnSubmit <span style="color: #000066;">OnClick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;btnSubmit_Click&quot;</span> <span style="color: #000066;">Text</span><span style="color: #66cc66;">=</span>Submit runat<span style="color: #66cc66;">=</span>server <span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span>div2&gt;</span>
                    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
                    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;hr</span> <span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
                    Result:
                    <span style="color: #009900;">&lt;asp:<span style="color: #000066;">Label</span> <span style="color: #000066;">ID</span><span style="color: #66cc66;">=</span>lblMessage runat<span style="color: #66cc66;">=</span>server <span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
                    <span style="color: #009900;">&lt;asp:Button <span style="color: #000066;">ID</span><span style="color: #66cc66;">=</span>btnClear runat<span style="color: #66cc66;">=</span>server <span style="color: #000066;">OnClick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;btnClear_Click&quot;</span> <span style="color: #000066;">Text</span><span style="color: #66cc66;">=</span><span style="color: #000066;">Clear</span> <span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span><span style="color: #66cc66;">/</span>ContentTemplate&gt;</span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span><span style="color: #66cc66;">/</span>asp:UpdatePanel&gt;</span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/form&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/body&gt;</span></span></pre></div></div>

<img src="http://feeds.feedburner.com/~r/EncosiaComments/~4/4hElKmMsB6Q" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://encosia.com/document-ready-and-pageload-are-not-the-same/#comment-62801</feedburner:origLink></item>
	<item>
		<title>Comment on Why do ASP.NET AJAX page methods have to be static? by pinkPanther</title>
		<link>http://feeds.encosia.com/~r/EncosiaComments/~3/u_dqkjWPyW8/</link>
		<dc:creator>pinkPanther</dc:creator>
		<pubDate>Thu, 02 Feb 2012 03:06:07 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=72#comment-62800</guid>
		<description>interesting!!  THanks Dave, for this blog and the replies!!</description>
		<content:encoded><![CDATA[<p>interesting!!  THanks Dave, for this blog and the replies!!</p>
<img src="http://feeds.feedburner.com/~r/EncosiaComments/~4/u_dqkjWPyW8" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://encosia.com/why-do-aspnet-ajax-page-methods-have-to-be-static/#comment-62800</feedburner:origLink></item>
	<item>
		<title>Comment on Why do ASP.NET AJAX page methods have to be static? by Dave Ward</title>
		<link>http://feeds.encosia.com/~r/EncosiaComments/~3/khwE6wZSgTE/</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Thu, 02 Feb 2012 02:24:57 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=72#comment-62799</guid>
		<description>Yes, &lt;a href="http://encosia.com/asp-net-page-methods-are-only-as-secure-as-you-make-them/" target="_blank" rel="nofollow"&gt;you can call a page method from anywhere&lt;/a&gt;. For all intents and purposes, they're the same as ASMX ScriptServices with EnableSession defaulted to true.</description>
		<content:encoded><![CDATA[<p>Yes, <a href="http://encosia.com/asp-net-page-methods-are-only-as-secure-as-you-make-them/" target="_blank" rel="nofollow">you can call a page method from anywhere</a>. For all intents and purposes, they&#8217;re the same as ASMX ScriptServices with EnableSession defaulted to true.</p>
<img src="http://feeds.feedburner.com/~r/EncosiaComments/~4/khwE6wZSgTE" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://encosia.com/why-do-aspnet-ajax-page-methods-have-to-be-static/#comment-62799</feedburner:origLink></item>
	<item>
		<title>Comment on Why do ASP.NET AJAX page methods have to be static? by pinkPanther</title>
		<link>http://feeds.encosia.com/~r/EncosiaComments/~3/KtMf4Q0fphY/</link>
		<dc:creator>pinkPanther</dc:creator>
		<pubDate>Wed, 01 Feb 2012 20:19:24 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=72#comment-62796</guid>
		<description>so i understand page method within a user control doesnt work.... so will it work if the page method is declared on a page hosting the user control?  i know thats silly, but just curious.  

oh wait, must the page method the javascript in the user control calls reside on a page that is hosting the user control?   so say i have test1.ascx hosted in test1.aspx.  can i in test1.ascx call test2.aspx.pageMethodName?</description>
		<content:encoded><![CDATA[<p>so i understand page method within a user control doesnt work&#8230;. so will it work if the page method is declared on a page hosting the user control?  i know thats silly, but just curious.  </p>
<p>oh wait, must the page method the javascript in the user control calls reside on a page that is hosting the user control?   so say i have test1.ascx hosted in test1.aspx.  can i in test1.ascx call test2.aspx.pageMethodName?</p>
<img src="http://feeds.feedburner.com/~r/EncosiaComments/~4/KtMf4Q0fphY" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://encosia.com/why-do-aspnet-ajax-page-methods-have-to-be-static/#comment-62796</feedburner:origLink></item>
	<item>
		<title>Comment on Display data updates in real-time with AJAX by Bruno</title>
		<link>http://feeds.encosia.com/~r/EncosiaComments/~3/n2pYYdRT9iU/</link>
		<dc:creator>Bruno</dc:creator>
		<pubDate>Wed, 01 Feb 2012 01:03:56 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/25/display-data-updates-in-real-time-with-ajax/#comment-62789</guid>
		<description>Hi Dave,

thanks for the article, it helped me a lot.

Just one note, your example won't work properly because you set the updatepanel id to "up1" and then call the postback as "__doPostBack('UpdatePanel1', '');"

This way it will cause a full postback, the postback line must be:

__doPostBack('up1', '');

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Dave,</p>
<p>thanks for the article, it helped me a lot.</p>
<p>Just one note, your example won&#8217;t work properly because you set the updatepanel id to &#8220;up1&#8243; and then call the postback as &#8220;__doPostBack(&#8216;UpdatePanel1&#8242;, &#8221;);&#8221;</p>
<p>This way it will cause a full postback, the postback line must be:</p>
<p>__doPostBack(&#8216;up1&#8242;, &#8221;);</p>
<p>Thanks</p>
<img src="http://feeds.feedburner.com/~r/EncosiaComments/~4/n2pYYdRT9iU" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://encosia.com/display-data-updates-in-real-time-with-ajax/#comment-62789</feedburner:origLink></item>
	<item>
		<title>Comment on Using jQuery to Consume ASP.NET JSON Web Services by Umair Aslam Bhatti</title>
		<link>http://feeds.encosia.com/~r/EncosiaComments/~3/WES-qIrlOD8/</link>
		<dc:creator>Umair Aslam Bhatti</dc:creator>
		<pubDate>Mon, 30 Jan 2012 04:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-62774</guid>
		<description>Hey , nice post i have ever read about web service callback using jquery json , Great work , But I am amazed to view that there are so many methods for calling webservice methods.
But any ways that is awesom post. 
Cheers man !</description>
		<content:encoded><![CDATA[<p>Hey , nice post i have ever read about web service callback using jquery json , Great work , But I am amazed to view that there are so many methods for calling webservice methods.<br />
But any ways that is awesom post.<br />
Cheers man !</p>
<img src="http://feeds.feedburner.com/~r/EncosiaComments/~4/WES-qIrlOD8" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://encosia.com/using-jquery-to-consume-aspnet-json-web-services/#comment-62774</feedburner:origLink></item>
	<item>
		<title>Comment on The ASUS Zenbook UX31: Initial impressions by ASUS Zenbook UX31 - First Look - Jon Galloway</title>
		<link>http://feeds.encosia.com/~r/EncosiaComments/~3/TWTX_uUElXI/</link>
		<dc:creator>ASUS Zenbook UX31 - First Look - Jon Galloway</dc:creator>
		<pubDate>Sat, 28 Jan 2012 13:59:41 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=1261#comment-62760</guid>
		<description>[...] Dave Ward's The ASUS Zenbook UX31: Initial impressions [...]</description>
		<content:encoded><![CDATA[<p>[...] Dave Ward&#039;s The ASUS Zenbook UX31: Initial impressions [...]</p>
<img src="http://feeds.feedburner.com/~r/EncosiaComments/~4/TWTX_uUElXI" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://encosia.com/the-asus-zenbook-ux31-initial-impressions/#comment-62760</feedburner:origLink></item>
	<item>
		<title>Comment on Display data updates in real-time with AJAX by Dany</title>
		<link>http://feeds.encosia.com/~r/EncosiaComments/~3/LicahT6tpgg/</link>
		<dc:creator>Dany</dc:creator>
		<pubDate>Sat, 28 Jan 2012 09:54:20 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/25/display-data-updates-in-real-time-with-ajax/#comment-62755</guid>
		<description>I tried to implement using the above code, everything is working fine. But, the page is refreshed each time a new article is added or the grid has to be updated. Help please.</description>
		<content:encoded><![CDATA[<p>I tried to implement using the above code, everything is working fine. But, the page is refreshed each time a new article is added or the grid has to be updated. Help please.</p>
<img src="http://feeds.feedburner.com/~r/EncosiaComments/~4/LicahT6tpgg" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://encosia.com/display-data-updates-in-real-time-with-ajax/#comment-62755</feedburner:origLink></item>
	<item>
		<title>Comment on Using jQuery to Consume ASP.NET JSON Web Services by Dave Ward</title>
		<link>http://feeds.encosia.com/~r/EncosiaComments/~3/6gslBnjKfcM/</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Sat, 28 Jan 2012 03:35:58 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-62752</guid>
		<description>That's a big question. People have been discussing "large JavaScript" development for several years now, and there's not a lot of consensus or "right" approaches.

In my projects, using the revealing module pattern and breaking my JavaScript into many files (e.g. project.data.js, project.ui.js, project.ui.slider.js) are two of the most useful tools in keeping the projects manageable.

There are MVC frameworks for JavaScript. Backbone is a popular one. However, that's not necessarily something you need to graft into your project if you're still using many ASP.NET pages and a traditional navigation model. Client-side MVC is more targeted to single page applications (e.g. GMail, most of Facebook, new Twitter).</description>
		<content:encoded><![CDATA[<p>That&#8217;s a big question. People have been discussing &#8220;large JavaScript&#8221; development for several years now, and there&#8217;s not a lot of consensus or &#8220;right&#8221; approaches.</p>
<p>In my projects, using the revealing module pattern and breaking my JavaScript into many files (e.g. project.data.js, project.ui.js, project.ui.slider.js) are two of the most useful tools in keeping the projects manageable.</p>
<p>There are MVC frameworks for JavaScript. Backbone is a popular one. However, that&#8217;s not necessarily something you need to graft into your project if you&#8217;re still using many ASP.NET pages and a traditional navigation model. Client-side MVC is more targeted to single page applications (e.g. GMail, most of Facebook, new Twitter).</p>
<img src="http://feeds.feedburner.com/~r/EncosiaComments/~4/6gslBnjKfcM" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://encosia.com/using-jquery-to-consume-aspnet-json-web-services/#comment-62752</feedburner:origLink></item>
	<item>
		<title>Comment on 3 reasons why you should let Google host jQuery for you by Dave Ward</title>
		<link>http://feeds.encosia.com/~r/EncosiaComments/~3/YS9WGSlu3Ss/</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Sat, 28 Jan 2012 03:23:35 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=740#comment-62747</guid>
		<description>You shouldn't do that in production. In order to reliably serve up the latest version for /1 or /1.n, the CDN responds with &lt;em&gt;very&lt;/em&gt; short caching expiration headers. So, you lose almost all of the caching benefit. At that point, serving jQuery from your own site with proper caching headers would actually be faster for returning visitors.</description>
		<content:encoded><![CDATA[<p>You shouldn&#8217;t do that in production. In order to reliably serve up the latest version for /1 or /1.n, the CDN responds with <em>very</em> short caching expiration headers. So, you lose almost all of the caching benefit. At that point, serving jQuery from your own site with proper caching headers would actually be faster for returning visitors.</p>
<img src="http://feeds.feedburner.com/~r/EncosiaComments/~4/YS9WGSlu3Ss" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://encosia.com/3-reasons-why-you-should-let-google-host-jquery-for-you/#comment-62747</feedburner:origLink></item>
	<item>
		<title>Comment on Using jQuery to Consume ASP.NET JSON Web Services by Sathish Kumara</title>
		<link>http://feeds.encosia.com/~r/EncosiaComments/~3/_PXfqQTT6jw/</link>
		<dc:creator>Sathish Kumara</dc:creator>
		<pubDate>Fri, 27 Jan 2012 07:34:05 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-62664</guid>
		<description>Hi Dave,
1. Is there is any specific architecture/ design pattern available for jquery used in asp.net?
2. If yes, can I implement the MVC architecture in your code?  Can you please show me how to implement this in your code.

The reason behind this is, I' am having many asp.net pages where hell lots of below codes are implemented in a single file itself. How to customise this??

$.ajax({
                url: ..
                contentType: "application/json; charset=utf-8",
                data: {...},
                dataType: "json",
                responseType: "json",
                cache: false, ............

Thanks in advance,
Sathish Kumar A</description>
		<content:encoded><![CDATA[<p>Hi Dave,<br />
1. Is there is any specific architecture/ design pattern available for jquery used in asp.net?<br />
2. If yes, can I implement the MVC architecture in your code?  Can you please show me how to implement this in your code.</p>
<p>The reason behind this is, I&#8217; am having many asp.net pages where hell lots of below codes are implemented in a single file itself. How to customise this??</p>
<p>$.ajax({<br />
                url: ..<br />
                contentType: &#8220;application/json; charset=utf-8&#8243;,<br />
                data: {&#8230;},<br />
                dataType: &#8220;json&#8221;,<br />
                responseType: &#8220;json&#8221;,<br />
                cache: false, &#8230;&#8230;&#8230;&#8230;</p>
<p>Thanks in advance,<br />
Sathish Kumar A</p>
<img src="http://feeds.feedburner.com/~r/EncosiaComments/~4/_PXfqQTT6jw" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://encosia.com/using-jquery-to-consume-aspnet-json-web-services/#comment-62664</feedburner:origLink></item>
	<item>
		<title>Comment on 3 reasons why you should let Google host jQuery for you by Paolo Brocco</title>
		<link>http://feeds.encosia.com/~r/EncosiaComments/~3/bEKIKwgbBYU/</link>
		<dc:creator>Paolo Brocco</dc:creator>
		<pubDate>Thu, 26 Jan 2012 15:10:24 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=740#comment-62597</guid>
		<description>Hi, I don't know if somebody mentioned it, but ideally all website would link to jquery (hosted on google ajax libraries) without specifying an exact version. Because if a website links to jquery 1.6.0, the other to 1.6.1, the other to 1.6.4 then it will be the same as linking to your server one.

So e.g. instead of linking to ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js 
we should all link to ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js... see the difference? Asap jquery is updated everybody is pointing already to the last version and the caching is there and no need to update your website.

Disadvantage: if jquery breaks something you have to correct your scripts or link to an older version. But I would risk that, after all if something stops working then you just link to the older version and voila: fixed.</description>
		<content:encoded><![CDATA[<p>Hi, I don&#8217;t know if somebody mentioned it, but ideally all website would link to jquery (hosted on google ajax libraries) without specifying an exact version. Because if a website links to jquery 1.6.0, the other to 1.6.1, the other to 1.6.4 then it will be the same as linking to your server one.</p>
<p>So e.g. instead of linking to ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js<br />
we should all link to ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js&#8230; see the difference? Asap jquery is updated everybody is pointing already to the last version and the caching is there and no need to update your website.</p>
<p>Disadvantage: if jquery breaks something you have to correct your scripts or link to an older version. But I would risk that, after all if something stops working then you just link to the older version and voila: fixed.</p>
<img src="http://feeds.feedburner.com/~r/EncosiaComments/~4/bEKIKwgbBYU" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://encosia.com/3-reasons-why-you-should-let-google-host-jquery-for-you/#comment-62597</feedburner:origLink></item>
	<item>
		<title>Comment on The ASUS Zenbook UX31: Initial impressions by Dustin</title>
		<link>http://feeds.encosia.com/~r/EncosiaComments/~3/RVWArbCIJrY/</link>
		<dc:creator>Dustin</dc:creator>
		<pubDate>Thu, 26 Jan 2012 14:07:58 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=1261#comment-62591</guid>
		<description>This is exciting, I know exactly what you mean where you feel you have to choose between great hardware or the OS you prefer with today's laptops.  I've never owned a Macbook, but I'm so impressed with their hardware and multi-touch track pad that I had decided to move to Mac for my next purchase.

My preference would be to stay on Windows, and maybe if more machines like this are produced they'd be able to keep me.

The keyboard issues are a little troubling, for me that's one of the most important parts to get "right", but like you said one can probably adjust.  Great pictures, by the way.</description>
		<content:encoded><![CDATA[<p>This is exciting, I know exactly what you mean where you feel you have to choose between great hardware or the OS you prefer with today&#8217;s laptops.  I&#8217;ve never owned a Macbook, but I&#8217;m so impressed with their hardware and multi-touch track pad that I had decided to move to Mac for my next purchase.</p>
<p>My preference would be to stay on Windows, and maybe if more machines like this are produced they&#8217;d be able to keep me.</p>
<p>The keyboard issues are a little troubling, for me that&#8217;s one of the most important parts to get &#8220;right&#8221;, but like you said one can probably adjust.  Great pictures, by the way.</p>
<img src="http://feeds.feedburner.com/~r/EncosiaComments/~4/RVWArbCIJrY" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://encosia.com/the-asus-zenbook-ux31-initial-impressions/#comment-62591</feedburner:origLink></item>
</channel>
</rss><!-- Dynamic page generated in 0.463 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-02-03 19:28:50 -->

