I noticed a few tweets this morning about a new version of Silverlight having been released - Silverlight 2 GDR 1 (2.0.40115.0). Details of what/why/should I target it/is it backward compatible/etc seem incredibly thin on the ground.
Hitting this Silverlight page on Microsoft.com tells me my version (RTW) is now out of date and I shoul...
Hi,
I get an exception error when I F5/Build any Silverlight project within Expression Blend 2:
Launch Error
Could not start ""
due to the following error: System.ComponentModel.Win32Exception: The
system cannot find the file specified
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo
startInfo)
at System.Diagno...
Hi, I've made a simple storyboard that takes a particular ListBoxItem and lets it grow by a factor of 1.3. I'd like to add this animation to every ListBoxItem I create dynamically so that it can be activated when it gets a mouse-over, but the storyboard seems to be hardcoded to that first item:
<Storyboard x:Name="ListItem_MouseEntered...
I have a simple Grid control in my silverlight page. One of the cells in the grid is supposed to house a web page. As there is no web browser control, I have added an IFRAME to the HTML page and I modify the size and position of the IFRAME after loading so it looks like it is in the grid cell.
I also have a GridSplitter that I use to al...
What is the correct pattern or method for developing a Silverlight application (which is the Silverlight project and Web Application in a single solution)? I mean, how do you add the Service Reference if the localhost port number will be constantly changing?
Thanks.
...
What is the proper way to pass an answer (a collection) back to Silverlight?
For example, if I have a service application that sits on top of the Northwind sample database and the service has a method called GetEmployees(). What is the proper "thing" to pass back to Silverlight? An IQueryable ?
Then considering the Async/Result casting...
Is anyone using the SLExtensions command pattern (http://www.codeplex.com/SLExtensions) for associating commands to Silverlight control events? From what I've seen, you can only attach a command for one event per control. For example, you can only add a click event for a button, a keydown event for a textbox, etc.
What if I wanted to a...
I make calls to a WCF service from my silverlight application.
I am doing this asynchronously and I am not blocking execution after making the async. call (that means, I am not using wait-join mechanism frm this page). I do not want the flow to get blocked.
However, I would like to detect that the WCF call has gone into a wait state so ...
If you read the release notes from the Feb 18th release of Silverlight, you will see a line that states:
graceful failures when attempting to use features that require .Net Framework 3.0 or 3.5 on machines that do not have either framework installed
What does this mean? Surely Silverlight has no direct dependencies to the full .Net 3....
I'm programmatically adding a UserControl to another in Silverlight 2 by adding it to the parent control's "Children" collection. At first this works fine. If I do something else to the window (in my case I'm scrolling the entire panel out of view then back into view) then it apparently changes the render order and causes my control to ...
0 vote down
star
1
I want to be able to share my datacontracts (classes generated in the linq to entities designer are decorated with the [DataContract] attribute.
I'm trying to use the architecture as detailed here: http://www.netfxharmonics.com/2008/11/Understanding-WCF-Services-in-Silverlight-2 and trying to reference my interfaces...
Ok, I have a pretty complex silverlight app that gets its data from a WCF service (asp.net hosted service layer) which in turn calls into a data layer that calls stored procedures in a SQL 2005 DB to extract the needed data. So the round trip goes like this:
Silverlight App --> WCF Service --> Data Layer --> DB --> Data Layer --> WCF S...
Does anyone know of any commercial web sites that currently use Silverlight other than Microsoft's own sites?
...
Using WPF I've succeeded at implementing drag and drop to rearrange items within a list(view or box) and also to drag and drop items between lists.
Now I am trying figure out how to implement drag and drop with NESTED lists.
For instance I have a listview containing projects and each project item contains another listview of tasks. I ...
Hi Could any body help me out to this question.I am getting the Launch error in Microsoft Expression Blend2...?
I get an exception error when I F5/Build any Silverlight project within Expression Blend 2:
Launch Error
Could not start ""
due to the following error: System.ComponentModel.Win32Exception: The system cannot f...
Does anyone know of a simple WPF or Silverlight framework which enables you to e.g. define some database tables in e.g. SQL Server compact database and then the framework automatically creates the Window classes etc. which allows a user to login and edit that data?
I'm not looking for a complicated MVVM pattern example, it can be hard c...
I have been using the following code to obtain a simple web response from Apache 2.2 in SilverLight to no avail.
private void bDoIt_Click(object sender, RoutedEventArgs e)
{
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(new Uri("/silverlight/TestPage2.html"));
request.Method = "POST";
requ...
Just wondered if anyone could give me some advice on the best way to implement keyboard shortcuts within a Silverlight based project.
Can this be done from the xaml or is it best implemented within the code behind etc...
Thanks in advance.
...
I am dynamically generating an image through code behind in Silverlight and apparently the image source doesnt accept string nor Uri as a path. How can I set the source?
...
Hi, I'm making a silverlight app that when the user does a mouse-over some tab bars, he/she will see a preview of the page it will link to. The reason for this preview is that just having a visual miniature of the page is often enough to make the desicion for the user. How do I in Silverlight make a control that simply displays a webpage...