silverlight

Should I learn Silverlight or JavaScript/JQuery/CSS/HTML?

I'm a seasoned desktop developer working in C++/C#/WinForms/etc. Up until this point, I have done very little in terms of web development. I've come to the point in my career where I feel like I should start doing web development - not to replace my desktop experience but to become more well rounded as a developer. I already know so...

Silverlight accessing secured Webservice

I'm trying to get a Silverlight application to connect to a Java webservice using a service reference. I've come to the conclusion that Silverlight doesn't work the same way as as WPF or ASP.NET with respect to service connectivity. I've searched the net and all I found for authentication was articles talking about securing the applica...

Silverlight Custom User Controls and Dependancy property Issue.

I have a custom user control named Field: <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="*"/> </Grid.RowDefinitions> <TextBlock Grid.Row="0" Grid.Column="0" Name="LblName"/> ...

Silverlight/WCF login session

I am working on a system with Silverlight and using WCF to call services to do all of the work on the server side. I need to have a user log into the system, and once they are verified, all calls to the server need to contain the user info so the server can check security policies and do other operations based on the user. What is ...

xaml How reference a dynamic resource not as a attribute but as an element

I have an image I need to use in my application in several places. I want to define the image just once in a resource dictionary, and have my other xaml files just that definition. I can The one thing I haven't bee able to figure out is how to reference something defined as a xaml element instead of a attributed inside of a xaml attrib...

How to bind XML to a data.grid in Silverlight.

I have an app that receives XML from a server. I want to bind the data to a data grid and it would be grate if the grid auto generated the columns. So far I have tried to this much in my code. XAML page: <data:DataGrid x:Name="Status" ItemsSource="{Binding}" AutoGenerateColumns="True"> </data:DataGrid> Code behind for the page: void...

Remove Silverlight Documentation from Visual Studio Help

How do I filter out the Silverlight documentation when I'm developing WPF application in VS2008? It's very annoying to get the help for the Silverlight version of the class when I press F1. I'd prefer not to remove the documentation for Silverlight altogether since I will need it in the future, but some way to choose between WPF and Sil...

Offline RIA Cross-Platform Environment

I want to create a simple 'scorecard' like mechanism for some card/parlor style games. The trick is I want this to be a visually stimulating application (WPF/Flash style animations etc.) and available on Mac, Windows and some mobile clients eventually. Any thoughts on framework? Silverlight would be great if I could run it offline, other...

Streaming video from a live webcam

I building a .NET 2.0 web site for a client which requires a live video streaming feature. i.e. a subscriber of a the site can stream live recording of a an event using his webcam (from his browser) and the guests he has invited can see it in their browsers. I thought Silverlight 2 will bring in those feature but they are not avialble. ...

What is the difference between WPF and Silverlight application ?

What is the difference between WPF and Silverlight application ? Are they the same ? ...

Bring element forward (Z Index) in Silverlight/WPF

All the documentation and examples I'm finding online for setting Z-Index to bring an element forward in Silverlight are using a Canvas element as a container. My items are Border elements inside of an ItemsControl container in a DataTemplate. I'm using the MouseEnter and MouseLeave events to trigger an animation on the ScaleTransform....

Alexandria/Silverlight 3 features list?

Is there a resource out there which lists the features, functionality and potential release date of Silverlight 3 (currently called Alexandria)? My group is currently building a product with Silverlight 2 as the deployment platform. We need to research/be prepared for Alexandria, and see if it will resolve some of our issues. ...

What .Net/WPF features do you miss when working in Silverlight?

I recently started working with Silverlight and immediately noticed the difference between the Silverlight BCL and the full .Net and WPF. For some of them I've found great solutions posted online by other developers, and others were more complicated. What features/classes were you surprised/disappointed to find absent from the Silverli...

Client ID of a Silverlight Control in A Sharepoint WebPart

Background: I have a Silverlight Control in a sharepoint webpart that exposes some scriptable methods. I use those methods to call a webservice and get an array of menu options. These menu options are then injected into Sharepoint ECB menu which appears on clicking an item in a list. The problem I am having is being able to get the cli...

Calling a method and waiting for a return value

How do I call a method that returns a bool, but inside that method in order to determine the value of the bool, it calls a web service asyncronously? bool myBool = GetABoolean(5); public bool GetABoolean(int id) { bool aBool; client.CallAnAsyncMethod(id); // value is returned in a completed event handler. Need to somehow ...

Silverlight Error "Layout Cycle Detected Layout could not complete" when using custom control

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...

Resizing a Silverlight or Flash video player?

Is it possible to resize a silverlight/flash video player on the fly? I would like to create a video where I can drag the bottom left corner to resize the player (maintaining aspect ratio) or at least eliminate the possibility of doing so I could move on to other methods. Thanks in advance... EDIT: // forgot to mention Sorry forgot to...

Not the right <type>?

I'm confused. I've got a Silverlight project that currently runs and displays a list of servers from my mocked model (I am following the MVVM pattern). The interface is coded as follows: public class GetServersCompletedEventArgs : EventArgs { public Exception Error {get; set;} public IEnumerable<LicenseServer> Results {get; pr...

How do I get Count of parent collection from child?

I've got an ObservableCollection assigned to ItemsSource of a listbox. Listbox is using a DataTemplate which has a usercontrol in it which has items bound to each listboxitem's properties. I have an up and down button on the usercontrol which moves an item up or down the list. The list is sorted by the property that I'm changing. Click...

Architecture for social multiplayer browser game (backend choice + frontend choice [flash/silverlight])

Hi there I'm thinking about developing online multiplayer social game. The shared state of the world would require something fast on the backend, so the potential solutions seem to be: fast game engine on server (eg. c++ ) and some frontend language (php/python/ruby) + flash whole stack in python (using twisted or stackless python) + ...