silverlight

Silverlight: how to handle standard assemblies (part 2)

It is necessary to move 'standard' assemblies out of the xap-file (Silverlight 4 application). I had a similar problem (http://stackoverflow.com/questions/3329731/silverlight-how-to-handle-standard-assemblies) and got a good link with deep explanations. But not all is clear there. After I've switched on the 'Reduce XAP size by using app...

Can .eot font files be used in Silverlight?

I'm trying to find out if Embedded Open Type (.eot) files can be used in Silverlight. I found an older post that says they can't, but it's a few years old and given how fast SL has moved, I'm not sure if that has changed. If so, how would they be used? As a <Glyph/> object or...? ...

Silverlight: how to handle standard assemblies (part 3)

When Silverlight4 application is build the 'Microsoft.Practices.Unity.Silverlight.dll' assembly is not putting into a separated file zip-file, it is in the XAP-file instead. To be consistent, here are links to previous questions of the 'How to handle standard assemblies' topic: [http://stackoverflow.com/questions/3329731/silverlight-ho...

Transition between phone pages.

Hello. I'm developing a Windows Phone application. Is there anyway to animate transition between phone pages? Now, I'm using this to navigate between pages: NavigationService.Navigate(new Uri("/Views/SelectComponent.xaml", UriKind.Relative)); Thanks. ...

Is there any difference in x:name and name for controls in xaml file?

Hi, I am new in Silverlight. When I add some control to my xaml file with Visual Studio it set controls name with Name property, but there is also x:Name. Is there any difference and when to use each of them? Thanks. ...

Why are virtual machine based RIA solutions so quickly rejected by proponents of legacy AJAX/DHTML patchwork solutions?

RIA adoption rates in the corporate intranet world seem higher than that of the Internet because the cost-effectiveness and efficiency is being recognized there. (A growing number of job postings asking for Flex experience in my IT-heavy region demonstrates this.) Why not also on the Internet? Reasons you get from people who favor hacke...

Sample Silverlight 4 projects

Hi, I am looking to get my hands wet with Silverlight 4. I was wondering if someone can recommend a sample silverlight 4 project that I can do (home project) to get my confidence level up. Thanks in advance. ...

Tooltip Visibility

I have the following code: <DataTemplate> <!--<sdk:DataGridTextColumn Binding="{Binding Description}" Header="Description" Width="205" />--> <TextBlock Text="{Binding Description}" Width="232"> <ToolTipService.ToolTip > <ToolTip Visibility="{Binding }"> <sdk:DataGrid AutoGenerateCol...

Windows Phone 7 Bluetooth/Wi-Fi

I would like to create application for Windows Phone 7, which will be communicating with desktop application via Bluetooth/Wi-Fi. Is there any API in Silverlight, which allows to use Bluetooth/Wi-Fi programatically? ...

Silverlight Game Logic on client side or on server side?

I am running into some problems right now. I am developing a card game (Top Trumps) which is played by two players. I wonder how to best setup the architecture. Right now almost all of the game logic is calculated on client side. The game state is saved in a database table. The database is updated every second. But since two players a...

Silverlight 4 dropdown control

I am trying to create a drop down control that is made up of a text box a button and a treeview control. I can not really find any tutorials on how to create a custom drop down control. I did find a user control that drops down a treeview control (vectorlight), but I want to implement my own custom drop down control. Any help would be gr...

Can all JavaScript functionalities be theoretically replaced with Silverlight?

Can all JavaScript functionalities be theoretically replaced with Silverlight? If yes, I can save my time and just learn Silverlight. ...

Handling Async With Specflow for Silverlight

The Silverlight Unit test Framework defines a process for dealing with Async calls (derive test class from Microsoft.Silverlight.Testing.SilverlightTest, add Asynchronous attribute, use EnqueueXXX methods.) Considering the separation that SpecFlow presents between the test class and the steps: Can these tools be brought to bear to wai...

file location to System.IO.Stream

Hi Guys, I have this method public void SetSource(Stream streamSource); which sets the source of BitmapSource, is there a way to convert my URI or my image file location and pass it as a stream? (another issue): Uri uri = new Uri("../images/MyImage.png", UriKind.Relative); BitmapImage btmp1 = new BitmapImage(uri); ...

How to capture Post data from silverlight app?

Hi, I use Silverlight 3 and .net framework 3.5. I want to send xml data to server on click of a button. On googling i found that we can use WebClient Class's UploadStringAsync method. I am posting data to a web service running under local IIS. All that is fine but how do i capture the data posted on the service? ...

Migrating existing web application to a silverlight based application

I have a web application developed in .net 2.0 and VS 2005. I want to make use of features provided by Silverlight. Is it possible for me to use Silverlight in the existing application itself. ...

How to register custom module manager in PRISM?

Hi, I've created some simple custom ModuleManager in my silverlight application based on PRISM. I also registered this type in bootstrapper, but PRISM still use the default manager. The constructor of my CustomModuleManager is called, but the property ModuleTypeLoaders is never accessed. I can't figure it out, how can I make it work prop...

is silverlight for developers or designers?

i am a junior c# programmer and would like to learn silverlight. is silverlight for progrmmers or for designers? ...

Line numbers and parameter values in browser error messages in Silverlight

So far i have not found any solution to this problem. There are many questions about this when i google it, but none of the discussion ends with some conclusion. I want to have line number in stack trace whenever an exception is thrown in silverlight application. Something like this: System.NullReferenceExceptinon SL runtime method...

Silverlight update bindings

I have item template with image and textblock. And textblock binded to Name property. Everything working fine while i not trying to update my data. When i set to my source node new name in tree i see old name. How to update text inside item template? <my:TreeView.ItemTemplate> <toolkit:HierarchicalDataTemplate ItemsSource="{...