silverlight

How can I add a ClientAccessPolicy.xml file to the SharePoint 2010 root folder?

In a Visual Studio 2010 SharePoint (2010) project, we can add mapped SharePoint folders, including the {SharePointRoot} folder. When I deploy my project, I can see that the root files end up in the 14-hive, but they never appear in the web site root. What I really want to accomplish to unit test my Silverlight application which communic...

Newbe Silverlight Questions

I have an app I'd like to run in the browser but do not want to deal with the fairly primitive development environment that the browser is. I have a few high level questions about Silverlight 3 (I've never used it): 1) What environments/browsers support Silverlight 3? 2) Would my users (who would be world-wide) have to install Silverli...

Why would a developer use Silverlight?

I know virtually nothing about Silverlight. I'm considering creating a browser based app and really don't know if it should be built using Silverlight or ASP.NET (which I am familiar with). I'm curious as to the reasons why a developer chooses to use Silverlight. Thanks very much. ...

RIA Services and Relationships in Silverlight 3

I've finally managed to get a handle on loading information using Silverlight, ADO.NET Entities, and RIA Services, but I'm still having a problem with getting the information about the relationships. For instance, imagine a product, and that product has several categories of attributes. We'll call them ProductAreas. The Product object...

Creating "flippable" content in Silverlight

I'm currently trying to build my personal website with Silverlight 3 and I've got this idea that you should be able to flip through the content in a certain way. I haven't seen exactly what I wanted before, so I uploaded a screenshot of the design for you guys to get a better idea of what I'm talking about: As you can see it's more or...

Silverlight swing effect in web template?

Can anyone tell how this check this link here (swing) effect is given in this web template of Silverlight? Is there any open source project or template like this? ...

What are the split characters in Silverlight's TextWrapping?

The TextWrapping feature in Silverlight is described here. However, I'm trying to find out the details of their line-breaking algorithm. Obviously a space will cause the text to break (or split), encouraging the text to wrap to the next line. And through trial and error I've found that these characters also cause a split: \t (tab) -...

Attach an event to a property when changed

Is there any feature of c# (silverlight) in which I can watch a property of a usercontrol for when there is any changes made without using dependency properties? I want one that is not static. ...

WPF/Silverlight Text Effect

Notice in the image below the 1px highlight below the text in the grey panel. How could this be achieved with WPF/Silverlight? . ...

WPF/Silverlight layout best practice

What would the best practice be for laying out the following item? . I am particularly interested in what controls I should use and how I position the delete icon to appear on the right-hand side and the tools icon to appear in the middle always? Thanks in advance. ...

Silverlight and MikesFlipControl

I would like to know when using some third party silverlight controls that are a container control why the controls that are conatined within them are not accessable in code behind. until the control is loaded. The example I am looking at is when using the FlipControl written by Mike Taulty. Whehn I use his control and place a grid in ...

Silverlight Applications - How are they updated?

I'm new to Silverlight and am curious how a Silverlight application is updated from one version to the next. Is ClickOnce used to do this, or are there other, hopefully transparent simple and reliable, ways of doing it? ...

How can Global.asax Application_Start fire multiple times

I have a Silverlight application hosted in an ASP.NET page. I need to do some processing when the application first starts up and start up some background processes (various periodic checks). I thought that the Global.asax Application_Start event would be a good place to do this, but I find that the Application_Start fires multiple time...

.NET Compact Framework - Displaying Silverlight Websites

Hello, I'm building a Windows Mobile application, based on WM 6.5 Professional SDK. I need to display a website created with Silverlight, but standard WebBrowser Control doesn't seem to support Silverlight. Is there any other way, to display Silverlight websites? Any other controls? Thanks in advance for any help, MattheW ...

Silverlight, dealing with Async calls

Hi there, I have some code as below: foreach (var position in mAllPositions) { DoAsyncCall(position); } //I want to execute code here after each Async call has finished So how can I do the above? I could do something like: while (count < mAllPositions.Count) { //R...

Setting focus on a control in a Silverlight DataGrid with a RowDetailsTemplate

In Silverlight 3, I'm using the Silverlight toolkit's DataGrid control with a RowDetailsTemplate. In my template I've got some controls that will allow the user to edit the row. I want to set focus to the first control when the template is loaded for the row. I've got this working for the first row, but there seems to be a bug with sett...

webclient methods not available to my Silverlight application

Trying to do basic webclient data pull in C#, and the methods are not available in visualstudio, and the code is not compiling. //snip WebClient client = new WebClient(); byte[] resp = client.DownloadData(url); //snip Error 1 'System.Net.WebClient' does not contain a definition for 'DownloadData' an...

Sorting a databound Silverlight DataGrid

I have a databound Silverlight DataGrid control that I am trying to sort. I am using RIA services (beta) for my data source, if that makes any difference. I am quite new to databinding in Silverlight, so this might be something really obvious that I've missed, but I can't seem to find any info on it. I want to be able to set the binding...

silverlight with javascript

when i m trying to invoke javascript function which is present in my default.aspx page, it is showing some error --> Failed to Invoke: TalkToJavaScript. coding in my silverlight page is-- public MainPage() { InitializeComponent(); HtmlPage.RegisterScriptableObject("Page", this); HtmlPage.Window.Invoke("...

Third party components for both WPF and Silverlight

I tried Xceed datagrid for WPF and liked it, but the problem is that this vendor doesn't have similar control for Silverlight. It seems for me that it's not very convenient to buy it from some another company and have components from different vendors for such close thechnologies as WPF and Silverlight. Could you share your thoughts and...