silverlight-4.0

Silverlight 4.0 in Visual Studio 2008?

I've been trying to find official requirements for Silverlight 4.0, but can't seem to find anything. What I want to know is if VS2008 supports Silverlight 4.0, or if I need to upgrade to VS2010. The only mention I could find was on this Silverlight forum: http://forums.silverlight.net/forums/p/156538/350841.aspx Does anyone know of an...

Silverlight 4 OOB Update process when hosted in enterprise portal

Ok, here is the situation. I would like to deploy a silverlight application to an enterprise portal. Users will access the application by logging in to the portal and navigating to the page where it is hosted. That's the easy part. This silverlight 4 application is designed to be run in Out of Browser mode (OOB). My question is, is ...

Silverlight 4 Multithread

I'm trying to update my Silverlight 4 UI approx every 1/2 second with new data. I've hooked into a WCF service using net.tcp binding and issuing callbacks from the server. To make sure I get the data from the service as quickly as possible I've started up my proxy on a backround worker inside of my Silverlight App. My question is, how...

how can I deploy my silverlight 4 application

I have a basic Silverlight 4 project called "MySLApp" which has the associated MySLApp.Web project. (names changed for simplicity) It compiles down into these files (in the silverlight project): AppManifest.xaml MySLApp.dll MySLApp.xap MySLAppTestPage.html And the Web project builds into: Bin\MySLApp.Web.dll ClientBin\MySLApp.xap ...

How to I convert a Silverlight 3.0 project to Silverlight 4.0?

I have a solution with several Silverlight Class Libraries and a Silverlight Application in it. I was originally built in VS 2008 with Silverlight 3.0. What changes do I need to make so that it builds using Silverlight 4.0? I already have VS 2010 and the Silverlight 4.0 toolkit installed. When I opened the project it seems to have up...

how to make datagrid Visibility is Collapsed in codebehind

hi i have data grid. now here i am checking the condition if Companyrows.count is zero . if count is zero make data grid.visible is false. List<Employee> Companyrows = new List<Employee>(); if (Companyrows.Count == 0) { dgrdRowDetail.Visibility = "Collapsed"; // getting error // convert type 'strin...

how to customize the listbox selected item style in silverlight 4

I am having a silverlight listbox in which a list item contains an image, its name and its price. the layout of the list item will be as follows: Under the image the image name will be shown, under the image name the price will be shown. Now the problem is when i select an list item all the three items(image, image name and its price )...

How can I print with the header and footer in silverlight 4 ?

How can I print with the header and footer which I paas dynamically in silverlight 4 ? Please provide me some example. Thanks ...

why is that we always get an extra column show in datagrid

hi, i have four columns specfied but why is that i always see one extra column shown in the output this is my xaml code <Grid x:Name="LayoutRoot" Background="White" Height="492" Width="453"> <sdk:DataGrid MinHeight="100" x:Name="dgCounty" AutoGenerateColumns="False" VerticalAlignment="Top" Grid.Row="1" IsReadOnly="True"...

Isolated storage location for windows phone 7?

Hi, I'm building a windows phone 7 application using silverlight 4. I store my data in Isolated storage as outlined here. The program runs with no errors. My question is where I can see the file I have saved? Is it possible to find the file in the windows phone 7 emulator? Thanks in advance. ...

how to (define and call events for a child datagrid) within the data grid

hi, i need to define events for the datagrid with in another datagrid(master child grid) now i need to define events for child grid and call those events when i click the child data grid i have define events for child data grid in xaml page. but these events or not getting fired. how should i go ahead ? RowDetailsVisibilityChang...

Silverlight Navigation , Get rid of '#'

Hi, I am trying to create a silverlght navigation application and it is adding this "#" sign by default in the URL. I want to use asp .net routing and somehow get rid of this "#" sign. Is this possible ? How ? Any sample or right direction will be really helpful. Thanks ...

onmouse over of a datagrid show that row value in a modal pop up control

hi, i have an requirment where i have a datagrid on mouse over of that row i need to display. lets day that datagrid has column name, age, company name. now all these things should be shown in a modal pop up. on mouse over of a row. does any one know how to solve the issue. looking for an solution plz let me know thanks in advance ...

MEF Error message

Can anybody explain this error message: The composition remains unchanged. The changes were rejected because of the following error(s): The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information. 1) No valid ex...

Learn Fundamentals of Silverlight 4 Data Binding

I'm just starting to work with Silverlight (no WPF experience either) and am having a difficult time finding a source that provides a full explanation of Data Binding. There is absolutely no lack of tutorials (starting with the ones on Silverlight.net or Scott Gu's blogs), but everything I have found is "by example". Is there a resourc...

Troubling starting new silverlight 4.0 project (in f#) from VS2010

I am trying to protoype a silverlight 4.0 project using F#, and am having issues getting it to install... the silverlight 4 tools for Visual Studio 2010 is barking at me: Installation Requirements: Visual Studio 2010 or Visual Web Developer Express 2010 or Visual Phone Developer Express 2010 that matches the language versi...

Anybody have anyluck F# Silverlight vs2010?

Has anybody had any luck with the following combination F# 2.0 Silverlight v3 .NET Framework 4.0 VS 2010 I have been trying all night and I just can't seem to adopt any of the existing smaples out there to run... My goal is to have a silverlight application 100% backed by F#; the examples that are referenced as working are mostly C...

remove the extra column that comes datagrid

hi, how to remove the extra column that comes default in datagrid silverlight 4.0 is there any good links to designing(css) data grid in silverlight 4.0 thanks in advance. prince ...

Upload image from Silverlight to ASP .net MVC 2.0 Action

Hello ... I have been trying really hard to Upload a photo from a Silverlight app to ASP .net MVC app. I simply use WebClient like this in Silverlight : private bool UploadFile(string fileName, Stream data) { try { UriBuilder ub = new UriBuilder("http://localhost:59933/Admin/Upload"); ub.Que...

Detecting validation errors in Silverlight 4

I'm using the new Silverlight 4 support for IDataErrorInfo. So I have a POCO object that has implemented the interface, and when a validation rule fires the Silverlight UI correctly shows the error. So that is all working fine. The POCO object looks like this: public class SomeDomainClass : IDataErrorInfo { public string SomeStri...