<?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: Using the jTemplate jquery plugin with ajax and ASP.NET</title>
	<atom:link href="http://www.joe-stevens.com/2010/01/05/using-the-jtemplate-jquery-plugin-with-ajax-and-asp-net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joe-stevens.com/2010/01/05/using-the-jtemplate-jquery-plugin-with-ajax-and-asp-net/</link>
	<description>Everything .NET and C#</description>
	<lastBuildDate>Fri, 23 Jul 2010 09:58:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bruce</title>
		<link>http://www.joe-stevens.com/2010/01/05/using-the-jtemplate-jquery-plugin-with-ajax-and-asp-net/comment-page-1/#comment-1798</link>
		<dc:creator>Bruce</dc:creator>
		<pubDate>Wed, 19 May 2010 13:04:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=367#comment-1798</guid>
		<description>Thanks for the clear and detailed explanation!</description>
		<content:encoded><![CDATA[<p>Thanks for the clear and detailed explanation!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amy</title>
		<link>http://www.joe-stevens.com/2010/01/05/using-the-jtemplate-jquery-plugin-with-ajax-and-asp-net/comment-page-1/#comment-1658</link>
		<dc:creator>Amy</dc:creator>
		<pubDate>Fri, 23 Apr 2010 05:29:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=367#comment-1658</guid>
		<description>Thanks for the clear and detailed explanation!</description>
		<content:encoded><![CDATA[<p>Thanks for the clear and detailed explanation!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.joe-stevens.com/2010/01/05/using-the-jtemplate-jquery-plugin-with-ajax-and-asp-net/comment-page-1/#comment-1154</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Thu, 25 Feb 2010 02:27:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=367#comment-1154</guid>
		<description>Hi Jonathan

Do you have an example of what you&#039;re trying to achieve?

From my example above I could extend the object created in the web service to have a list of skills for each customer. I could then do the following to iterate through each customer and their skills:

[html]
&lt;ul&gt;
    {#foreach $T as Customer}
        &lt;li&gt;
            { $T.Customer.Forename } { $T.Customer.Surname }
            
            &lt;ul&gt;
                {#foreach $T.Customer.Skills as Skill}
                    &lt;li&gt; { $T.Skill.Name } ({ $T.Customer.Location }) &lt;/li&gt;
                {#/for}
            &lt;/ul&gt;
        &lt;/li&gt;
    {#/for}
&lt;/ul&gt;

[/html]

In the inner for loop I an using the current iteration of the outer for loop to display the location with each skill (doesn&#039;t really make sense to do this but just as an example).

Is this what you mean?

Joe</description>
		<content:encoded><![CDATA[<p>Hi Jonathan</p>
<p>Do you have an example of what you&#8217;re trying to achieve?</p>
<p>From my example above I could extend the object created in the web service to have a list of skills for each customer. I could then do the following to iterate through each customer and their skills:</p>
<pre class="brush: xml;">
&lt;ul&gt;
    {#foreach $T as Customer}
        &lt;li&gt;
            { $T.Customer.Forename } { $T.Customer.Surname }

            &lt;ul&gt;
                {#foreach $T.Customer.Skills as Skill}
                    &lt;li&gt; { $T.Skill.Name } ({ $T.Customer.Location }) &lt;/li&gt;
                {#/for}
            &lt;/ul&gt;
        &lt;/li&gt;
    {#/for}
&lt;/ul&gt;
</pre>
<p>In the inner for loop I an using the current iteration of the outer for loop to display the location with each skill (doesn&#8217;t really make sense to do this but just as an example).</p>
<p>Is this what you mean?</p>
<p>Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://www.joe-stevens.com/2010/01/05/using-the-jtemplate-jquery-plugin-with-ajax-and-asp-net/comment-page-1/#comment-1148</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Wed, 24 Feb 2010 10:10:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=367#comment-1148</guid>
		<description>Hi Joe

Not sure if you could help but I figure why not ask and see what happens.

I&#039;ve used the templates for a while. I currently have a for loop within a for loop.

I&#039;m trying to access a value from the outer for loop within the inner for loop. Don&#039;t suppose you know how to do this?

Thanks
Jon</description>
		<content:encoded><![CDATA[<p>Hi Joe</p>
<p>Not sure if you could help but I figure why not ask and see what happens.</p>
<p>I&#8217;ve used the templates for a while. I currently have a for loop within a for loop.</p>
<p>I&#8217;m trying to access a value from the outer for loop within the inner for loop. Don&#8217;t suppose you know how to do this?</p>
<p>Thanks<br />
Jon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.joe-stevens.com/2010/01/05/using-the-jtemplate-jquery-plugin-with-ajax-and-asp-net/comment-page-1/#comment-1135</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Mon, 22 Feb 2010 22:47:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=367#comment-1135</guid>
		<description>Hi David

Glad you found it useful, it&#039;s pretty cool.

I also did a post where I did inline table editing using jTemplates. It&#039;s not the greatest as it does an ajax update for every field changed but it shows how easy it can be.

Only been here in Sydney for 12 months myself but can&#039;t see myself heading back to the UK any time soon.

Joe</description>
		<content:encoded><![CDATA[<p>Hi David</p>
<p>Glad you found it useful, it&#8217;s pretty cool.</p>
<p>I also did a post where I did inline table editing using jTemplates. It&#8217;s not the greatest as it does an ajax update for every field changed but it shows how easy it can be.</p>
<p>Only been here in Sydney for 12 months myself but can&#8217;t see myself heading back to the UK any time soon.</p>
<p>Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Sheardown</title>
		<link>http://www.joe-stevens.com/2010/01/05/using-the-jtemplate-jquery-plugin-with-ajax-and-asp-net/comment-page-1/#comment-1123</link>
		<dc:creator>David Sheardown</dc:creator>
		<pubDate>Sun, 21 Feb 2010 08:28:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=367#comment-1123</guid>
		<description>Hi there... well I too am a native of old Blighty.. up Lincoln way, although been here in Oz for 12 years.. 

Thanks for this! I was really trying to find an easy way to present data that is looped... ie.. foreach.  I have a mechanism already that auto-maps database fields direct to HTML elements (i.e. single values), but again I needed something easy to present repeating items.

Thanks very much.. for once a clear easy to follow example... that actually explains the whole process!</description>
		<content:encoded><![CDATA[<p>Hi there&#8230; well I too am a native of old Blighty.. up Lincoln way, although been here in Oz for 12 years.. </p>
<p>Thanks for this! I was really trying to find an easy way to present data that is looped&#8230; ie.. foreach.  I have a mechanism already that auto-maps database fields direct to HTML elements (i.e. single values), but again I needed something easy to present repeating items.</p>
<p>Thanks very much.. for once a clear easy to follow example&#8230; that actually explains the whole process!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.joe-stevens.com/2010/01/05/using-the-jtemplate-jquery-plugin-with-ajax-and-asp-net/comment-page-1/#comment-1066</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Tue, 16 Feb 2010 05:44:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=367#comment-1066</guid>
		<description>Hi Sean

Glad you found it useful

Joe</description>
		<content:encoded><![CDATA[<p>Hi Sean</p>
<p>Glad you found it useful</p>
<p>Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://www.joe-stevens.com/2010/01/05/using-the-jtemplate-jquery-plugin-with-ajax-and-asp-net/comment-page-1/#comment-1065</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Mon, 15 Feb 2010 22:40:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=367#comment-1065</guid>
		<description>Thanks for the clear and detailed explanation!</description>
		<content:encoded><![CDATA[<p>Thanks for the clear and detailed explanation!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
