<?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: How to find checkbox controls in listbox?</title><link>http://forums.silverlight.net/forums/thread/56356.aspx</link><pubDate>Fri, 30 May 2008 18:42:40 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:56356</guid><dc:creator>vitya</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/56356.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=56356</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;sfawcett:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;His (and my problem) is&amp;nbsp;he can&amp;#39;t iterate through the list of checkboxes to see what is checked. I am getting around this by linking IsChecked to a bool in my data object (two way). Im not sure i want the data associated like this as the list is a simple lookup table whereas the data is going into a different object on save.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, if it&amp;#39;s not the clicked checkbox is what is needed for post processing, but another control&amp;#39;s (say, textbox) value in the same row, then getting the checkbox is not enough... Is there a way to get to the controls in the template directly?&lt;/p&gt;
&lt;p&gt;cheers&lt;/p&gt;
&lt;p&gt;vitya&lt;/p&gt;</description></item><item><title>Re: Re: How to find checkbox controls in listbox?</title><link>http://forums.silverlight.net/forums/thread/42700.aspx</link><pubDate>Mon, 31 Mar 2008 16:36:35 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:42700</guid><dc:creator>sfawcett</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/42700.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=42700</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;Allen Chen – MSFT:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;Hi: 
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;littleqiang520:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;Hi sladapter, thanks for your help.&lt;img alt="Big Smile" src="http://silverlight.net/emoticons/emotion-2.gif" /&gt;&lt;/p&gt;
&lt;p&gt;i use listbox&amp;#39;s datatemplate and add checkbox in it.i find a question again.if i am not&amp;nbsp;select listbox&amp;#39;s item,then click current checkbox which is not&amp;nbsp;checked.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Could you clarify your problem? I&amp;#39;m not sure what do you mean. You can tell us what&amp;#39;s your requirement directly.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;His (and my problem) is&amp;nbsp;he can&amp;#39;t iterate through the list of checkboxes to see what is checked. I am getting around this by linking IsChecked to a bool in my data object (two way). Im not sure i want the data associated like this as the list is a simple lookup table whereas the data is going into a different object on save.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Scott&lt;/p&gt;</description></item><item><title>Re: Re: How to find checkbox controls in listbox?</title><link>http://forums.silverlight.net/forums/thread/40652.aspx</link><pubDate>Tue, 25 Mar 2008 02:25:47 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:40652</guid><dc:creator>desopedr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/40652.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=40652</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;I come back to the title of the topic, somebody knows how to find a control defined in the DataTemplate of a ListBox ?&lt;/p&gt;&lt;p&gt;Thanks in advance&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: How to find checkbox controls in listbox?</title><link>http://forums.silverlight.net/forums/thread/40561.aspx</link><pubDate>Mon, 24 Mar 2008 19:19:10 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:40561</guid><dc:creator>David Anson</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/40561.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=40561</wfw:commentRss><description>&lt;p&gt;All,&lt;/p&gt;
&lt;p&gt;This problem is ultimately due to an issue with Silverlight 2 Beta 1&amp;nbsp;where it incorrectly fires ListBox&amp;#39;s GotFocus event twice (vs. once). That misinformation interferes with ListBox&amp;#39;s selection logic and causes problems like this one (you can see similar behavior if you put a TextBox in a ListBoxItem).&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a demonstration of the problem along with a workaround for the specific scenario in this thread (just change ClickMode of the CheckBox from the default of Release to Press):&lt;/p&gt;&lt;pre&gt;&lt;span style="COLOR:#000000;"&gt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;        &lt;/span&gt;&lt;span style="COLOR:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;ListBox&lt;/span&gt;&lt;span style="COLOR:#0000ff;"&gt;&amp;gt;
&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;            &lt;/span&gt;&lt;span style="COLOR:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;TextBlock&lt;/span&gt;&lt;span style="COLOR:#ff0000;"&gt; Text&lt;/span&gt;&lt;span style="COLOR:#0000ff;"&gt;=&amp;quot;click me then&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;            &lt;/span&gt;&lt;span style="COLOR:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;CheckBox&lt;/span&gt;&lt;span style="COLOR:#ff0000;"&gt; Content&lt;/span&gt;&lt;span style="COLOR:#0000ff;"&gt;=&amp;quot;try to check me - bug&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;            &lt;/span&gt;&lt;span style="COLOR:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;CheckBox&lt;/span&gt;&lt;span style="COLOR:#ff0000;"&gt; Content&lt;/span&gt;&lt;span style="COLOR:#0000ff;"&gt;=&amp;quot;try to check me - workaround&amp;quot;&lt;/span&gt;&lt;span style="COLOR:#ff0000;"&gt; ClickMode&lt;/span&gt;&lt;span style="COLOR:#0000ff;"&gt;=&amp;quot;Press&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;        &lt;/span&gt;&lt;span style="COLOR:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;ListBox&lt;/span&gt;&lt;span style="COLOR:#0000ff;"&gt;&amp;gt;
&lt;/span&gt;&lt;/pre&gt;</description></item><item><title>Re: Re: How to find checkbox controls in listbox?</title><link>http://forums.silverlight.net/forums/thread/40426.aspx</link><pubDate>Mon, 24 Mar 2008 13:09:13 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:40426</guid><dc:creator>sladapter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/40426.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=40426</wfw:commentRss><description>&lt;p&gt;Allen,&lt;/p&gt;&lt;p&gt;I think I got what he means. I found the same problem with checkbox being a listItem. If you try to click the checkbox directly, it won&amp;#39;t&amp;nbsp; get checked (or unchecked). You have to somehow click the Item outline to make the item get focus first. Then you can click the checkbox. So it takes more than one click to have the checkbox checked.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: How to find checkbox controls in listbox?</title><link>http://forums.silverlight.net/forums/thread/40356.aspx</link><pubDate>Mon, 24 Mar 2008 08:39:07 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:40356</guid><dc:creator>Allen Chen – MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/40356.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=40356</wfw:commentRss><description>&lt;p&gt;Hi: 
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;littleqiang520:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;Hi sladapter, thanks for your help.&lt;img alt="Big Smile" src="http://silverlight.net/emoticons/emotion-2.gif" /&gt;&lt;/p&gt;
&lt;p&gt;i use listbox&amp;#39;s datatemplate and add checkbox in it.i find a question again.if i am not&amp;nbsp;select listbox&amp;#39;s item,then click current checkbox which is not&amp;nbsp;checked.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Could you clarify your problem? I&amp;#39;m not sure what do you mean. You can tell us what&amp;#39;s your requirement directly.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: Re: How to find checkbox controls in listbox?</title><link>http://forums.silverlight.net/forums/thread/40138.aspx</link><pubDate>Sun, 23 Mar 2008 14:35:20 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:40138</guid><dc:creator>littleqiang520</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/40138.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=40138</wfw:commentRss><description>&lt;p&gt;Hi sladapter, thanks for your help.&lt;img src="http://silverlight.net/emoticons/emotion-2.gif" alt="Big Smile" /&gt;&lt;/p&gt;
&lt;p&gt;i use listbox&amp;#39;s datatemplate and add checkbox in it.i find a question again.if i am not&amp;nbsp;select listbox&amp;#39;s item,then click current checkbox which is not&amp;nbsp;checked.&lt;/p&gt;</description></item><item><title>Re: How to find checkbox controls in listbox?</title><link>http://forums.silverlight.net/forums/thread/40027.aspx</link><pubDate>Sat, 22 Mar 2008 22:12:32 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:40027</guid><dc:creator>sladapter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/40027.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=40027</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I did not find a way to find control defined in the DataTemplate either. But if you are trying to find which one is checked there are several ways:&lt;/p&gt;&lt;p&gt;1) Hook a event handler to the CheckBox:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;CheckBox x:Name=&amp;quot;chkCourse&amp;quot;&amp;nbsp; Content=&amp;quot;{Binding CourseName}&amp;quot;
Margin=&amp;quot;5&amp;quot; Tag=&amp;quot;{Binding CourseId}&amp;quot; Click=&amp;#39;chkCourse_Click&amp;quot;&amp;gt;&amp;lt;/CheckBox&amp;gt;&lt;/p&gt;&lt;p&gt;private void CheckBox_Click(object sender, RoutedEventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CheckBox c = sender as CheckBox; // Here is the one that user just clicked&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //do something with it.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;/p&gt;&lt;p&gt;2) Check the data that bound to the Checkbox.IsChecked field:&lt;/p&gt;&lt;p&gt; In your Data Item you can add a property for your Cource object:&lt;/p&gt;&lt;p&gt;public bool CourseSelected {get;set;};&lt;/p&gt;&lt;p&gt;then bind this property to the ChechBox.IsChecked field:&lt;br /&gt;&lt;/p&gt;&lt;p&gt; &amp;lt;CheckBox x:Name=&amp;quot;chkCourse&amp;quot;&amp;nbsp; Content=&amp;quot;{Binding CourseName}&amp;quot; Margin=&amp;quot;5&amp;quot; Tag=&amp;quot;{Binding CourseId}&amp;quot; IsChecked=&amp;quot;Binding CourseSelected, ,Mode=TwoWay}&amp;quot;&amp;gt;&amp;lt;/CheckBox&amp;gt; &lt;/p&gt;&lt;p&gt;If the checkbox is checked,&amp;nbsp; courseTables[index].IsChecked = true;&lt;br /&gt;&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;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>How to find checkbox controls in listbox?</title><link>http://forums.silverlight.net/forums/thread/39641.aspx</link><pubDate>Fri, 21 Mar 2008 17:19:29 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:39641</guid><dc:creator>littleqiang520</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/39641.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=39641</wfw:commentRss><description>&lt;p&gt;&lt;img style="WIDTH:294px;HEIGHT:327px;" height="327" src="http://www.snowcoolonline.cn/qiang/aboutlistbox.jpg" width="294" align="right" alt="" /&gt;my code:&lt;/p&gt;
&lt;p&gt;&amp;lt;ListBox x:Name=&amp;quot;lstCourse&amp;quot;&amp;nbsp; Grid.Row=&amp;quot;1&amp;quot; Grid.Column=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ListBox.ItemTemplate&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DataTemplate&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;StackPanel Orientation=&amp;quot;Vertical&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CheckBox x:Name=&amp;quot;chkCourse&amp;quot;&amp;nbsp; Content=&amp;quot;{Binding CourseName}&amp;quot; Margin=&amp;quot;5&amp;quot; Tag=&amp;quot;{Binding CourseId}&amp;quot;&amp;gt;&amp;lt;/CheckBox&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/StackPanel&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/DataTemplate&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ListBox.ItemTemplate&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ListBox&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i use DataTemplate to display content.how to find checkbox controls in listbox?how to use listboxitem?i use lstCourse.Items&amp;nbsp;return IList interface not listboxitem class.Thanks.&lt;/p&gt;
&lt;p&gt;behind code use listbox&amp;#39;s itemsSource property &lt;/p&gt;
&lt;p&gt;void soapClient_GetCoursesByProductAndTermCompleted(object sender, GetCoursesByProductAndTermCompletedEventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (e.Error == null)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OnlineTestService.CourseTable[] courseTables= e.Result;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lstCourse.ItemsSource = courseTables;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;</description></item></channel></rss>