silverlight-4.0

Customize a WCF RIA Services Endpoint

Is it possible to customize the parameters of a WCF RIA Services endpoint? Specifically, I would like to create a custom binding for the endpoint and increase the maxReceivedMessageSize to allow sending the contents of a file that is a few megabytes in size. I've tried meddling in the web.config, but I'm getting the following error: ...

Silverlight inotifypropertychanged

Can any one explain in detail how it works with a simple example. ...

where to host my silverlight web application

hello everyone, I would like to host my silverlight webapplication. What is the best web hosting company for this application? Regards, ...

call wcf asyncronously from silverlight

I write wcf with function which take enum as aparameter and having returntpe enum. how to call that from silverlight on the basis of combobox selected item. ...

Autocompletbox in Silverlight

I have a Silverlight 3 project I am trying to convert to Silverlight 4. I use the autocompletebox. I cannot find the correct namespace/reference for this in Silverlight 4. Has it moved? What reference do I need? Thanks in advance. ...

How to color textblock on mouse over?

I'm looking to see if there is a way to change the color of a textblock in silverlight on mouse over. I have tried a trigger which I read now doesn't work. I would like to avoid having to do it in the codebehind if at all possible. ...

Silverlight 4 application on localhost runs extremely slow

Silverlight 4 app running in IE8 and hosted on VS2010 internal webserver. The website takes atleast a minute to download the xap and code runs slow on client (IE8). I am running the app in debug mode and have turned intellitrace off. Symbol loading is also turned off. However if I kill the VS webserver, clean the solution, the app runs ...

Why does Silverlight player mislead user by leading him to think he can "choose whether to download and install updates"?

I have a silverlight application which users can install out-of-browser. When the right-click and look at the update panel, it is set to "check for updates and let me choose whether to download and install them: However, with the following code, my application detects and downloads a new version automatically, and the new version is ...

Silverlight 4 ria services

Hello, how can i retrieve one single value from domain services at the application level. Regards, ...

Silverlight 4 Toolkit not appearing after install in Visual Studio 2010

I am running Visual Studio 2010 and have installed the Silverlight 4 Toolkit, however on creating a Silverlight Application I don't seem to have the controls in my Toolkit? Can someone please help me on this? ...

Controlling Browser Zoom Factor for SL4 OOB WebBrowser Control

In a Silverlight 4 Out-of-Browser application, how do you control the WebBrowser control's Zoom Factor? I need to render the browser at a specific magnification factor. I am not looking for applying a RenderTransform to the WebBrowser control - that just scales the 100% browser image. ...

Silverlight 4: How to trigger an Animation when TextBlock’s Text is changed during a DataBinding?

I have a user control which datacontext is set to a view model. The user control contains some textblocks and textboxes which are bind to view model's properties. I would like to do a small animation when a view model's property's value changes but I can't seem to find a way to do this in Silverlight. In WPF we can use properties like ...

Keyboard Controls ?

Hello World I am creating a financial software working on a touch panel machine. I have created a Keyboard control for User Input. I want to open start menu on my keyboard's Window button click. Please tell me hows that possible... Its very urgent ...

How to send email with Silverlight

How to send email with Silverlight? There is no System.Net.Mail. ...

Should I use ObservableCollections in my Model in M-V-VM

I'm completely new to M-V-VM and very new to Silverlight, just reading about it for the first time today. As a sample, I am creating a model containing a list of items. My (Silverlight 4) View contains a listbox and my ViewModel will look to the model to retrieve the collection that the listbox will bind to. My question is this. I think...

Silverlight 4, Google Chrome, and HttpWebRequest problem

My Silvrlight 4 application hosted in ASP.NET MVC 2 working fine when used through Internet Explorer 8, both in development server and remote web server (IIS 6.0). However when I try to browse through Google Chrome (version 5.0.375.70) it throws "remote server returned not found" error. The code causing the problem is the following: pub...

how to setup VS 2010 to allow debugging of Silverlight 3 and Silverlight 4

Hi, I have some code which is in Silverlight 3. I am unable to move to SL4 at this time. I would however like to use VS 2010 to do my SL 3 development... and SL4 development. The idea of both runtimes coexisting on 1 machine i thought I heard Microsoft got right this time in VS 2010. is this correct? if yes, then Where can I find the ...

Silverlight RIA domain service. How do I simply get a the entity collection?

This should be REALLY simple but I can't figure it out. I can bind the data to a datagrid like this below... var context = new DishViewDomainContext(); this.dataGrid1.ItemsSource = context.Restaurants; context.Load(context.GetRestaurantsQuery()); . That works... But now I just want that collection in a variable that I can loop thro...

Creating xaml 'template' for multiple pages

Hey, I'm developing a Silverlight application for the first time. I've gone through some tutorials, but I can't seem to find anything that helps me with this particular problem. I would like a set of buttons to be present on all of my pages (like a template). When a button is pressed, I would like the ContentGrid to slide out and a new...

Calling WCF from silverlight by passing querry as parameter

Hi, I have to call WCF from Silverlight. WCF has function that takes query as parameter . How to call it from Silverlight? ...