Skip to main content

Microsoft Silverlight

Advanced Forum Search Results

  • Re: DTDs are not allowed

    I dont know anything about godaddy.com but on my own machine I got the same error until I opened IIS Manager, went to we server extensions, and allowed ASP.NET.  Stephen
  • Re: Threading in Silverlight

    OK, Meanwhile I have a very "elegant" workaround for a timer. I simply make a non visible canvas and start a storyboard animation with the desired duration and my callback is called when the "timer" is up. Stephen
  • Re: Web Services problem

    You should probably still be able to take the first approach. I dont think it requires IIS. You can then choose "View in Web Browser" from within Visual Studio. Step 2 is not required unless you want to be able to browse to it (which you obviously cant do without IIS) Stephen
  • Re: Web Services problem

    I have exactly the same problem (using Orcas in Server 2003). For now I have workaround. 1)Follow the approach used in the Quick Start ( http://silverlight.net/QuickStarts/Other/Download.aspx ) you can then at least choose "View Page In browser" from within Visual Studio and it works.  2)After doing 1 Publish the website ...
  • Threading in Silverlight

    I see that Silverlight supports threads (System.Threading.Thread) and timers (System.Threading.Timer). What approach does silverlight use for threads to interact with the UI? I tried to use them and get a SystemUnathorizedAccessException - Invalid cross-thread access when I make a call from the thread that interacts with the UI. Windows forms ...
  • Cant get Image size

    I am trying to dynamically load a picture into an Image and then find out what the image size is (to adjust scrollbars appropiately). I added a Loaded event handler to the image but when I query the image for its width in that function I get 0. (If I query the image for its size later, I do get the correct results, but I want to automatically ...
  • Re: Bug in Button sample from Silverlight.Samples.Controls

    That did fix it. Thanks Stephen
  • Re: Drag and Drop question

    Thanks, Mark. I did see the javascript example before posting my question but when actually coding it in C# I mistakenly tried calling CaptureMouse on the framework element returned from InitializeFromXaml instead of on the sender. That just made things worse. Stephen
  • Bug in Button sample from Silverlight.Samples.Controls

    I am using the button from the sample controls in the SDK ( See http://silverlight.net/GetStarted/ ) and found that for a small button (in my case Width = 25) it incorrectly gets mouse enter events when the mouse is far to the right of the button. Besides being annoying, it causes problems for me since I have the button on top of another ...
  • Drag and Drop question

    I am implementing drag and drop to allow the user to drag around a custom control and while it almost works, if the user moves to quickly, the mouse goes off my control and I stop getting mouse move events. My current work around is to end the drag on mouse leave but I would much rather not have the mouse run away. Does anybody have any ...
1 2 Next >
Microsoft Communities