<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: alternate row color with repeater in infopath form using code</title><link>https://www.infopathdev.com:443/forums/thread/70945.aspx</link><pubDate>Fri, 07 Oct 2011 11:13:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70945</guid><dc:creator>devendra</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70945.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=70945</wfw:commentRss><description>&lt;p&gt;finally it worked.&lt;/p&gt;
&lt;p&gt;but really strange i apply two conditions for frmatting&lt;/p&gt;
&lt;p&gt;1.Expression :count(preceding-sibling::my:group14) mod 2 = 1&amp;nbsp;&amp;nbsp; and i set&amp;nbsp; shading as &amp;quot;Yellow&amp;quot;--it has not worked.&lt;/p&gt;
&lt;p&gt;and the secod condition is&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2.Expression :count(preceding-sibling::my:group14) mod 2 =&amp;nbsp;0&amp;nbsp;&amp;nbsp; and i set&amp;nbsp; shading as &amp;quot;Blue&amp;quot;--it has worked.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;when i use any one of those(1 or 2)&amp;nbsp;its not working.&lt;/p&gt;
&lt;p&gt;only the combination(1 and 2)&amp;nbsp;worked. very strange,is there any specific reason for this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Devendra&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: alternate row color with repeater in infopath form using code</title><link>https://www.infopathdev.com:443/forums/thread/70860.aspx</link><pubDate>Wed, 05 Oct 2011 11:31:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70860</guid><dc:creator>devendra</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70860.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=70860</wfw:commentRss><description>&lt;p&gt;i tried&amp;nbsp; postback as Always but its not working on server side.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;can any one please provide the solution for this.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Devendra&lt;/p&gt;</description></item><item><title>Re: alternate row color with repeater in infopath form using code</title><link>https://www.infopathdev.com:443/forums/thread/70834.aspx</link><pubDate>Tue, 04 Oct 2011 14:44:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70834</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70834.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=70834</wfw:commentRss><description>&lt;p&gt;Usually if something works in client but not browser (and everything is browser compatible) I suspect post back settings. You might try setting postback on the repeating table itself to &amp;quot;always&amp;quot; and see if that makes a difference (and, of course, make sure it doesn&amp;#39;t impact form performance in too spectacular of a fashion).&lt;/p&gt;</description></item><item><title>Re: alternate row color with repeater in infopath form using code</title><link>https://www.infopathdev.com:443/forums/thread/70832.aspx</link><pubDate>Tue, 04 Oct 2011 11:53:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70832</guid><dc:creator>devendra</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70832.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=70832</wfw:commentRss><description>&lt;p&gt;this one also works fine in my client side.&lt;/p&gt;
&lt;p&gt;but once i deploy the form to central admin.&lt;/p&gt;
&lt;p&gt;its not working.&lt;/p&gt;
&lt;p&gt;is there any other way , after binding the data to repeater table can i apply the color for alterating rows.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Devendra&lt;/p&gt;</description></item><item><title>Re: alternate row color with repeater in infopath form using code</title><link>https://www.infopathdev.com:443/forums/thread/70803.aspx</link><pubDate>Mon, 03 Oct 2011 11:37:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70803</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70803.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=70803</wfw:commentRss><description>&lt;p&gt;How about using &lt;strong&gt;count(preceding-sibling::my:&lt;em&gt;&lt;u&gt;nodeName&lt;/u&gt;&lt;/em&gt;)&lt;/strong&gt; instead of &lt;strong&gt;position()&lt;/strong&gt;?&lt;/p&gt;</description></item><item><title>Re: alternate row color with repeater in infopath form using code</title><link>https://www.infopathdev.com:443/forums/thread/70802.aspx</link><pubDate>Mon, 03 Oct 2011 10:25:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70802</guid><dc:creator>devendra</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70802.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=70802</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I tried the Position(), it works fine in client side,but not on the server side.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Devendra&lt;/p&gt;</description></item><item><title>Re: alternate row color with repeater in infopath form using code</title><link>https://www.infopathdev.com:443/forums/thread/70760.aspx</link><pubDate>Fri, 30 Sep 2011 14:56:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70760</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70760.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=70760</wfw:commentRss><description>&lt;p&gt;Here&amp;#39;s how you can do it without code:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/forums/p/11094/41171.aspx#41171"&gt;http://www.infopathdev.com/forums/p/11094/41171.aspx#41171&lt;/a&gt;&lt;/p&gt;</description></item><item><title>alternate row color with repeater in infopath form using code</title><link>https://www.infopathdev.com:443/forums/thread/70754.aspx</link><pubDate>Fri, 30 Sep 2011 12:03:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70754</guid><dc:creator>devendra</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70754.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=70754</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;How i can bind the alternate row color with repeater in browser enabled&amp;nbsp;infopath form using code.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Devendra&lt;/p&gt;</description></item></channel></rss>