silverlight

Making canvas bigger and getting keyframes via C#

Hi, In Silverlight, how can I make the size of the canvas in a new project larger? Also, how do I get a specific keyframe from a collection of keyframes via C#? I am sure there is some sort of object with an indexer for this. Thanks ...

Get radiobuttons of group in Silverlight 3

I have a Silverlight 3 application, and it has radiobuttons grouped using the GroupName property. What I would like to do in the code is retrieve all the radiobuttons that are part of a specified group. Is there an easy way to do this, or would I need to iterate over all the controls? Thanks. ...

Silverlight date format using users locale?

Is there a way to force Silverlight to use the users locale settings when presenting dates in a datagrid? JD. ...

Calling ASP.Net or WCF Service from Silverlight

Hi All, I am new to Silverlight. In Silverlight, we can get data from server using ASP.Net (using WebClient and HTTPWebRequest classes in Silverlight) and using WCF Service. Assuming that I do not need the cross domain capability, what is a good option in terms of Security and ease of development? Thanks for reading the post. Pavan ...

Linq to build hierarchical list

I have a method that retrieves a set of records from a database. I map this data to a business object - let's call the business object ProcessModel. One of the properties in ProcessModel is a list, called ProcessChildren. The property is List. So, the data is linked by various fields/properties. There is one object at the top of the...

Limit panning only to visible image area in Silverlight MultiScaleImage

Silverlight experts out there, I need some help. I used Deep Zoom Composer to generate the Silverlight application for a large map image(20MB+) for a client. But the client does not want the people to pan to the black areas that are out of the bounds of the image in the MultiScaleImage. How can i do that? Thanks! ...

Do I need to have a separate Visual Studio 2010 project for services, classes, website and Silverlight app?

I am starting a new Silverlight 3 project in Visual Studio 2010. My plan is to have a project for each of these: The Silverlight application The hosting web application The WCF service This last one will also contain a typed dataset (that will serve as my data logic layer) and a few classes to do my business logic. The WCF service meth...

System.ExecutionEngineException PropertyChanged

Hello, If anyone can provide some help for this one, I'd be very grateful! We are using: Silverlight 3 / MVVM / Blacklight DragDock Control / ComponentOne Silverlight Controls I have a Silverlight application that relies heavily on the MVVM pattern. The application has seemingly been running fine, until recently. I have started to no...

How do you get a dimension of an Array as an Array from a 2D array?

I have this 2D array: Private _Chars As String(,) = {{"`", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "-", "="}, {"¬", "!", """", "£", "$", "%", "^", "&", "*", "(", ")", "_", "+"}} I want to Pass a Dimension (ie. the First Line) into a Function, or the Second Line into a function to switch be...

Silverlight: How to apply an effect to a user control

Hi there, I have a DataGrid and I need to apply an effect to a cell depending on the value of the cell. Not sure how to do it. I have the effect writen in code but am not sure not to apply it. What i want to end up with is myTextBlock.Effect = myDropShadowEffect; How can i achieve this? Do I first say If so, how do I define "MyEff...

Error using ResourceDictionary in Silverlight

In my Silverlight app I have UserControl and I want to reference a StaticResource in a ResourceDictionary that is in a separate XAML file. My UserControl looks like this: <UserControl x:Class="ResourceDictionaryHeadache.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsof...

Silverlight DataGrid - Binding to a Collection of Collections of objects.

Problem: The data I'm trying to display is essentially a collection of collections of some object. So the rows can be any number, normal for a datagrid, and the columns are also any number. That's not so normal for a datagrid. Usually you have a set number of columns and your rows vary. The datagrid cell will be either a string or a valu...

Pitfalls in using Silverlight for a spreadsheet-type web application module?

This question contains a lot of background information, to make sure you fully understand why we are looking at these technologies. The question is basically this: For a large, spreadsheet-type, module that we need to develop for our webmodule for our application, are there any pitfalls we should know about if we decide to use Silve...

Resizing controls on a canvas

I have a Silverlight (v3) application that users can drag controls (e.g. Shapes, Images) onto, change the fill colour, drag around etc I am looking for the best method to allow the user to click on a control, give a visible indication that the control can be reiszed (e.g. display resize handles) and then handle the resizing. I have pla...

Silverlight 3 Datagrid: Template rows container

Is it possible to template the container for datagrid rows so that they can wrap horizontally? eg in the ItemsControl you can simply change the ItemsPanel to use a WrapPanel. I can't use a ItemsControl because I want to use the Grouping support in the DataGrid when bound to a DomainDataSource. ...

Silverlight service reference deployment

Hi all. Im having issues deploying a silverlight 3 application for the first time. The issue is with a service reference, the Authentication one. This all works fine locally inside of VS 2008. I cannot add new service and discover the hosted one. Eg the localpath is http://localhost:9626/Services/AuthenticationService.svc But if i ...

How to Reset Silverlight View in ViewModel Without Creating New Instance

In my application, I instantiate a new instance of my view in its associated viewmodel's constructor. I also have some events to subscribe to with an event aggregator. public class FooViewModel { private FooView TheView { get; set; } private IEventAggregator Aggregator { get; set; } public FooViewModel() { Aggre...

How to perfrom video editing with Silverlight?

I would like to port an ActiveX of mine (to Silverlight) that have the following features: Embedding a logo image in any video file. Embedding subtitles in any video file. Cropping any video file (for example: cropping 10 seconds of a 1 min. video). Save the video file result (by the current encoders of the client). The current Activ...

Is there any way RIA Services Query Method can take Entity as Parameter?

I have zero way to pass a query to RIA Services. You see; I have the unfortunate task of running NHibernate over Oracle, behind RIA Services and are not using NHibernate.Linq. So, is there any way, any way at all to pass a object, my request object, back to a query? ...

Language Parser in Silverilght

I need to write parser for some specific language (subset of SQL). As I know, the easiest way to do this is to define grammar in BNF and use yacc-like tool (I have positive experience with GPPG). But when I started, I've realized that these tools produce parser with dependency on some core parser assemblies (e.g. ShiftReduceParser.dll fo...