<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/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>Silverlight Controls and Silverlight Toolkit</title><link>http://forums.silverlight.net/forums/35.aspx</link><description>Discussions around using and developing Silverlight controls and the Silverlight Toolkit</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: Re: Re: Re: Re: Adding Checkbox in Treeview Control....</title><link>http://forums.silverlight.net/forums/thread/269796.aspx</link><pubDate>Sat, 15 Aug 2009 08:50:11 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:269796</guid><dc:creator>DJanjicek</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/269796.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=269796</wfw:commentRss><description>&lt;p&gt;You could also use the TreeView control from VectorLight &lt;a href="http://www.vectorlight.net/controls/tree_view.aspx"&gt;http://www.vectorlight.net/controls/tree_view.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It has some very useful features, and also the ones you mentioned....&lt;/p&gt;</description></item><item><title>Re: Re: Re: Re: Re: Adding Checkbox in Treeview Control....</title><link>http://forums.silverlight.net/forums/thread/269793.aspx</link><pubDate>Sat, 15 Aug 2009 08:27:43 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:269793</guid><dc:creator>usamakhan86</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/269793.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=269793</wfw:commentRss><description>&lt;p&gt;try this http://usamawahabkhan.blogspot.com/2009/07/treeview-checkbox-databinding.html &lt;/p&gt;</description></item><item><title>Re: Re: Re: Re: Adding Checkbox in Treeview Control....</title><link>http://forums.silverlight.net/forums/thread/240623.aspx</link><pubDate>Thu, 02 Jul 2009 07:02:26 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:240623</guid><dc:creator>varshavmane</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/240623.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=240623</wfw:commentRss><description>&lt;p&gt;My pleasure &lt;img src="http://silverlight.net/emoticons/emotion-1.gif" alt="Smile" /&gt;&lt;/p&gt;</description></item><item><title>Re: Re: Re: Adding Checkbox in Treeview Control....</title><link>http://forums.silverlight.net/forums/thread/240609.aspx</link><pubDate>Thu, 02 Jul 2009 06:56:15 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:240609</guid><dc:creator>Telos</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/240609.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=240609</wfw:commentRss><description>&lt;p&gt;Yes, that helped. I&amp;#39;m using RIA Services but I extended the EF model class with a custom property and got it binded for the checbox. Now everything works fine. Thanks again.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Re: Re: Adding Checkbox in Treeview Control....</title><link>http://forums.silverlight.net/forums/thread/240102.aspx</link><pubDate>Wed, 01 Jul 2009 07:18:59 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:240102</guid><dc:creator>varshavmane</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/240102.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=240102</wfw:commentRss><description>&lt;p&gt;I think what Justin Angel suggested will help you.&lt;/p&gt;</description></item><item><title>Re: Re: Adding Checkbox in Treeview Control....</title><link>http://forums.silverlight.net/forums/thread/240085.aspx</link><pubDate>Wed, 01 Jul 2009 06:50:56 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:240085</guid><dc:creator>Telos</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/240085.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=240085</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;This didn&amp;#39;t work. I have the datacontext item in the Header, no checkbox. I have a datatemplate with a stackpanel and a checkbox and contentpresenter inside it.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Re: Adding Checkbox in Treeview Control....</title><link>http://forums.silverlight.net/forums/thread/240080.aspx</link><pubDate>Wed, 01 Jul 2009 06:30:49 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:240080</guid><dc:creator>varshavmane</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/240080.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=240080</wfw:commentRss><description>&lt;p&gt;You can try something:&lt;/p&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;
&lt;p&gt;TreeViewItem&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; newParent = (&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;TreeViewItem&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)TreeView1.SelectedItem;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;CheckBox chk = &lt;font size="2"&gt;(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;CheckBox&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)newParent.Header;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;HTH &lt;img src="http://silverlight.net/emoticons/emotion-1.gif" alt="Smile" /&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Re: Adding Checkbox in Treeview Control....</title><link>http://forums.silverlight.net/forums/thread/240073.aspx</link><pubDate>Wed, 01 Jul 2009 06:17:22 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:240073</guid><dc:creator>Telos</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/240073.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=240073</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;m also trying to achieve this but my datacontext items don&amp;#39;t have a value which I could bind to my checkbox. I want to do another stuff when the checkbox is clicked. Everything else is working for me but I can&amp;#39;t seem to find the checkbox control within the TreeViewItem. Do I need to find a way to bind the checkbox to a value or is there a way to find the Checkbox control within the treeviewitem?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Adding Checkbox in Treeview Control....</title><link>http://forums.silverlight.net/forums/thread/218871.aspx</link><pubDate>Tue, 12 May 2009 18:30:05 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:218871</guid><dc:creator>JustinAngel</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/218871.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=218871</wfw:commentRss><description>&lt;p&gt;I strongly recommend you read&amp;nbsp;my TreeView article previously linked here. &lt;br /&gt;Basically, You&amp;#39;ll need to have a CheckBox databound to some value in a HierarchicalDataTemplate. &lt;/p&gt;
&lt;p&gt;We&amp;#39;ve got a sample for that up on our official Silverlight Toolkit samples: &lt;br /&gt;&lt;a href="http://silverlight.net/samples/sl2/toolkitcontrolsamples/run/default.html?path=Controls|TreeView|Using%20CheckBoxes"&gt;http://silverlight.net/samples/sl2/toolkitcontrolsamples/run/default.html?path=Controls|TreeView|Using%20CheckBoxes&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Adding Checkbox in Treeview Control....</title><link>http://forums.silverlight.net/forums/thread/218755.aspx</link><pubDate>Tue, 12 May 2009 15:04:58 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:218755</guid><dc:creator>varshavmane</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/218755.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=218755</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can have a look at this link:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://silverlight.net/blogs/justinangel/archive/2008/11/18/silverlight-toolkit-treeview-treeviewitem-amp-hierarchaldatatemplate.aspx"&gt;&lt;font color="#3399ff"&gt;http://silverlight.net/blogs/justinangel/archive/2008/11/18/silverlight-toolkit-treeview-treeviewitem-amp-hierarchaldatatemplate.aspx&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;or you can do something like this:&lt;/p&gt;
&lt;p&gt;Parent.Header = &amp;quot;Parent&amp;quot;;&lt;br /&gt;...&lt;br /&gt;if(Child1.Items.Count&amp;nbsp;&amp;gt; 0)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Child1.Header = &amp;quot;Child1&amp;quot;;&lt;br /&gt;else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Child1.Header = new CheckBox();&lt;/p&gt;
&lt;p&gt;do looping for treeview control to make all the child nodes checked.&lt;/p&gt;
&lt;p&gt;Hope this helps you.&lt;/p&gt;
&lt;p&gt;Please &amp;quot;Mark as Answer&amp;quot; if this post answered your question. :)&lt;/p&gt;</description></item><item><title>Adding Checkbox in Treeview Control....</title><link>http://forums.silverlight.net/forums/thread/218609.aspx</link><pubDate>Tue, 12 May 2009 08:31:26 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:218609</guid><dc:creator>sureshchsahu</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/218609.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=218609</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;am looking for a source code to add a check box in a treeview control and when selected in one of the&amp;nbsp;parent node it has to select all the child nodes and vice&amp;nbsp;versa.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>