silverlight

Open folder dialog in Silverlight?

Hi, Does anybody knows how to have an open folder dialog in Silverlight? Any third party controls? I know there is a OpenFileDialog but this is not what I'm looking for. I want a dialog for folders only. Thanks. ...

Silverlight 3 missing ScrollViewer.ScrollChanged event workaround?

I want to be notified of changes to the VerticalOffset of the vertical scrollbar of a ScrollViewer. In WPF there is a ScrollViewer.ScrollChanged event, but in Silverlight 3 this is missing. Does anyone know a workaround? ...

Access Sharepoint webservice from Silverlight with specfic user credentials.

I am accessing Sharepoint web services from a Silverlight application, I have put the clientaccesspolicy.xml file in the root of my Sharepoint site, so I can access fine. What I would like to do though is hard code the user credentials so the web service always connects with the same user. Is this possible and if so how? Thanks in adv...

Prism vs out-of-browser silverlight

I recently started reading up on the out-of-browser ability of Silverlight 3. I also noticed that quite a few people here speak of Prism. I only had a brief time to read up on the topics. However, from what I read, both of them perform the same role. What are the differences between the two, and if they are the same, why do people use ...

Someone know example of silverlight implementation with repositories?

I'm trying to implement a Silverlight infrastructure with Prism, Ado.Net Dataservices and Repository Patterns but having some problems, what I want to know is, if there's out there an working example of this. ...

Silverlight Datagrid Databinding

Hi all, I'm a newbie to Silverlight and I'm having some trouble finding a solution to an issue. I have a silverlight datagrid with 3 columns. One of the columns is bound to an integer. I want to be able to bind my column to a function that would translate my integer into it's status code. The function accepts an integer, and using a sw...

What is a "Freezable" subtype in WPF/Silverlight?

What is a "Freezable" subtype in WPF/Silvellight? ...

Property inheritance in WPF/Silverlight?

In WPF and Silverilght, what are the rules for deciding if you inherit properties from the visual, declarative, or logical parent? ...

Getting "Entry Assembly" or actual LayoutRoot for Silverlight control in Expression Blend

I'm developing a cross-platform solution with an underlying mechanism for reading files, in Silverlight I still want to be able to use the same filename references as with the other platforms, these file references are relative to the path of execution. For Silverlight, the files are marked as resources and included in the Xap. My quest...

Silverlight and webservice, unable to call method, getting "NotFound" result

Hi, This is driving me crazy for the last couple of hours. Need help, big time. I developed a solution on my local machine and posted it to a web site, its a basic file upload webservice and a silverlight application that posts files to it. I have a list of folders which i try to load, when i call the GetFolders() method the asynch retu...

Silverlight 3 - Add a value converter for the SortMemberPath property of a data grid column header

Hello everyone, I created a DataGrid, that utilizes customized data cells using the DataGridTemplateColumn.CellTemplate directive. I placed a textblock inside with the Text field using a Binding to one of the ItemSource members. As the content of that member differs between "Green", "Yellow" and "Red". Everything works fine. The Foregro...

Silverlight: INotifyPropertyChanged does not seem to work

I haven't implement this pattern for a while (and when I did it was in 2, as opposed to 3), and I have several examples that all seem straight forward, but I can't work out what I have done wrong in the below piece of code (The Items are not updated when the property event fires): public partial class Index : Page { private IndexVie...

Azure App wont start

every time i try starting my azure application. I try building it and it says it has all successful build attempts but i am getting an error that says: "Windows Azure Tools: Start role failed for one or more roles " I cannt see why i am getting this error, since i followed every step as stated in the tutorial videos. please help. I am us...

Silverlight 3DRotate + Drag

Hello, I am trying to implement drag and rotate(Left to right or right to left) on a UIelement similar to this one: http://www.motorola.com/Consumers/US-EN/Consumer-Product-and-Services/Mobile-Phones/Motorola-Karma-QA1-US-EN So when the user holds down the left mouse button on the UIelement and starts to move the mouse to the left I w...

Many-to-many relationship in .NET RIA services

I have a many-to-many relationship in my database of objects A to B. When i create a domain service the metadata looks fine. A has a collections of Bs, B has a collection of As. So it is correct. However the *.g.cs file generated doesn't have the same relationship. Is there a way to make it work? I googled some answer to actually genera...

Out of browser feature of Silverlight 3.0

Why and when somebody would take out the Silverlight application out of browser and run? As this is feature provided in Silverlight 3. ...

Corporate reporting Website (aka lots of Gridviews) - ASP.NET/Ajax or Silverlight?

Hi, My shop may win a new project for a corporate intranet web app. The kind of app where the typical page gives you a bunch of criteria (textbox/dropdown) to select, then retrieves data from DB to display these in a Gridview. Silverlight has been pushed forward as an option (instead of plain old ASP.NET) and I gave it a shot. And le...

How to fetch attributes of image in silverlight?

Hello, I am loading an image to my silverlight application. This image will fit in a 3d model as a texture map. I need to fetch image attributes. For that I am using ImageOpened event, like this: public MainPage() { BitmapImage img = new BitmapImage(new Uri("imagens/textura.jpg", UriKind.Relative)); img.ImageOpened...

silverlight - communicate between 2 view models in MVVM using commands

hi all , i am working on MVVM and using commanding in silverlight(DelegateEvent and ICommand) I want something like this ,(say) i have 2 usercontrols , parent and child . Parent is hosting the child , both have thier own viewmodels . On parent i have a button and it executes a simple command , on execute of that command i want to upd...

Good WPF or silverlight windows gadget examples

Does anyone have a good example of a WPF or silverlight windows gadget? ...