silverlight-3.0

Hosting Company that Hosts Silverlight Apps ( For free)

I am not sure whether there is any company that hosts silverlight apps for free, at least for the basic package usage. Edit: I am aware that one just needs to include the Silverlight control in HTML, but first, not all hosting companies host .Net applications, and even less of them are hosting .Net 3.5, which Silverlights 3.0 is based. ...

Adding a UIElementCollection DependencyProperty in Silverlight

I want to add a dependency property to a UserControl that can contain a collection of UIElement objects. You might suggest that I should derive my control from Panel and use the Children property for that, but it is not a suitable solution in my case. I have modified my UserControl like this: public partial class SilverlightControl1 : ...

Reusing a customized style in Silverlight

By modifying the RowStyle of a DataGrid I have created a customized grid that will display some buttons at the end of the row when the mouse hovers above the row: I created a new style for DataGridRow based on the default style. I then modified the XAML to add my buttons inside a StackPanel (details omitted): <UserControl.Resources> ...

Silverlight XAML Attribute Definition Order Matters

I was working with the ComboBox control and couldn't get the SelectedItem to be set from the property on my viewmodel. Here is the control definition: <ComboBox x:Name="jobEmployee" Grid.Column="1" Grid.Row="2" Margin="4" HorizontalAlignment="Left" Width="150" SelectedItem="{Binding Path=EditingJob.Employee, Mode=TwoWay, Valida...

Keep TreeView Subtree expanded after dataset refresh

I'm working with the July '09 CTP of the .Net RIA services, and binding an object of Group=>Department=>Category objects to a treeview, and then having a hierarchialdatatemplate render each of the three object types. What my end goal is for this will be to enable drag-n-drop functionality so that I can quickly edit my list of groups=>de...

Maintaining session in Silverlight

I am creating a Silverlight with WCF connectivity. I would like to create and maintain a session after user login in Silverlight and do the following. On successful login, create a session object and store session id, user id, user name, session status On further calls with WCF, the session information needs to be passed from Silverlig...

I have downloaded silverlight3 SDK and silverlight toolkit. Now How to configure this with Visual studio 2008?

I have Downloaded Silverlight3 ToolKit and Silverlight SDK. Now how to configure it with visual studio 2008? VS2008 is not showing option for creating silverlight application. ...

Silverlight woes/questions

1) How can I use strongly typed dictionaries? I have some in my codebehind for an xaml page, but it does not come in intellisense and I have added System.Collections to the namespaces. 2) I hear "CoreCLR" a lot when talking about Silverlight. Is this a stripped down version of the CLR? Is there any classes/namespaces I can't use in Silv...

Does Silverlight 3.0 contain session mechanics?

I'm trying to find out if Silverlight 3.0 has any session mechanics - as far as I recall, SL2 was suffering from the lack of it. If SL 3.0 doesn't have it (Sadly) - are there any good reads regarding session mechanics implementation? I'm considering using a client-side singleton object to hold the session instance + a WCF service + a S...

inserting Data in to database from datagrid using Linq and Silverlight 3.0

How to insert new values in to datagrid from user and insert them in to the databse. I am using Linq to SQl and silvrelight 3.0 Thanks in advanece... ...

CrossDomainError on IIS7 Silverlight 3 WCF app

* Readers Beware: massive code dump, not for the faint of heart... * Hello, I'm trying to figure out how to deploy a Silverlight 3 app to IIS7 with a WCF Service. I think i've got most of it figured out however I still get a cross domain error for some reason. I'm leaning toward thinking that the service is not finding the client acc...

DB4O with Silverlight RIA Services

Hello, I've considered using the db4o OODBMS with a recent Silverlight / RIA Services project, but there's one point that I could use some advice on - how to make associations work. RIA Services requires that you mark all of your associated entities with an AssociationAttribute. The AssociationAttribute's constructer requires that you...

Is it possible to obtain a MAC address in Silverlight / ASP.NET ?

As the topic says - for the purpose of maintaining a session state, I'm debating whether it is - or not - possible to obtain a MAC address of a network card of the machine that's connecting to the website ? What are any other machine specific - values that can be obtained for the purpose of identifying an individual machine ? ...

How can I make a product showcase in Silverlight?

I can place a couple of buttons in Silverlight, but I'm not that experienced with the Silverlight tools and capabilities. What do you think I should use to create something like this? The control would have to pull and ID from the database and according to that place an image asociated with the record. I need it to be animated with ...

Silverlight Socket Policy Not Working

I am trying to implement a data push from a Windows Service to a Silverlight app. I have created a policy server which sends this policy file: <?xml version="1.0" encoding ="utf-8"?> <access-policy> <cross-domain-access> <policy> <allow-from> <domain uri="*" /> </allow-from> <grant-to> <socket-re...

How do I automatically upgrade Silverlight 3 out-of-browser application?

How do I automatically upgrade Silverlight 3 applications and start the new upgraded version without user interaction? I know that I can download and upgrade to new versions of the Silverlight OOB-app using Application.CheckAndDownloadUpdateAsync() but I don't know how to restart the application after that. (The Silverlight applicatio...

Control Horizontal Grid Line Visibility in DataGrid

I have a style requirement that my data grid show the horizontal grid lines every 3 rows... Something like this: ----------------------------------- one | two | three | four | five | six | seven | eight | nine | ten | eleven | twelve | ----------------------------------- aaa | bbb | ccc | ddd | eee | fff | ggg | hhh ...

Silverlight And DataAnnotations

When I am not using data controls like the DataForm and DataGrid is there any use for the attributes like [Required], [StringLength] on my entities? Can these be used for validation outside of the above mentioned data controls? If so, could you point me to some examples or documentation. I would like to prevent users from pressing the ...

Load event for Grid.

I am trying to initialize my controls in Silverlight. I am looking for something similar to Form_Load event, which gets triggered when the form loads first time. The Loaded event in Silverlight gets called quite early, even before the control gets displayed in UI. I want to intialize prior to the UI rendering of the control the first ti...

Is It Possible to Use TemplateBinding in a Storyboard in Silverlight?

I'm building a custom control in Silverlight and I want one of the fields to animate to the value of a DependencyProperty when that property is changed. More specifically, I have particular item in my Control Template that I want to animate to the color of the Background whenever the background changes color. So, what I have is: <Contro...