In my quest to develop a pretty data-driven silverlight app, I seem to continually come up against some sort of race condition that needs to be worked around. The latest one is below. Any help would be appreciated.
You have two tables on the back end: one is Components and one is Manufacturers. Every Component has ONE Manufacturer. ...
A call from a Silverlight 2.0 control to a WebService, returned via MyWebServiceNameEventArgs is not returning contained List<> aggregates. For Example, I've got a Person class that has a List and List. When I trace the call I see that the person has the lists are populated appropriately. However, when it arrives via the MyWebServiceN...
Is is possible to create silverlight content in C# using Visual Studio 2005 Professional or Visual Studio 2008 Express Edition? I can't find an answer on Microsoft's web site. Thanks for any help!
...
I'm having a problem with this this XAML... When I run it, it hangs because of the TextBox. (By "hangs" I mean that the hosting aspx page shows in the browser, but the usercontrol object will not appear on the page, and there are some little green bars in the bottom of the Internet Explorer window that fill up but never go away.) I hav...
I want to build up styles in XAML, e.g.
<UserControl.Resources>
<Style x:Key="MyStyle" TargetType="TextBlock">
<Setter Property="Margin" Value="2,2,2,2" />
<Setter Property="Foreground" Value="DarkRed" />
</Style>
<Style x:Key="MyBoldStyle" TargetType="TextBlock">
<Setter Property="Style" Value="{Stat...
I'm working on a silverlight app. When the app loads it starts a complicated layout procedure that takes about 10 seconds to
Load the Dataset via web service
Create objects
Place objects
Download photos
Connect objects
I am unable to show the user any sort of progress indicator that all this is happening. With the exception of ste...
Hi, I am trying to implement a Silverlight 2 client application that takes data from a server via socket-based communication.
I've heard that in Silverlight 2, this process is more complicated due to the fact that it is required to use a policy server, and that could slow down my application, not to mention that each string passed throu...
Sorry if this is generic in nature, but I have a question that maybe is related to my lack of understanding of some core underlying rules of .NET and Silverlight.
I have a basic project at the moment that simply:
An ASP.NET generic handler writes out XML
Within Silverlight, I am using the WebClient object to get the XML output, in fac...
I'm building a custom control in Silverlight by deriving from ContentControl and doing some special formatting to put a dropshadow behind the contents.
I've nearly got it working but have recently ran into a bizarre error. It works fine if it contains anything besides a Border, or a Grid/Stackpanel/etc that does not have an explicitl...
When a MessageBox is being displayed from Silverlight, any calls to a WCF service being executed in a BackgroundWorker are blocked. The OpenFileDialog.ShowDialog allows these calls to go through. Is the browser (IE7) blocking network access during a MessageBox?
We can create our own modal window, but this causes developer code to ch...
To save me writing the code, does anyone know of a source for utility code for working with Silverlight canvases? I am thinking of code that determines bounding boxes for content, content within clipped bounds, easy access to Transforms etc.
...
I have developed a SL2 application for a client (whose computers are under pretty heavy lockdown via group policies). The SL2 application has worked fine for everyone except the client.
The client is using WinXP + IE7 and has the SL2 runtime installed.
On the client's machine the following error pops up:
Error: Unhandled Error in Silv...
In ASP.NET, one finds themselves often writing code like:
foreach(DataListItem item in theDataList.Items){
MyUserControl foo = item.FindControl("myUserControl") as MyUserControl;
foo.DoSomethingNice();
}
In Silverlight, how can one iterate through the constituent controls of a DataGrid (or other collection bound control)? I w...
I am trying to create a custom panel that utilizes absolute positionioning but will re-arrange items so that none of the children overlap. This panel will be used for the ItemsPanel of an ItemsControl. The ItemsControl is bound to data that is displayed as an inset on a map for various cities so the goal is to keep the insets as close to...
Hello:
I'm pretty mightily surprised and sheepishly stumped:
Have a new UserControl backed by UserControl01.cs that is exposing two properties. One is a plain old CLR property, the other the newer DP property format.
eg:
string PropertyOne {get;set;}
and the second property is a public DP (construct is too long to list here).
From ...
hello,
thanks for quick reply
i am new to silverlight.
i am learning basics of silverlight now.
but i need to implement image rotation and drop&drop from one position to another position,editing,resize,zoom in & zoom out as soon as possible.
Can you just explain image rotation,drag&drop with corresponding code samples.
Please as soon as ...
Hello,
i am new to silverlight, learning basics now.
But i need to implement 3D image manipulation(drag&drop,editing,rotation,resize,zoom in & zoom out).
Please explain with corresponding code samples,attachments .
Please as soon as possible.
...
Hi, I've got a problem here.
I've got an ASP.net website hosting a silverlight 2 application.
I'd like the site to communicate to and fro from the silverlight app, and I'm doing this via http requests. Incidentally, if anyone knows a better way, please do tell me.
My server's got the following http listener set up. I copied this from a...
Hi,
I am using silverlight client with ado.net dataservices on entity framework.
I have an Entity Contact and an Entity Address which is related with a foreign key relation ship...
A contact can have 1 or more Adresses but a Address needs always at least 1 contact..
pretty basic...
I have a Repository for my contacts and Address which...
Our IT guys haven't worked with Silverlight 2.0 yet and I am asking them to roll it out across the organisation. They would like to see a document from Microsoft that describes the security implications for the network. Can anyone point me to one?
...