silverlight

Making an argument for using Silverlight on a project

When I approach any new web application projects now, I like to offer up the idea of using Silverlight to the client. Often if it is a public facing application I meet a dead-end when the argument of "downloading the Silverlight plugin is an inconvenience to the user". I can use the argument that it would be cheaper to the client to im...

Self Centering Page in Silverlight \ Express Blend

I have been trying hours to create a page (Axml) in expression blend that stays in the center of the browser yet equally reduces the white space on either side when the browser window is resized. And example is this site or most decent site on the net. Love a code example or link. Thanks ...

Silverlight - Examples of awesome demo applications NEEDED!

Hello, At company I'm working, new project will be started soon. I'd like to use Silverlight 2.0 but I need to convince my CEO and Photoshop/AfterEffects guy for using Silverligt for upcoming project. These persons are - let's say - rather Flash / Apple oriented, but for me as a .NET developer Silverlight seems to be proper solution :-)...

Silverlight - Paramterised resource values for Internationalisation.

I'm running into a problem that seems to have no sensible / tractable solution that I am happy with. Silverlight and Internationalisation - a quagmire in the making. I have a set of resource files that contain translated strings. In the simple case, I can declare the language resource etc and bind the content / text of a value within t...

Silverlight: How to bind DataGridColumn.Visibility?

I have an issue similar to the following post: http://stackoverflow.com/questions/983272/silverlight-datagridtextcolumn-binding-visibility I need to have a Column within a Silverlight DataGrid be visibile/collapsed based on a value within a ViewModel. To accomplish this I am attempting to Bind the Visibility property to a ViewModel. ...

Dynamically altering Silverlight control width/height does not work in Firefox

I have a Silverlight control that auto resizes based on its content as well as when the browser window is resized. You can see it working in IE at http://www.scottmarlowe.com (it's the tag cloud on the right). I know you have to define the height style to 100% in FF just to get the control to display. It seems that setting the width an...

Sometimes ASP.NET page does not run.

I have some silverlight code that opens a new web browser with a url to an asp.net page that does some calculations and redirects to another page that shows a pdf report. Maybe 1 out of 20 it hangs. The browser opens with the url in the addressbar and I can see the url in the logfile of the iis server so I know it got that far, but I pu...

SilverLight Overlay HTML?

I'm looking to build a flyout type menu in Silverlight that will be added to an aspx page. the items will be built dynamically via data returned from a web service. All of the samples on building menues do not allow the silverlight to "flyout" over the HTML. Can this be accomplished? If so, what would be the best method to do so? ...

Deploying wcf with silverlight application?

I am trying to deploy a Silverlight application on a remote server. I've copied over the files within App.Web which includes the .svc file. I created a virtual directory within IIS 6.0 and am able to successfully host the silverlight portion. BUT... now I am getting an error: The type 'ServiceGateway', provided as the Service attrib...

Dynamic service reference in Silverlight

I'm building a Silverlight application that interfaces with SharePoint Web Services. In a windows forms application I'd create a web reference to my local SharePoint server, then change the Uri of the reference at runtime to point to whatever SharePoint site I wanted to use. Silverlight doesn't seem to have web references, but similar ...

silverlight commands via prism, getting the event args for the event?

I've a data form in SL3 which uses Prisms Commands with Attached Behaviour for trapping events. (It fairly tightly follows this blog post: http://blogs.southworks.net/dschenkelman/2009/04/18/commands-with-attached-behavior-for-silverlight-3-dataform/#comment-607) Basically, it's all hooked up and working fine, however in the viewmodel,...

Where to make source code publically available

I've just finished a mini-project (a graphical 2d silverlight tag cloud) and I've made the source code available on my website as a zip file - but where should I put the code to allow people to find it and evolve it if they wish? codeplex? but I guess this would count as an inactive project? ...

Direct Access to SQL with Silverlight.

I am new to .NET in general, so I hope this isn't too n00b of a question. I'm looking to write a Silverlight app that interacts with a MSSQL DB using LINQ. Do I absolutely, positively have to use a seperate WCF service? It seems there are security implications, but this would be on a completely trusted network. Thanks in advance ...

How to access the TextBox in a SL3 AutoCompleteBox

I'd like to call the Select function on the TextBox used by the SL3 AutoCompleteBox. What's a good way to access this object? ...

Highlight entire rows only in Silverlight DataGrid

When the user clicks on a row in the datagrid (or uses the keyboard), that row is selected, but the specific cell they clicked on is also given its own special focus. This is fine for a data editing grid, but I am trying to create something more like an open dialog that shows properties for each item in the list, so... Is it possible to...

Silverlight 3 Ria Services reference

I have a Silverlight project where functionality is segregated across multiple Silverlight libraries due to the size and complexity of the application. I am having problems figuring what is the best way to decouple the RIA Domain Service that gets generated from the Website project. I need to be able to access data from the other librari...

Tile Images in Silverlight Controls

Warning: Silverlight/WPF n00b I'm just starting looking at Silverlight. It just became apparent that brushes are not tile-able in Silverlight, unlike WPF. I'd like to tile a graphic in a grid control. The image is basically tile able per grid cell. Can a use multiple brushes per control, or should I use lots of image controls, or? Than...

How do I access a Silverlight XAP file across a domain?

Hi, I'm trying to add my Silverlight application that lives on one subdomain to a web page in another subdomain. For some reason this just plain isn't working ... my Silverlight application is loaded as such in a page on http://subA.domain.com/somepage.html: <div id="silverlightControlHost"> <object data="data:application/x-silverl...

Silverlight IninParams

I'm planning on hosting a Silverlight application in ASP.NET 2.o web application. The web app has to keep on targeting 2.0 framework for the foreseeable future. That rules out the Silverlight control as that would force me to upgrade my web app to 3.5. Fortunately, I can take the approach of adding the control with html My question is...

Silverlight Canvas on Scrollviewer not triggering

Why does this work so well in wpf <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto"> <Canvas x:Name="MyDesigner"> </Canvas> </ScrollViewer> Now when I do the same thing in silverlight and load an control "that can be dragged" the scrollbars are not triggered, when I drag out of view, nothing happens...