<?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: Master CheckBox in GridView header</title>
	<atom:link href="http://www.shailwx.com/2009/07/master-checkbox-in-gridview-header/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shailwx.com/2009/07/master-checkbox-in-gridview-header/</link>
	<description>Concepts are simple</description>
	<lastBuildDate>Thu, 17 Jun 2010 14:45:18 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Abhishek Sharma</title>
		<link>http://www.shailwx.com/2009/07/master-checkbox-in-gridview-header/comment-page-1/#comment-43</link>
		<dc:creator>Abhishek Sharma</dc:creator>
		<pubDate>Thu, 17 Jun 2010 14:45:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.shailwx.com/?p=4#comment-43</guid>
		<description>Great work Sir</description>
		<content:encoded><![CDATA[<p>Great work Sir</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shail</title>
		<link>http://www.shailwx.com/2009/07/master-checkbox-in-gridview-header/comment-page-1/#comment-37</link>
		<dc:creator>Shail</dc:creator>
		<pubDate>Wed, 14 Oct 2009 06:58:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.shailwx.com/?p=4#comment-37</guid>
		<description>Updated. Also check the updated code</description>
		<content:encoded><![CDATA[<p>Updated. Also check the updated code</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shail</title>
		<link>http://www.shailwx.com/2009/07/master-checkbox-in-gridview-header/comment-page-1/#comment-36</link>
		<dc:creator>Shail</dc:creator>
		<pubDate>Wed, 14 Oct 2009 06:57:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.shailwx.com/?p=4#comment-36</guid>
		<description>@Sangam Updated. Also check the updated code</description>
		<content:encoded><![CDATA[<p>@Sangam Updated. Also check the updated code</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sangam Uprety</title>
		<link>http://www.shailwx.com/2009/07/master-checkbox-in-gridview-header/comment-page-1/#comment-34</link>
		<dc:creator>Sangam Uprety</dc:creator>
		<pubDate>Tue, 13 Oct 2009 07:24:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.shailwx.com/?p=4#comment-34</guid>
		<description>Nice tutorial.
Further, if all the child checkboxes are checked one by one, we have better check the master checkbox also. And if any child checkbox is unchecked, master should be unchecked.

I guess this would require little more code but would give fantastic output!

Thanks.</description>
		<content:encoded><![CDATA[<p>Nice tutorial.<br />
Further, if all the child checkboxes are checked one by one, we have better check the master checkbox also. And if any child checkbox is unchecked, master should be unchecked.</p>
<p>I guess this would require little more code but would give fantastic output!</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shail</title>
		<link>http://www.shailwx.com/2009/07/master-checkbox-in-gridview-header/comment-page-1/#comment-33</link>
		<dc:creator>Shail</dc:creator>
		<pubDate>Mon, 12 Oct 2009 14:08:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.shailwx.com/?p=4#comment-33</guid>
		<description>@Shahriar,
Thanks mate :)</description>
		<content:encoded><![CDATA[<p>@Shahriar,<br />
Thanks mate <img src='http://www.shailwx.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arun</title>
		<link>http://www.shailwx.com/2009/07/master-checkbox-in-gridview-header/comment-page-1/#comment-32</link>
		<dc:creator>Arun</dc:creator>
		<pubDate>Mon, 12 Oct 2009 12:52:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.shailwx.com/?p=4#comment-32</guid>
		<description>Thanks, meanwhile I found a way to do that. Here is an example for that:
$(document).ready(function() {
    var formFields = { controls: [
                            { identifier: &quot;chkssAll&quot;, control: $(&#039;#&#039;), methods: [{ trigger: &quot;click&quot;, functions: [selectSS]}] },
                            { identifier: &quot;chkss1&quot;, control: $(&#039;#&#039;), methods: [{ trigger: &quot;click&quot;, functions: [check_uncheck_AllSSTypes]}] },
                            { identifier: &quot;chkss2&quot;, control: $(&#039;#&#039;), methods: [{ trigger: &quot;click&quot;, functions: [check_uncheck_AllSSTypes]}] },
                            { identifier: &quot;chkss3&quot;, control: $(&#039;#&#039;), methods: [{ trigger: &quot;click&quot;, functions: [check_uncheck_AllSSTypes]}] },

                ]
    };

    var formControls = new FormControls(formFields);

    //init on page load
    check_uncheck_AllSSTypes();

  });

function selectSS() {
    $(&quot;[id*=chkss]&quot;).attr(&#039;checked&#039;, $(&#039;[id$=chkssAll]&#039;).is(&#039;:checked&#039;));

}

function check_uncheck_AllSSTypes() {
    $(&quot;[id*=chkssAll]&quot;).attr(&#039;checked&#039;, &#039;checked&#039;);
    if ($(&#039;[id*=chkss]&#039;).is(&#039;:not(:checked)&#039;)) {
      $(&quot;[id*=chkssAll]&quot;).attr(&#039;checked&#039;, &#039;&#039;);
    }
  }</description>
		<content:encoded><![CDATA[<p>Thanks, meanwhile I found a way to do that. Here is an example for that:<br />
$(document).ready(function() {<br />
    var formFields = { controls: [<br />
                            { identifier: "chkssAll", control: $('#'), methods: [{ trigger: "click", functions: [selectSS]}] },<br />
                            { identifier: &#8220;chkss1&#8243;, control: $(&#8217;#'), methods: [{ trigger: "click", functions: [check_uncheck_AllSSTypes]}] },<br />
                            { identifier: &#8220;chkss2&#8243;, control: $(&#8217;#'), methods: [{ trigger: "click", functions: [check_uncheck_AllSSTypes]}] },<br />
                            { identifier: &#8220;chkss3&#8243;, control: $(&#8217;#'), methods: [{ trigger: "click", functions: [check_uncheck_AllSSTypes]}] },</p>
<p>                ]<br />
    };</p>
<p>    var formControls = new FormControls(formFields);</p>
<p>    //init on page load<br />
    check_uncheck_AllSSTypes();</p>
<p>  });</p>
<p>function selectSS() {<br />
    $(&#8221;[id*=chkss]&#8220;).attr(&#8217;checked&#8217;, $(&#8217;[id$=chkssAll]&#8216;).is(&#8217;:checked&#8217;));</p>
<p>}</p>
<p>function check_uncheck_AllSSTypes() {<br />
    $(&#8221;[id*=chkssAll]&#8220;).attr(&#8217;checked&#8217;, &#8216;checked&#8217;);<br />
    if ($(&#8217;[id*=chkss]&#8216;).is(&#8217;:not(:checked)&#8217;)) {<br />
      $(&#8221;[id*=chkssAll]&#8220;).attr(&#8217;checked&#8217;, &#8221;);<br />
    }<br />
  }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shahriar Hyder</title>
		<link>http://www.shailwx.com/2009/07/master-checkbox-in-gridview-header/comment-page-1/#comment-30</link>
		<dc:creator>Shahriar Hyder</dc:creator>
		<pubDate>Mon, 12 Oct 2009 05:33:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.shailwx.com/?p=4#comment-30</guid>
		<description>Nice one mate. I have also added the link to your post in my Ultimate collection of top jQuery tutorials, tips-tricks and techniques to improve performance. Have a check below:

http://technosiastic.wordpress.com/2009/09/24/collection-of-top-jquery-tutorials-tips-tricks-techniques-to-improve-performance/</description>
		<content:encoded><![CDATA[<p>Nice one mate. I have also added the link to your post in my Ultimate collection of top jQuery tutorials, tips-tricks and techniques to improve performance. Have a check below:</p>
<p><a href="http://technosiastic.wordpress.com/2009/09/24/collection-of-top-jquery-tutorials-tips-tricks-techniques-to-improve-performance/" rel="nofollow">http://technosiastic.wordpress.com/2009/09/24/collection-of-top-jquery-tutorials-tips-tricks-techniques-to-improve-performance/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shail</title>
		<link>http://www.shailwx.com/2009/07/master-checkbox-in-gridview-header/comment-page-1/#comment-29</link>
		<dc:creator>Shail</dc:creator>
		<pubDate>Sun, 11 Oct 2009 16:02:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.shailwx.com/?p=4#comment-29</guid>
		<description>@TD
ViewState is stored on client Side, but it is manipulated on server. Said this, if I check/ucheck checkboxes on client side. Nothing will go bad on server.</description>
		<content:encoded><![CDATA[<p>@TD<br />
ViewState is stored on client Side, but it is manipulated on server. Said this, if I check/ucheck checkboxes on client side. Nothing will go bad on server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TD</title>
		<link>http://www.shailwx.com/2009/07/master-checkbox-in-gridview-header/comment-page-1/#comment-28</link>
		<dc:creator>TD</dc:creator>
		<pubDate>Sat, 10 Oct 2009 01:29:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.shailwx.com/?p=4#comment-28</guid>
		<description>Does this mess up your ViewState? I thought if you manipulated server controls via JavaScript, it would result in a ViewState exception when you do a postback.</description>
		<content:encoded><![CDATA[<p>Does this mess up your ViewState? I thought if you manipulated server controls via JavaScript, it would result in a ViewState exception when you do a postback.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arun</title>
		<link>http://www.shailwx.com/2009/07/master-checkbox-in-gridview-header/comment-page-1/#comment-27</link>
		<dc:creator>Arun</dc:creator>
		<pubDate>Fri, 09 Oct 2009 21:32:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.shailwx.com/?p=4#comment-27</guid>
		<description>How can we do vice-versa, like, if after selecting master checkbox, now I want to uncheck one child checkbox and also want that my master checkbox should get unchecked automatically. Thanks in advance....</description>
		<content:encoded><![CDATA[<p>How can we do vice-versa, like, if after selecting master checkbox, now I want to uncheck one child checkbox and also want that my master checkbox should get unchecked automatically. Thanks in advance&#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
