<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	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/"
		>
<channel>
	<title>Comments on: Use jQuery and ASP.NET AJAX to build a client side Repeater</title>
	<atom:link href="http://encosia.com/use-jquery-and-aspnet-ajax-to-build-a-client-side-repeater/feed/" rel="self" type="application/rss+xml" />
	<link>http://encosia.com/use-jquery-and-aspnet-ajax-to-build-a-client-side-repeater/</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" />
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/use-jquery-and-aspnet-ajax-to-build-a-client-side-repeater/#comment-62437</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Tue, 24 Jan 2012 22:25:27 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=79#comment-62437</guid>
		<description>Using a table isn&#039;t necessary. I only used one here because the end result I wanted was a table. You could definitely use a template to render the &lt;code&gt;&lt;div&gt;&lt;/code&gt; and &lt;code&gt;&lt;ul&gt;&lt;/code&gt; structure you&#039;re currently using.</description>
		<content:encoded><![CDATA[<p>Using a table isn&#8217;t necessary. I only used one here because the end result I wanted was a table. You could definitely use a template to render the <code>&lt;div></code> and <code>&lt;ul></code> structure you&#8217;re currently using.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pat</title>
		<link>http://encosia.com/use-jquery-and-aspnet-ajax-to-build-a-client-side-repeater/#comment-62431</link>
		<dc:creator>Pat</dc:creator>
		<pubDate>Tue, 24 Jan 2012 17:13:12 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=79#comment-62431</guid>
		<description>Forgive me if I dont get it but it seems to me using a table is the desired means to create a template. I have an excisting template where a table is not being used. I will want to keep what I have for layout reasons is this going to possible.

&lt;pre lang=&quot;  
   &lt;div class=&quot;repFocus float_left &quot;&gt;
      &lt;div class=&quot;repImgContainer float_left&quot;&gt;
         &lt;asp:Image ID=&quot;Image1&quot; ImageUrl=&#039;&lt;%# Product.ImagePath %&gt;&#039; runat=&quot;server&quot; Height=&quot;&lt;%# Product.GetHeightByImageSize(EnumImageSize.Thumbnail, MaxImageHeight) %&gt;&quot;
            Width=&quot;&lt;%# Product.GetConstrainedWidthByImageSize(EnumImageSize.Thumbnail, MaxImageHeight) %&gt;&quot; /&gt;
      &lt;/div&gt;
      &lt;div class=&quot;repTxtContainer float_right&quot;&gt;

         &lt;ul&gt;
            &lt;li&gt;
               &lt;asp:Label ID=&quot;nameLabel&quot; CssClass=&quot;repName&quot; runat=&quot;server&quot; Text=&quot;&lt;%# Product.Name %&gt;&quot; /&gt;
            &lt;/li&gt;
            &lt;li&gt;
               &lt;asp:Label ID=&quot;Label2&quot; CssClass=&quot;replabelTxt&quot; runat=&quot;server&quot; Text=&quot;From  &quot;&gt;&lt;/asp:Label&gt;
               &lt;asp:Label ID=&quot;priceLabel&quot; CssClass=&quot;repPrice&quot; runat=&quot;server&quot; Text=&#039;&lt;%# String.Format(&quot;£{0:f2}&quot;, Product.Price) %&gt;&#039; /&gt;&lt;/li&gt;
            &lt;li&gt;
               &lt;asp:Label ID=&quot;sizeLabel&quot; CssClass=&quot;repSize&quot; runat=&quot;server&quot; Text=&quot;&lt;%# Product.Size %&gt;&quot; /&gt;
               &lt;asp:Label ID=&quot;Label1&quot; runat=&quot;server&quot; CssClass=&quot;replabelTxt&quot; Text=&quot; and Up&quot;&gt;&lt;/asp:Label&gt;&lt;/li&gt;
            
         &lt;/ul&gt;

      &lt;/div&gt;
   &lt;/div&gt;
&lt;/div&gt;
  &quot;&gt;code&lt;/pre&gt;



If I manage to get my head around to using your approach it will be great in the long run. 
Thanks!</description>
		<content:encoded><![CDATA[<p>Forgive me if I dont get it but it seems to me using a table is the desired means to create a template. I have an excisting template where a table is not being used. I will want to keep what I have for layout reasons is this going to possible.</p>
<p>&lt;pre lang=&quot;<br />
   &lt;div class=&quot;repFocus float_left &quot;&gt;<br />
      &lt;div class=&quot;repImgContainer float_left&quot;&gt;<br />
         &lt;asp:Image ID=&quot;Image1&quot; ImageUrl=&#039;&lt;%# Product.ImagePath %&gt;&#039; runat=&quot;server&quot; Height=&quot;&lt;%# Product.GetHeightByImageSize(EnumImageSize.Thumbnail, MaxImageHeight) %&gt;&quot;<br />
            Width=&quot;&lt;%# Product.GetConstrainedWidthByImageSize(EnumImageSize.Thumbnail, MaxImageHeight) %&gt;&quot; /&gt;<br />
      &lt;/div&gt;<br />
      &lt;div class=&quot;repTxtContainer float_right&quot;&gt;</p>
<p>         &lt;ul&gt;<br />
            &lt;li&gt;<br />
               &lt;asp:Label ID=&quot;nameLabel&quot; CssClass=&quot;repName&quot; runat=&quot;server&quot; Text=&quot;&lt;%# Product.Name %&gt;&quot; /&gt;<br />
            &lt;/li&gt;<br />
            &lt;li&gt;<br />
               &lt;asp:Label ID=&quot;Label2&quot; CssClass=&quot;replabelTxt&quot; runat=&quot;server&quot; Text=&quot;From  &quot;&gt;&lt;/asp:Label&gt;<br />
               &lt;asp:Label ID=&quot;priceLabel&quot; CssClass=&quot;repPrice&quot; runat=&quot;server&quot; Text=&#039;&lt;%# String.Format(&quot;£{0:f2}&quot;, Product.Price) %&gt;&#039; /&gt;&lt;/li&gt;<br />
            &lt;li&gt;<br />
               &lt;asp:Label ID=&quot;sizeLabel&quot; CssClass=&quot;repSize&quot; runat=&quot;server&quot; Text=&quot;&lt;%# Product.Size %&gt;&quot; /&gt;<br />
               &lt;asp:Label ID=&quot;Label1&quot; runat=&quot;server&quot; CssClass=&quot;replabelTxt&quot; Text=&quot; and Up&quot;&gt;&lt;/asp:Label&gt;&lt;/li&gt;</p>
<p>         &lt;/ul&gt;</p>
<p>      &lt;/div&gt;<br />
   &lt;/div&gt;<br />
&lt;/div&gt;<br />
  &quot;&gt;code</p>
<p>If I manage to get my head around to using your approach it will be great in the long run.<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Magnus</title>
		<link>http://encosia.com/use-jquery-and-aspnet-ajax-to-build-a-client-side-repeater/#comment-50101</link>
		<dc:creator>Magnus</dc:creator>
		<pubDate>Tue, 29 Nov 2011 15:48:09 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=79#comment-50101</guid>
		<description>I had a lot of problems getting the service to crack out JSON objects. I found a solution http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/</description>
		<content:encoded><![CDATA[<p>I had a lot of problems getting the service to crack out JSON objects. I found a solution <a href="http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/" rel="nofollow">http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/use-jquery-and-aspnet-ajax-to-build-a-client-side-repeater/#comment-45460</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Tue, 06 Sep 2011 00:53:53 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=79#comment-45460</guid>
		<description>Make sure the URL in your &lt;code&gt;$.ajax()&lt;/code&gt; method is a relative URL (doesn&#039;t contain the HTTP://). Absolute URLs sometimes cause jQuery 1.5+ to treat them as cross-domain requests.</description>
		<content:encoded><![CDATA[<p>Make sure the URL in your <code>$.ajax()</code> method is a relative URL (doesn&#8217;t contain the HTTP://). Absolute URLs sometimes cause jQuery 1.5+ to treat them as cross-domain requests.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Omar</title>
		<link>http://encosia.com/use-jquery-and-aspnet-ajax-to-build-a-client-side-repeater/#comment-45209</link>
		<dc:creator>Omar</dc:creator>
		<pubDate>Wed, 31 Aug 2011 20:05:48 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=79#comment-45209</guid>
		<description>Hi  everybody,

I am working with jquery and .net in scenarios similar to this example..  in my local development computer  all works fine..  but when i pusblish to the production web server the ajax doesn&#039;t work..  always get the error:  200 OK...   reading the documentation talks about of Cross domain policy...  but i dont call mathods out of domain... like this sample i call a method in my own  aspx page....   So i dont understand the problem....  

Do you know why i present this behavior?


Note: If i use cross domain calls the solcution is use jsonp or other weird things... but i dont want use this tecniques because is simple that i want to do....  :(</description>
		<content:encoded><![CDATA[<p>Hi  everybody,</p>
<p>I am working with jquery and .net in scenarios similar to this example..  in my local development computer  all works fine..  but when i pusblish to the production web server the ajax doesn&#8217;t work..  always get the error:  200 OK&#8230;   reading the documentation talks about of Cross domain policy&#8230;  but i dont call mathods out of domain&#8230; like this sample i call a method in my own  aspx page&#8230;.   So i dont understand the problem&#8230;.  </p>
<p>Do you know why i present this behavior?</p>
<p>Note: If i use cross domain calls the solcution is use jsonp or other weird things&#8230; but i dont want use this tecniques because is simple that i want to do&#8230;.  :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/use-jquery-and-aspnet-ajax-to-build-a-client-side-repeater/#comment-43567</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Wed, 08 Jun 2011 20:06:32 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=79#comment-43567</guid>
		<description>If there are no JavaScript errors in the console, the next step would be to use Firebug to set a breakpoint near where you think the problem might be.  When execution is paused there, you can take a look at what the variables actually are and make sure the values you expected are what comes back.  For example, in the code above, I&#039;d probably set a breakpoint in the &lt;code&gt;success&lt;/code&gt; handler and go from there.</description>
		<content:encoded><![CDATA[<p>If there are no JavaScript errors in the console, the next step would be to use Firebug to set a breakpoint near where you think the problem might be.  When execution is paused there, you can take a look at what the variables actually are and make sure the values you expected are what comes back.  For example, in the code above, I&#8217;d probably set a breakpoint in the <code>success</code> handler and go from there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jef</title>
		<link>http://encosia.com/use-jquery-and-aspnet-ajax-to-build-a-client-side-repeater/#comment-43561</link>
		<dc:creator>jef</dc:creator>
		<pubDate>Wed, 08 Jun 2011 15:24:17 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=79#comment-43561</guid>
		<description>Sorry this was meant for the pagination topic, your sample works great, but my modified does not</description>
		<content:encoded><![CDATA[<p>Sorry this was meant for the pagination topic, your sample works great, but my modified does not</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jef</title>
		<link>http://encosia.com/use-jquery-and-aspnet-ajax-to-build-a-client-side-repeater/#comment-43560</link>
		<dc:creator>jef</dc:creator>
		<pubDate>Wed, 08 Jun 2011 15:14:23 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=79#comment-43560</guid>
		<description>Great script, just stumbled across it

For some reason I can&#039;t get it to work on my Firefox4. It doesn&#039;t load the table, how do i backtrace to the error? no error are shown on my firebug, and it works great on my chrome</description>
		<content:encoded><![CDATA[<p>Great script, just stumbled across it</p>
<p>For some reason I can&#8217;t get it to work on my Firefox4. It doesn&#8217;t load the table, how do i backtrace to the error? no error are shown on my firebug, and it works great on my chrome</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Parvinder</title>
		<link>http://encosia.com/use-jquery-and-aspnet-ajax-to-build-a-client-side-repeater/#comment-43260</link>
		<dc:creator>Parvinder</dc:creator>
		<pubDate>Tue, 26 Apr 2011 18:51:07 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=79#comment-43260</guid>
		<description>nice article buddy</description>
		<content:encoded><![CDATA[<p>nice article buddy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: web design</title>
		<link>http://encosia.com/use-jquery-and-aspnet-ajax-to-build-a-client-side-repeater/#comment-42226</link>
		<dc:creator>web design</dc:creator>
		<pubDate>Mon, 14 Feb 2011 16:15:48 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=79#comment-42226</guid>
		<description>great post...this is what i looking for..really thanks...</description>
		<content:encoded><![CDATA[<p>great post&#8230;this is what i looking for..really thanks&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Visoft, Inc. Blogs &#124; ASP.NET 4.0 AJAX &#8211; Preview 4 &#8211; Client Templates</title>
		<link>http://encosia.com/use-jquery-and-aspnet-ajax-to-build-a-client-side-repeater/#comment-40263</link>
		<dc:creator>Visoft, Inc. Blogs &#124; ASP.NET 4.0 AJAX &#8211; Preview 4 &#8211; Client Templates</dc:creator>
		<pubDate>Mon, 01 Nov 2010 14:32:22 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=79#comment-40263</guid>
		<description>[...] for jQuery.&#160; If you aren’t familiar with jTemplates, check out Dave Ward’s article “Use jQuery and ASP.NET AJAX to build a client side Repeater.”&#160; jTemplates is really a nice plugin, but it’s a bit disconnected from the flow of the [...]</description>
		<content:encoded><![CDATA[<p>[...] for jQuery.&#160; If you aren’t familiar with jTemplates, check out Dave Ward’s article “Use jQuery and ASP.NET AJAX to build a client side Repeater.”&#160; jTemplates is really a nice plugin, but it’s a bit disconnected from the flow of the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Microsoft support for jQuery &#124; Reserved Words</title>
		<link>http://encosia.com/use-jquery-and-aspnet-ajax-to-build-a-client-side-repeater/#comment-39349</link>
		<dc:creator>Microsoft support for jQuery &#124; Reserved Words</dc:creator>
		<pubDate>Mon, 12 Jul 2010 04:05:20 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=79#comment-39349</guid>
		<description>[...] Templating as it minimises the amount of markup transmitted from server to client. Have a read of Encosia’s articles on the topic and I’m sure you’ll be converted too!   This entry was posted in asp.net and tagged asp.net, [...]</description>
		<content:encoded><![CDATA[<p>[...] Templating as it minimises the amount of markup transmitted from server to client. Have a read of Encosia’s articles on the topic and I’m sure you’ll be converted too!   This entry was posted in asp.net and tagged asp.net, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 40+ Extremely Useful Ajax Tools and Tutorials &#124; WeDuggIt</title>
		<link>http://encosia.com/use-jquery-and-aspnet-ajax-to-build-a-client-side-repeater/#comment-38895</link>
		<dc:creator>40+ Extremely Useful Ajax Tools and Tutorials &#124; WeDuggIt</dc:creator>
		<pubDate>Sat, 05 Jun 2010 04:02:52 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=79#comment-38895</guid>
		<description>[...] Client-Side Repeater using ASP, AJAX and Javascript [...]</description>
		<content:encoded><![CDATA[<p>[...] Client-Side Repeater using ASP, AJAX and Javascript [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/use-jquery-and-aspnet-ajax-to-build-a-client-side-repeater/#comment-38853</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Wed, 26 May 2010 02:58:58 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=79#comment-38853</guid>
		<description>You can achieve similar effect by embedding functions within your templates.  The jTemplates site has an example of that under &quot;Using functions&quot; on this page: http://jtemplates.tpython.com/

Another option would be to use the {#if} syntax within your template to conditionally render the anchor element (or only conditionally render its &lt;em&gt;href&lt;/em&gt; attribute, to get the &quot;disabled&quot; effect).</description>
		<content:encoded><![CDATA[<p>You can achieve similar effect by embedding functions within your templates.  The jTemplates site has an example of that under &#8220;Using functions&#8221; on this page: <a href="http://jtemplates.tpython.com/" rel="nofollow">http://jtemplates.tpython.com/</a></p>
<p>Another option would be to use the {#if} syntax within your template to conditionally render the anchor element (or only conditionally render its <em>href</em> attribute, to get the &#8220;disabled&#8221; effect).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rupesh Kumar Tiwari</title>
		<link>http://encosia.com/use-jquery-and-aspnet-ajax-to-build-a-client-side-repeater/#comment-38852</link>
		<dc:creator>Rupesh Kumar Tiwari</dc:creator>
		<pubDate>Tue, 25 May 2010 08:57:25 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=79#comment-38852</guid>
		<description>Hi Dave,
I have one question in gridview we have one event say onrowdatabound where we can manipulate our grid according to data. say i have one column named detail which conatain one link button so if count will come then only i will enable it other wise i will disable that link button. This kind of activity we do in onrowdatabound. Is there anything in jtemplate to implement onrowdatabound things?</description>
		<content:encoded><![CDATA[<p>Hi Dave,<br />
I have one question in gridview we have one event say onrowdatabound where we can manipulate our grid according to data. say i have one column named detail which conatain one link button so if count will come then only i will enable it other wise i will disable that link button. This kind of activity we do in onrowdatabound. Is there anything in jtemplate to implement onrowdatabound things?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

