<?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>The Official Microsoft Silverlight Site: Active Threads</title><link>http://forums.silverlight.net/forums/TopicsActive.aspx</link><description>Posts with recent activity</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Images in Silverlight</title><link>http://forums.silverlight.net/forums/thread/328188.aspx</link><pubDate>Mon, 30 Nov 2009 01:20:03 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:328188</guid><dc:creator>gabeold</dc:creator><slash:comments>2</slash:comments><comments>http://forums.silverlight.net/forums/thread/328188.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=328188</wfw:commentRss><description>&lt;p&gt;Hey,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have been trying to put images into Silverlight with no luck.&lt;/p&gt;&lt;p&gt;I am using expression blend to create my application.&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have created a Image in the xmal and set its source to be an image off wikipedia.&lt;/p&gt;&lt;p&gt;In the expression blend design view, the image gets loaded and displayed correctly.&lt;/p&gt;&lt;p&gt;When&amp;nbsp; i build and run my application in a web browser, the image does not show.&lt;/p&gt;&lt;p&gt;I thought it may have something to do with cross domain polices, but i thought seeing as it has loaded in expression blend, that it should load in Silverlight. I have also tried to load an image from the local computer, which will show the image in expression blend design view but will not show when debugging on localhost.&lt;/p&gt;&lt;p&gt;Does anyone know what could be causing this?? &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Cheers,&lt;/p&gt;&lt;p&gt;Gabe Young&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Create an HTML page on the fly in isolated storage and display it?</title><link>http://forums.silverlight.net/forums/thread/328207.aspx</link><pubDate>Mon, 30 Nov 2009 02:51:47 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:328207</guid><dc:creator>ajayatl</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/328207.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=328207</wfw:commentRss><description>&lt;p&gt;I am thinking of creating an HTML page in my Silverlight application and store it&amp;nbsp;in isolated storage. Then I want to be able to open that HTML page in another browser window when the user clicks on a&amp;nbsp;button. &lt;/p&gt;
&lt;p&gt;Is this possible? My biggest challenge right now is opening the HTML page in another browser window. I would appreciate if someone could give me a pointer or two.&lt;/p&gt;
&lt;p&gt;Thank you.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Bevel pixel shader effect?</title><link>http://forums.silverlight.net/forums/thread/328190.aspx</link><pubDate>Mon, 30 Nov 2009 01:38:16 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:328190</guid><dc:creator>Timmy G</dc:creator><slash:comments>1</slash:comments><comments>http://forums.silverlight.net/forums/thread/328190.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=328190</wfw:commentRss><description>&lt;p&gt;Hi all, I&amp;#39;ve been all over the web looking for a pixel shader that would create a bevel (like the BevelBitmapEffect bitmap effect in WPF) and have concluded that there isn&amp;#39;t one *yet*. Next step of course is to write my own.&lt;/p&gt;
&lt;p&gt;But before I start, can anyone think of a reason why it would not be technically possible? I found &lt;a href="http://marlongrech.wordpress.com/2008/05/15/effects-in-net-sp1-for-wpf/"&gt;a blog post about how the WPF effects are being replaced by Effects&lt;/a&gt; explaining that &amp;quot;certain effects from the old pipeline will never be accelerated in the new pipeline. These include BevelBitmapEffect, OuterGlowBitmapEffect, and EmbossBitmapEffect.&amp;quot;&lt;/p&gt;
&lt;p&gt;... that makes me worried that maybe there&amp;#39;s something about a bevel that makes it technically not possible to do in a pixel shader. Does anyone know one way or the other? Or better yet, does anyone know of a bevel pixel shader that I missed?&lt;/p&gt;</description></item><item><title>Animation not working after click</title><link>http://forums.silverlight.net/forums/thread/326247.aspx</link><pubDate>Wed, 25 Nov 2009 10:47:03 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:326247</guid><dc:creator>BeeHypo</dc:creator><slash:comments>2</slash:comments><comments>http://forums.silverlight.net/forums/thread/326247.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=326247</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have a button which when I mouseover on it, animation of tranform a rectangle from left to right will begin.&lt;br /&gt;When I mouseout, I will have a timer to count for few second before the rectangle will go back to original position.&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;encounter a problem is that, if I do a mouse click in between the time of mouseout and the rectangle back to original position,&lt;br /&gt;when&amp;nbsp;it is the time to move the rectangle back to original&amp;nbsp;position,&amp;nbsp;&amp;nbsp;it will not move the rectangle back to original position.&lt;/p&gt;
&lt;p&gt;I have try to debug and check whether anything wrong with my code but by debuging it, it is working fine. &lt;br /&gt;Another situation that the animation is working fine is that, I use the ctrl+A which is select all to see the control animation, it is working fine.&lt;/p&gt;</description></item><item><title>Resizing objects, and setting their position on the canvas</title><link>http://forums.silverlight.net/forums/thread/328172.aspx</link><pubDate>Sun, 29 Nov 2009 23:14:19 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:328172</guid><dc:creator>thesquirrel16</dc:creator><slash:comments>3</slash:comments><comments>http://forums.silverlight.net/forums/thread/328172.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=328172</wfw:commentRss><description>Hi, I am having an issue with my images.  I have a canvas that is 600x550 that I need my images to fit in.  I also want them to be positioned at the canvas point 0, 0.  I need my images to be 570x520.  Well when silverlight resizes the image to fit in that space, the coordinate system is no longer correct for  the image.  For example, if I set the new images canvas.top and canvas.left to 0.  The image would actually be at something like (0, 35).  Is there a way to fix this or a way to work around it?</description></item><item><title>Unable to install Silverlight 3 on Mac</title><link>http://forums.silverlight.net/forums/thread/328146.aspx</link><pubDate>Sun, 29 Nov 2009 20:58:20 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:328146</guid><dc:creator>rodparker</dc:creator><slash:comments>1</slash:comments><comments>http://forums.silverlight.net/forums/thread/328146.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=13&amp;PostID=328146</wfw:commentRss><description>&lt;p&gt;Hi - when I try and watch Skyplayer - it asks me to install SL 3.0. I download it - then install it, says install successful but when I try and view video it says I dont have it installed. I go to my plug on manager and it tells me I have SL version 2 and not 3. I can&amp;#39;t seem to delete 2 or install 3. I have an intel MacBook Pro, using Firefox and Snow Leopard. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Can someone please help?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Rod&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Usage of TreeViewConnectingLines without Blend</title><link>http://forums.silverlight.net/forums/thread/327352.aspx</link><pubDate>Fri, 27 Nov 2009 08:54:30 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:327352</guid><dc:creator>ashwin893</dc:creator><slash:comments>3</slash:comments><comments>http://forums.silverlight.net/forums/thread/327352.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=327352</wfw:commentRss><description>&lt;p&gt;Iam using Silverlight TreeView. i want Connecting lines between the nodes. In the oct toolkit, there is a class TreeViewConnectingLines but i dont know how to implement it.&lt;/p&gt;
&lt;p&gt;Please help me as soon as possible,&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;&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; Regards,&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;&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; Ashwin kumar.&lt;/p&gt;</description></item><item><title>No access to database</title><link>http://forums.silverlight.net/forums/thread/327177.aspx</link><pubDate>Thu, 26 Nov 2009 21:44:09 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:327177</guid><dc:creator>Ziade</dc:creator><slash:comments>11</slash:comments><comments>http://forums.silverlight.net/forums/thread/327177.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=53&amp;PostID=327177</wfw:commentRss><description>&lt;p&gt;I am trying to turn a Silverlight Business Application into something I can actually run without running it through Visual Studio, and I&amp;#39;ve done it pretty much every way I can think of, but I still have no database.&lt;/p&gt;&lt;p&gt;I created an OOB &amp;quot;install&amp;quot; and it ran fine, but I couldn&amp;#39;t access my database. I&amp;#39;ve also try actually publishing the website in IIS, and it worked, but once again I had no access to my database.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Is there anything I need to do to my SQL database, or any other configurations I need to change to fix this problem? As always, help is greatly appreciated.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Check to see if new record being added already exists in table?</title><link>http://forums.silverlight.net/forums/thread/325665.aspx</link><pubDate>Tue, 24 Nov 2009 14:12:38 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:325665</guid><dc:creator>dabooj80</dc:creator><slash:comments>7</slash:comments><comments>http://forums.silverlight.net/forums/thread/325665.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=53&amp;PostID=325665</wfw:commentRss><description>&lt;p&gt;Hi guys,&lt;/p&gt;
&lt;p&gt;I have a child window within my app which opens to allow an entry for a new record to my table. The table in question is a Sql Server table &amp;amp; has a Unique index on a field called FileName.&lt;/p&gt;
&lt;p&gt;So when i add a new record that has a filename that exists within a nother record within the table, the ria services code allows the process to complete but doesn&amp;#39;t actually add the record to the table. What i would like to do is capture the process and display an error msg notifying the user that the filename has already been used in another record. I thought i could do this within my domain service but i&amp;#39;ve not been able to figure it out. The following is&amp;nbsp;a listing of&amp;nbsp;my domain context:&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;namespace&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; SusExportLog.Web&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;using&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; System;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;using&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; System.Collections.Generic;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;using&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; System.ComponentModel;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;using&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; System.ComponentModel.DataAnnotations;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;using&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; System.Linq;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;using&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; System.Web.Ria;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;using&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; System.Web.Ria.Data;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;using&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; System.Web.DomainServices;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;using&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; System.Data;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;using&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; System.Web.DomainServices.LinqToEntities;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;using&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; System.Web.UI.MobileControls;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;// Implements application logic using the SUS_SubmissionsEntities context.&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;// TODO: Add your application logic to these methods or in additional methods.&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;[&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;EnableClientAccess&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;()]&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;class&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;SusLogDomainService&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; : &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;LinqToEntitiesDomainService&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;SUS_SubmissionsEntities&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;// TODO: Consider&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;// 1. Adding parameters to this method and constraining returned results, and/or&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;// 2. Adding query methods taking different parameters.&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;IQueryable&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;SUS_ExportLog&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;gt; GetSUS_ExportLog()&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;return&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.Context.SUS_ExportLog;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; InsertSUS_ExportLog(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;SUS_ExportLog&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; sUS_ExportLog)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;sUS_ExportLog.LogDate = &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;DateTime&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.Now;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;sUS_ExportLog.DeleteFromWarehouse = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;false&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; ;&lt;/p&gt;sUS_ExportLog.SystemsDone = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;false&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.Context.AddToSUS_ExportLog(sUS_ExportLog);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; UpdateSUS_ExportLog(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;SUS_ExportLog&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; currentSUS_ExportLog)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.Context.AttachAsModified(currentSUS_ExportLog, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.ChangeSet.GetOriginal(currentSUS_ExportLog));&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; DeleteSUS_ExportLog(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;SUS_ExportLog&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; sUS_ExportLog)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;if&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; ((sUS_ExportLog.EntityState == &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;EntityState&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.Detached))&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.Context.Attach(sUS_ExportLog);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.Context.DeleteObject(sUS_ExportLog);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So how would i go about capturing the insert, checking to see if the filename already exists in another record and then notifying the user with an error msg?&lt;/p&gt;
&lt;p&gt;Regards, Shuja&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Authentication</title><link>http://forums.silverlight.net/forums/thread/327836.aspx</link><pubDate>Sat, 28 Nov 2009 16:33:39 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:327836</guid><dc:creator>Ziade</dc:creator><slash:comments>8</slash:comments><comments>http://forums.silverlight.net/forums/thread/327836.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=53&amp;PostID=327836</wfw:commentRss><description>&lt;p&gt;Thanks to everyone in this forum, I have gotten my out of the box Authentication to work. &lt;/p&gt;&lt;p&gt;However if I&amp;#39;m on a page that allows the user to add something to the database, and they click the &amp;quot;Add New&amp;quot; button, the form will still pop up. How could I verify if the user is logged in, in a button click method? &lt;/p&gt;&lt;p&gt;Theres a couple built in methods:&lt;/p&gt;&lt;p&gt;AuthenticationSerice, AuthenticationResult, AuthenticationOperation, AuthenticationEvenArgs, AuthenticationEvenArgs, AuthenticationContext, AuthenticationBase &lt;/p&gt;&lt;p&gt;However, I&amp;#39;m not sure if I can use any of these, or which one?&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>upgrade to WFC ria serivces</title><link>http://forums.silverlight.net/forums/thread/326372.aspx</link><pubDate>Wed, 25 Nov 2009 15:03:48 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:326372</guid><dc:creator>chachaloco</dc:creator><slash:comments>4</slash:comments><comments>http://forums.silverlight.net/forums/thread/326372.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=53&amp;PostID=326372</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I just upgraded from Ria Services to WCF Ria Services, and now I get following error when trying to perform a simple Load operation to a DomainService&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Code: 4004&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;Category: ManagedRuntimeError&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;Message: System.Windows.Ria.DomainOperationException: Load operation failed for query &amp;#39;GetContactDatabases&amp;#39;. The remote server returned an error: NotFound.&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Ria.OperationBase.Complete(Exception error)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Ria.LoadOperation.Complete(Exception error)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Ria.DomainContext.CompleteLoad(IAsyncResult asyncResult)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Ria.DomainContext.&amp;lt;&amp;gt;c__DisplayClass17.&amp;lt;Load&amp;gt;b__13(Object )&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does anyone know if something has changed in the way to call Load methods?&lt;/p&gt;</description></item><item><title>This DomainService has not been initialized.</title><link>http://forums.silverlight.net/forums/thread/328130.aspx</link><pubDate>Sun, 29 Nov 2009 20:04:16 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:328130</guid><dc:creator>stevepuri</dc:creator><slash:comments>2</slash:comments><comments>http://forums.silverlight.net/forums/thread/328130.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=53&amp;PostID=328130</wfw:commentRss><description>&lt;p&gt;Using Visual Studio 2010 Beta 2 and WCF RIA Services, I&amp;#39;ve created a simple Silverlight Business Application. Upon calling&amp;nbsp;my DomainService from a *.aspx page, I&amp;#39;m receiving the following exception at runtime:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.InvalidOperationException: This DomainService has not been initialized.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tested the ADO.NET Entity Data Model individually and it does retrieve data so the issue is most certainly with the DomainService. The ADO.NET Entity Data Model and DomainService are within the same project. Connection strings have been automatically placed in the web.config file within the same project.&lt;/p&gt;
&lt;p&gt;The following method in the DomainService is throwing the exception:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public IQueryable&amp;lt;Person&amp;gt; GetPeople()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return this.ObjectContext.Person_Select().AsQueryable(); // Stored procedure function import&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;Furthermore,&amp;nbsp;a variant to this issue I&amp;#39;ve seen is when I call&amp;nbsp;this&amp;nbsp;DomainService&amp;nbsp;method from a .xaml page: I receive&amp;nbsp;&amp;quot;Enumeration yielded no results&amp;quot;. However, setting a breakpoint on the DomainService method, I can see that in fact a resultset is retreived.&lt;/p&gt;
&lt;p&gt;Any thoughts?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>WSOB: Could not load type 'System.Windows.Controls.ChildWindow' in Application_UnhandledException</title><link>http://forums.silverlight.net/forums/thread/225245.aspx</link><pubDate>Wed, 27 May 2009 15:19:46 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:225245</guid><dc:creator>hudgeo</dc:creator><slash:comments>7</slash:comments><comments>http://forums.silverlight.net/forums/thread/225245.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=225245</wfw:commentRss><description>&lt;p&gt;I started getting the lovely WSOB (White Screen Of Blank) suddenly and noticed that none of my breakpoints were being hit in Application_UnhandledException or any of the loaded / completed events.&amp;nbsp; After checking the FireFox Error Console I noticed the below error. The ErrorWindow worked fine before, not sure why it can&amp;#39;t seem to load it now.&amp;nbsp; Any ideas?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Error: Sys.InvalidOperationException: ManagedRuntimeError error #4004 in control &amp;#39;Silverlight1&amp;#39;: System.TypeLoadException: Could not load type &amp;#39;System.Windows.Controls.ChildWindow&amp;#39; from assembly &amp;#39;System.Windows.Controls, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;#39;.&lt;br /&gt;&amp;nbsp;&amp;nbsp; at ChartSummary.Silverlight.App.Application_UnhandledException(Object sender, ApplicationUnhandledExceptionEventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at MS.Internal.Error.CallApplicationUEHandler(Exception e)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at MS.Internal.Error.GetXresultForUserException(Exception ex)&lt;br /&gt;Source File: http://localhost:64917/ScriptResource.axd?d=WBi8venOLETlDB6tESAGU0h1Tm0LJPDkj6Z6aDs6QRVhE1-7Vmyz7wncruSUXvx7gKH5VKOhNqdOOFRSzKTyKA2&amp;amp;t=3bb1633f&lt;br /&gt;Line: 461&lt;/p&gt;</description></item><item><title>MVVM - Where to invoke WCF?? </title><link>http://forums.silverlight.net/forums/thread/328173.aspx</link><pubDate>Sun, 29 Nov 2009 23:24:11 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:328173</guid><dc:creator>KillStep</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/328173.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=328173</wfw:commentRss><description>&lt;p&gt;I have a WCF service that is referenced in my Silverlight project.&amp;nbsp; In my app I&amp;#39;m trying to follow and obey an MVVM design pattern... I have a DataLayer on the server side, which gets data from my DB and returns a custom class to the WCF service... then the service returns the class to my View Model layer on the Silverlight side.&amp;nbsp; Here is where my question comes in to play - in my ViewModel&amp;nbsp; I have a method that invokes a WCF method that returns a list&amp;lt;customclass&amp;gt;, which works fine...but on the code behind on one of my silverlight controls Im able to invoke the VM method but I get a service not found error...&amp;nbsp; If i invoke the WCF method directly in my code behind then it works fine. Why would this be?&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Let me know if I need to eleborate my question in further detail - sorry if im not clear enough :)&lt;/p&gt;
&lt;p&gt;Just to make sure - what layer do in invoke any WCF service?? from what i understand its in the VM layer of the MVVM pattern... Let me know either way, Thanks in advance!!! &lt;/p&gt;</description></item><item><title>TabControl and setting Focus</title><link>http://forums.silverlight.net/forums/thread/328116.aspx</link><pubDate>Sun, 29 Nov 2009 19:46:17 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:328116</guid><dc:creator>RogerGu</dc:creator><slash:comments>3</slash:comments><comments>http://forums.silverlight.net/forums/thread/328116.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=328116</wfw:commentRss><description>&lt;p&gt;Is there a trick to setting focus to a specific TabItem programatically? It seems to always just go to the first tab.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Roger&lt;/p&gt;</description></item><item><title>Really good Rich Text Demo</title><link>http://forums.silverlight.net/forums/thread/324569.aspx</link><pubDate>Sun, 22 Nov 2009 22:29:38 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:324569</guid><dc:creator>samcov</dc:creator><slash:comments>1</slash:comments><comments>http://forums.silverlight.net/forums/thread/324569.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=59&amp;PostID=324569</wfw:commentRss><description>&lt;p&gt;You&amp;#39;ll have to register to download, but this, using very little code, provides a good demonstration of a simple text editor.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s something you can really expand on for your apps.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.vectorlight.net/tutorials/silverlight_4/richtextarea.aspx"&gt;http://www.vectorlight.net/tutorials/silverlight_4/richtextarea.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;BTW, they have several other demos, like a local file browser, web cam support, etc. on the main page.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>ExpressionBlend Error:  XamlParseException: [Line: 0 Posiion: 0] ???</title><link>http://forums.silverlight.net/forums/thread/328072.aspx</link><pubDate>Sun, 29 Nov 2009 16:30:51 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:328072</guid><dc:creator>sunnyz99</dc:creator><slash:comments>1</slash:comments><comments>http://forums.silverlight.net/forums/thread/328072.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=18&amp;PostID=328072</wfw:commentRss><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;have a Silverlight 3 App wih SIlverlight Nov 09&amp;nbsp;Toolkit. It was working fine in ExpressionBlend 3&amp;nbsp;, then I added a &amp;nbsp;GroupBox Control from here &lt;a href="http://programmerpayback.com/2008/11/26/silverlight-groupbox-control/"&gt;http://programmerpayback.com/2008/11/26/silverlight-groupbox-control/&lt;/a&gt;&amp;nbsp;, since then I can&amp;#39;t seems to open in ExpressinBlend , its still compiling and running fine in VS 2008 ,but not in ExpressionBlend 3. &lt;/p&gt;
&lt;p&gt;Now I have removed all links , dll and usage of GroupBox control from my app, but its till not opening in ExpressionBlend 3, &lt;/p&gt;
&lt;p&gt;Any sugesstions to how to resolve this issue ? &lt;/p&gt;
&lt;p&gt;The detail error I get when I open my Xaml file&amp;nbsp;in Blend is &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;ExpressionBlend Error:&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;XamlParseException: [Line: 0 Posiion: 0]&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;StackTrace:&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;at&amp;nbsp; MS.Internal.XcpImports.MethodEx(intptr ptr, String name CValue[] cvData) at Systems.Windows.UIElement.UpdateLayout()&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;InnerException: None&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your support.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>NavigationService and going back...</title><link>http://forums.silverlight.net/forums/thread/328143.aspx</link><pubDate>Sun, 29 Nov 2009 20:50:19 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:328143</guid><dc:creator>ehcarleton</dc:creator><slash:comments>3</slash:comments><comments>http://forums.silverlight.net/forums/thread/328143.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=328143</wfw:commentRss><description>&lt;p&gt;I am working on a image viewer.&amp;nbsp; One XAML page displays the large image and allows the user to flip through all the images.&amp;nbsp;&amp;nbsp;The user can also navigate away from the page.&amp;nbsp; Right now, when the NavigationService.GoBack() method is used, it returns the user to the first image in the gallery.&amp;nbsp; Is there any way to set a back entry URI before leaving the image gallery so that when the user navigates back, they return to the image they had be viewing?&lt;/p&gt;
&lt;p&gt;Sam&lt;/p&gt;</description></item><item><title>Does .NET support Wi-Fi or bluetooth?</title><link>http://forums.silverlight.net/forums/thread/328158.aspx</link><pubDate>Sun, 29 Nov 2009 22:17:04 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:328158</guid><dc:creator>brightstar</dc:creator><slash:comments>1</slash:comments><comments>http://forums.silverlight.net/forums/thread/328158.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=328158</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m working at my student science-work, which names &amp;quot;Mathematical
modelling of physical problems on PC, based on an example of
calculation of the direct current branched out chains using the
Kirchhoff&amp;#39;s circuit laws&amp;quot;.&lt;br /&gt; &lt;br /&gt; I shall buy some microcontrollers.&lt;br /&gt; &lt;br /&gt; I want to get the value of direct current in branch, then send it to the program in PC via Bluetooth.&lt;br /&gt; &lt;br /&gt;
And I want to know! Is there any .NET library, which works with
bluetooth or Wi-Fi, or IrDA? Because I want to show the mathematical
modelling in my .NET program and then save the values in Access database and then via Web-Services read it and show it in my Silverlight application. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Change one cells value in DataGrid</title><link>http://forums.silverlight.net/forums/thread/328150.aspx</link><pubDate>Sun, 29 Nov 2009 21:21:04 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:328150</guid><dc:creator>Silverlight Web Developer</dc:creator><slash:comments>2</slash:comments><comments>http://forums.silverlight.net/forums/thread/328150.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=328150</wfw:commentRss><description>&lt;p&gt;I know how to bind an itemsource to a DataGrid like below. In the below code I am binding emtpy strings for&amp;nbsp;10 rows and 2 columns.&lt;/p&gt;
&lt;p&gt;What I wonder is how it is possible to change for example only one cells value. For example if I would put the string &amp;quot;Hello&amp;quot; on the 2:nd row in Column 2. What is the technique to change one cells value.&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;b id="1"&gt;1    &lt;/b&gt;            List&amp;lt;rItem&amp;gt; List1 = &lt;span class="kwd"&gt;new&lt;/span&gt; List&amp;lt;rItem&amp;gt;();
&lt;b id="2"&gt;2    &lt;/b&gt;            
&lt;b id="3"&gt;3    &lt;/b&gt;            &lt;span class="cmt"&gt;&lt;strong&gt;//Put some rows to DataGrid&lt;/strong&gt;&lt;/span&gt;
&lt;b id="4"&gt;4    &lt;/b&gt;            &lt;span class="kwd"&gt;for&lt;/span&gt; (&lt;span class="kwd"&gt;int&lt;/span&gt; i = 1; i &amp;lt; 10; i++)
&lt;b id="5"&gt;5    &lt;/b&gt;            {
&lt;b id="6"&gt;6    &lt;/b&gt;                rItem d1 = &lt;span class="kwd"&gt;new&lt;/span&gt; rItem{ r1 = &lt;span class="st"&gt;&amp;quot;&amp;quot;&lt;/span&gt;, r2 = &lt;span class="st"&gt;&amp;quot;&amp;quot;&lt;/span&gt; };
&lt;b id="7"&gt;7    &lt;/b&gt;                List1.Add(d1);
&lt;b id="8"&gt;8    &lt;/b&gt;            }
&lt;b id="9"&gt;9    &lt;/b&gt;            DataGrid1.ItemsSource = List1;
&lt;/pre&gt;&amp;nbsp;</description></item><item><title>Accessing a WCF REST service via silvelight</title><link>http://forums.silverlight.net/forums/thread/327984.aspx</link><pubDate>Sun, 29 Nov 2009 08:29:26 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:327984</guid><dc:creator>arunairs</dc:creator><slash:comments>5</slash:comments><comments>http://forums.silverlight.net/forums/thread/327984.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=46&amp;PostID=327984</wfw:commentRss><description>Hi,
  I have implemented a REST based WCF service using the WCF REST starter Kit at http://localhost:2772/Service.svc/1 which executes fine in the web browser. 

But when I try to invoke it via a silverlight app, I run into problems. From my silverlight app. I invoke it thus:



 WebClient client = new WebClient();
            client.DownloadStringCompleted += new DownloadStringCompletedEventHandler(client_DownloadStringCompleted);
            client.OpenReadCompleted += new OpenReadCompletedEventHandler(client_OpenReadCompleted);
            client.OpenReadAsync(new Uri(&amp;quot;http://localhost:2772/Service.svc/1&amp;quot;));

where my OpenReadCompleted event handler is :

void client_OpenReadCompleted(object sender, OpenReadCompletedEventArgs e)
        {
            Stream stm = e.Result;
            string t = stm.ToString();
            t.ToLower();
        }



The inner exception in the above method I get is (on the line: Stream stm = e.Result; )
When deploying an office solution, check to make sure you have fulfilled all the security requirements:
The full exception thrown is :



{System.Security.SecurityException ---&amp;gt; System.Security.SecurityException: Security error.
   at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
   at System.Net.Browser.BrowserHttpWebRequest.&amp;lt;&amp;gt;c__DisplayClass5.b__4(Object sendState)
   at System.Net.Browser.AsyncHelper.&amp;lt;&amp;gt;c__DisplayClass2.b__0(Object sendState)
   --- End of inner exception stack trace ---
   at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
   at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
   at System.Net.WebClient.OpenReadAsyncCallback(IAsyncResult result)}

What am I doing wrong here?

Thanks,
Arun</description></item><item><title>tab into textbox and selected text</title><link>http://forums.silverlight.net/forums/thread/328126.aspx</link><pubDate>Sun, 29 Nov 2009 20:02:39 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:328126</guid><dc:creator>steyoung</dc:creator><slash:comments>1</slash:comments><comments>http://forums.silverlight.net/forums/thread/328126.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=328126</wfw:commentRss><description>&lt;p&gt;This one seems such a noob question but, here goes...&lt;/p&gt;&lt;p&gt;I have a dataForm with a bunch of textboxes on it. I&amp;#39;ve got the data bound to it and it populates fine. I want the user experience to be: they tab through all the textboxes - and change things as required. As the focus comes into a textbox, I want all the data in it to be selected/highlighted so if they start typing, it&amp;#39;ll replace the data, and if they want to change something specifically, they can use the mouse to get it highlighted etc.&lt;/p&gt;&lt;p&gt;On my dataForm, as the cursor comes into a textbox, none of the text is highlighted and the cursor is sitting to the left of the first character in the textbox.&lt;/p&gt;&lt;p&gt;How can I get the behavior I want (without hopefully resorting to code behind for each textbox!).&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Steve &lt;br /&gt;&lt;/p&gt;</description></item><item><title>show image like slides</title><link>http://forums.silverlight.net/forums/thread/327640.aspx</link><pubDate>Fri, 27 Nov 2009 21:16:21 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:327640</guid><dc:creator>hossen.aftabi</dc:creator><slash:comments>4</slash:comments><comments>http://forums.silverlight.net/forums/thread/327640.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=327640</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;if you see the first of &lt;a href="http://www.silverlight.net/"&gt;www.silverlight.net&lt;/a&gt; can see that many pictures show after another&lt;/p&gt;
&lt;p&gt;can you help my for make like it?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;</description></item><item><title>Add one column dynamically in datagrid</title><link>http://forums.silverlight.net/forums/thread/328100.aspx</link><pubDate>Sun, 29 Nov 2009 18:32:10 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:328100</guid><dc:creator>Silverlight Web Developer</dc:creator><slash:comments>6</slash:comments><comments>http://forums.silverlight.net/forums/thread/328100.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=328100</wfw:commentRss><description>&lt;p&gt;I have a dataGrid that consists of 2 databinded columns.&lt;em&gt;(r1 and r2)&lt;/em&gt;&amp;nbsp;This is hardcoded like below. What I will need to do is to add one column dynamically in C# code that also have a databound property called r3. &lt;/p&gt;
&lt;p&gt;How can that be done using C# code ? The new column will then keep these properties:&lt;/p&gt;
&lt;p&gt;&lt;font color="#ff0000"&gt;CellStyle=&lt;/font&gt;&lt;span class="attrv"&gt;&lt;font color="#0000ff"&gt;&amp;quot;{StaticResource CellStyle}&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="attr"&gt;&lt;font color="#ff0000"&gt; Width=&lt;/font&gt;&lt;/span&gt;&lt;span class="attrv"&gt;&lt;font color="#0000ff"&gt;&amp;quot;Auto&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="attr"&gt;&lt;font color="#ff0000"&gt; Foreground=&lt;/font&gt;&lt;/span&gt;&lt;span class="attrv"&gt;&lt;font color="#0000ff"&gt;&amp;quot;White&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="attr"&gt;&lt;font color="#ff0000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;span class="attr"&gt;&lt;font color="#ff0000"&gt;IsReadOnly=&lt;/font&gt;&lt;/span&gt;&lt;span class="attrv"&gt;&lt;font color="#0000ff"&gt;&amp;quot;True&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="attr"&gt;&lt;font color="#ff0000"&gt; Binding=&lt;/font&gt;&lt;/span&gt;&lt;span class="attrv"&gt;&lt;font color="#0000ff"&gt;&amp;quot;{Binding r3}&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;pre class="coloredcode"&gt;&lt;b id="1"&gt;1    &lt;/b&gt;        public class BindingClass1
&lt;b id="2"&gt;2    &lt;/b&gt;        {
&lt;b id="3"&gt;3    &lt;/b&gt;            public string r1 { get; set; }
&lt;b id="4"&gt;4    &lt;/b&gt;            public string r2 { get; set; }
&lt;b id="5"&gt;5    &lt;/b&gt;        }
&lt;b id="6"&gt;6    &lt;/b&gt;
&lt;b id="7"&gt;7    &lt;/b&gt;        &amp;lt;&lt;span class="tag"&gt;data:DataGrid&lt;/span&gt;&lt;span class="attr"&gt; x:Name=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;a1&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; GridLinesVisibility=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;All&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt;  RowStyle=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;{StaticResource DataGridRowStyle1}&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Background=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Black&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; VerticalAlignment=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Bottom&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Margin=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;0,0,0,-25&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; AutoGenerateColumns=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;False&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; RowBackground=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;#AA000000&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; HorizontalGridLinesBrush=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;#FF141414&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; VerticalGridLinesBrush=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;#FF141414&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Foreground=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;White&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; BorderThickness=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;   &amp;gt;
&lt;b id="8"&gt;8    &lt;/b&gt;            &amp;lt;&lt;span class="tag"&gt;data:DataGrid.Columns&lt;/span&gt;&amp;gt;
&lt;b id="9"&gt;9    &lt;/b&gt;                 &amp;lt;&lt;span class="tag"&gt;data:DataGridTextColumn&lt;/span&gt;&lt;span class="attr"&gt; CellStyle=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;{StaticResource CellStyle}&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Width=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Auto&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Foreground=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;White&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; MaxWidth=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;35&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; MinWidth=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;25&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; IsReadOnly=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;True&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Binding=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;{Binding r1}&amp;quot;&lt;/span&gt;/&amp;gt;
&lt;b id="10"&gt;10  &lt;/b&gt;                 &amp;lt;&lt;span class="tag"&gt;data:DataGridTextColumn&lt;/span&gt;&lt;span class="attr"&gt; CellStyle=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;{StaticResource CellStyle}&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Width=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Auto&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Foreground=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;White&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Header=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;S&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; IsReadOnly=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;True&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Binding=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;{Binding r2}&amp;quot;&lt;/span&gt; /&amp;gt;
&lt;b id="11"&gt;11  &lt;/b&gt;            &amp;lt;/&lt;span class="tag"&gt;data:DataGrid.Columns&lt;/span&gt;&amp;gt;
&lt;b id="12"&gt;12   &lt;/b&gt;        &amp;lt;/&lt;span class="tag"&gt;data:DataGrid&lt;/span&gt;&amp;gt;
&lt;/pre&gt;&amp;nbsp; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Deep zoom in ASP.net</title><link>http://forums.silverlight.net/forums/thread/327695.aspx</link><pubDate>Sat, 28 Nov 2009 01:18:28 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:327695</guid><dc:creator>green3</dc:creator><slash:comments>5</slash:comments><comments>http://forums.silverlight.net/forums/thread/327695.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=327695</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am new to Deep Zoom. I create my composition and exported&amp;nbsp; it but not as a silver light project. I edited the xml file so the image path are mapped to directory in my project. When I run the project, I can see the images, but when I deploy it, images don&amp;#39;t show up.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Could someone tell me what I do wrong here?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks for your help.&lt;/p&gt;
&lt;p&gt;K&lt;/p&gt;</description></item></channel></rss>