<?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: Problem while Creating Silverlight Class Library [:(]</title><link>http://forums.silverlight.net/forums/thread/239704.aspx</link><pubDate>Tue, 30 Jun 2009 13:39:49 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:239704</guid><dc:creator>varshavmane</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/239704.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=239704</wfw:commentRss><description>&lt;p&gt;Thanks for the reply. I got one link in which Graph is implemented in Silverlight but that Project doesn&amp;#39;t run.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.netfxharmonics.com/2007/05/Reflecting-Graph-Silverlight-Demo.aspx"&gt;http://www.netfxharmonics.com/2007/05/Reflecting-Graph-Silverlight-Demo.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Everything is done in through&amp;nbsp;Javascript and I cant see xap file in that project.&lt;/p&gt;
&lt;p&gt;Can you please tell me is there anyways to convert Javascript code ? This question might be a wrong question but right now Im struggling in implementing graphs.&lt;/p&gt;
&lt;p&gt;Please help.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;</description></item><item><title>Re: Re: Re: Problem while Creating Silverlight Class Library [:(]</title><link>http://forums.silverlight.net/forums/thread/238414.aspx</link><pubDate>Fri, 26 Jun 2009 17:57:41 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:238414</guid><dc:creator>weeser</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/238414.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=238414</wfw:commentRss><description>&lt;p&gt;Greetings,&lt;/p&gt;
&lt;p&gt;Im not sure if this will help much....but i am currently building a c# class library.&amp;nbsp; We wanted it to be compatable with both asp and silverlight.&amp;nbsp; Our solution was to make the library in compatable with asp.&amp;nbsp; But we use a silverlight enabled WCF service to act as the middle man, which mines data using the library and returns it to the silverlight app.&lt;/p&gt;
&lt;p&gt;Just an idea anyways &lt;img src="http://silverlight.net/emoticons/emotion-2.gif" alt="Big Smile" /&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;</description></item><item><title>Re: Re: Re: Problem while Creating Silverlight Class Library [:(]</title><link>http://forums.silverlight.net/forums/thread/238389.aspx</link><pubDate>Fri, 26 Jun 2009 16:42:00 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:238389</guid><dc:creator>ksleung</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/238389.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=238389</wfw:commentRss><description>&lt;p&gt;I think your best bet is dictionary.&lt;/p&gt;&lt;p&gt;&lt;font face="courier new,courier"&gt;using System.Collections.Generic;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="courier new,courier"&gt;void foo() {&lt;br /&gt;&amp;nbsp;&amp;nbsp; Dictionary&amp;lt;string, string&amp;gt; dict = new Dictionary&amp;lt;string, string&amp;gt;();&lt;br /&gt;&amp;nbsp;&amp;nbsp; dict.Add(&amp;quot;hello&amp;quot;, &amp;quot;world&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp; dict.Add(&amp;quot;foo&amp;quot;, &amp;quot;bar&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp; if (!dict.Contains(&amp;quot;foo&amp;quot;)) throw new Exception();&lt;br /&gt;&amp;nbsp;&amp;nbsp; string world = dict[&amp;quot;hello&amp;quot;];&lt;br /&gt;&amp;nbsp;&amp;nbsp; if (world != &amp;quot;world&amp;quot;) throw new Exception();&lt;br /&gt;}&lt;/font&gt;&lt;/p&gt;&lt;p&gt;It is not a hashtable...&amp;nbsp; I think it is implemented based on binary tree.&amp;nbsp; For most practical purpose this is good enough.&amp;nbsp; If not, there are many hash table implementations in C++, or even C#. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Re: Re: Problem while Creating Silverlight Class Library [:(]</title><link>http://forums.silverlight.net/forums/thread/238286.aspx</link><pubDate>Fri, 26 Jun 2009 12:24:05 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:238286</guid><dc:creator>varshavmane</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/238286.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=238286</wfw:commentRss><description>&lt;p&gt;Thanks for the reply. Im trying to convert that code because I have to create Graph control in Silverlight. I mean Graph not Chart Control.&lt;/p&gt;
&lt;p&gt;Where I can Traverse the nodes or from database I can get the values and Draw the Graph.&lt;/p&gt;
&lt;p&gt;Can you please help me with this?&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;</description></item><item><title>Re: Re: Problem while Creating Silverlight Class Library [:(]</title><link>http://forums.silverlight.net/forums/thread/238261.aspx</link><pubDate>Fri, 26 Jun 2009 11:34:33 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:238261</guid><dc:creator>Shaji-mji</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/238261.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=238261</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Instead of the Hash Table, Create a class with the columns(in the hash table) as Properties of the class. And use a List&amp;lt;Object&amp;gt; to add the items in the row. for example&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;public class Graph&lt;/p&gt;&lt;p&gt;{&lt;/p&gt;&lt;p&gt;&amp;nbsp;public int PointX { get; set; }&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; public int PointY { get; set; }&lt;/p&gt;&lt;p&gt;} &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;in the function where you want to use the hash table use the following code&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;List&amp;lt; Graph &amp;gt; myTable&amp;nbsp; = new List&amp;lt; Graph &amp;gt;();&lt;/p&gt;&lt;p&gt;&amp;nbsp;myTable .Add(new Graph(){ PointX=100, PointY=200}); &lt;/p&gt;&lt;p&gt;&amp;nbsp;myTable .Add(new Graph(){ PointX=110, PointY=220});&lt;/p&gt;&lt;p&gt;&amp;nbsp;myTable .Add(new Graph(){ PointX=120, PointY=240}); &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You can then Bind this List&amp;nbsp; &amp;quot;myTable&amp;quot; to a ListBox or ComboBox or DataGrid..&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;let me know if this helps..&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: Problem while Creating Silverlight Class Library [:(]</title><link>http://forums.silverlight.net/forums/thread/238259.aspx</link><pubDate>Fri, 26 Jun 2009 11:17:20 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:238259</guid><dc:creator>varshavmane</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/238259.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=238259</wfw:commentRss><description>&lt;p&gt;Thanks for the reply. I am trying to create Silverlight Class Library only by Silverlight doesnt support Hash Tables so I was trying to use Dictionary but &lt;img src="http://silverlight.net/emoticons/emotion-6.gif" alt="Sad" /&gt;&lt;/p&gt;
&lt;p&gt;Would you please provide me with some info about Dictionary, like how to use them or how do I convert the above mentioned class in Silverlight Class Library.&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;</description></item><item><title>Re: Problem while Creating Silverlight Class Library [:(]</title><link>http://forums.silverlight.net/forums/thread/238257.aspx</link><pubDate>Fri, 26 Jun 2009 11:12:24 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:238257</guid><dc:creator>Shaji-mji</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/238257.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=238257</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Silverlight doesnot support the default visual studio class libraries. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You will have to create Silverlight Class Library project and then add your classes inside that !!!. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem while Creating Silverlight Class Library [:(]</title><link>http://forums.silverlight.net/forums/thread/238242.aspx</link><pubDate>Fri, 26 Jun 2009 10:35:50 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:238242</guid><dc:creator>varshavmane</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/238242.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=238242</wfw:commentRss><description>&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;I am trying to convert some C# class into Silverlight Class. Following is the link from which I am trying to convert it into Silverlight Class library&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.leniel.net/2008/01/breadth-and-depth-first-search-part-2.html"&gt;http://www.leniel.net/2008/01/breadth-and-depth-first-search-part-2.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Its has the following classes :&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NodeList.cs, Node.cs, Graph.cs, EdgeToNeighbor.cs and AdjacencyList.cs.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Looks like Silverlight doesnt support Hashtable.&lt;/p&gt;
&lt;p&gt;Can some please help me out how should I about it.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;</description></item></channel></rss>