silverlight

Silverlight 4 and XBAP

I am just curoius to know whether silverlight 4 is going to replace XBAP completly!. Like Full trust XBAP, Can we do everything with current Silverlight 4?. Any comments?. ...

Iterating through a list of lists?

I have Items from a certain source (populated from somewhere else): public class ItemsFromSource{ public ItemsFromSource(string name){ this.SourceName = name; Items = new List<IItem>(); } public string SourceName; public List<IItem> Items; } Now in MyClass I have Items from several sources (populated from so...

How Can I Test the Silverlight Install Process

I would like to customize the user install process for my Silverlight application. I would need to repeatedly go through the installation process on my development workstation Short of uninstalling before each change I make and going through the install process again, is there a way to make my browser think Silverlight is not installed? ...

Internet Explorer Developer Tool with Silverlight application.

When I worked on ASP.NET web forms, I found IE developer tool extremely useful to debug my Javascript and CSS issues. I cannot seem to make that tool work with my Silverlight application. I was trying to use "Select Element by Click" feature and it was not selecting any elements on my silverlight application. Any ideas what's going on...

ASP.NET, SilverLight, WCF & Forms Authentication - How to configure endpoints?

I have this existing environment: 1) ASP.NET 3.5 web application 2) forms authentication with the SqlMembershipProvider I need to add the following: 1) a Silverlight charting object embedded in a web page. 2) a WCF service to be consumed by: a) the Silverlight component embedded in an authenticated web page...

What IoC Containers Support Silverlight?

I'm looking for a list of IoC Containers that support Silverlight. I know that Unity and Ninject work with Silverlight, but I haven't found any information that suggests that other well known containers, like StructureMap, Castle Windsor or Autofac, support Silverlight. Has anyone used these, or other, containers or compared them with t...

Silverlight and ASP.NET MVC living together in the same team?

Let's say you have an intranet development team where it is in your best interest for each developer to be happy with their work - one person leaving will negatively impact the others. Some developers wish to embrace the Web (i.e. ASP.NET MVC). Others wish to work in a stateful environment where Web is merely the medium for delivery (i...

From Winforms to WPF time?

We are a team of .net winform and asp.net developers building custom enterprise applications for organisations mainly in the public sector. Is it time to retrain/retool the team in WPF/Silverlight? How to make management, in first place and clients second buy the idea? ...

Silverlight DatePicker in DataGrid allow NULL dates.

I have a DataGrid that has as one of its columns a DatePicker (for the editing template). Is there a way to keep this but still allow a user to enter in a NULL date? Thanks very much for any help. ...

Streaming a webcam from Silverlight 4 (Beta)

The new webcam stuff in Silverlight 4 is darned cool. By exposing it as a brush, it allows scenarios that are way beyond anything that Flash has. At the same time, accessing the webcam locally seems like it's only half the story. Nobody buys a webcam so they can take pictures of themselves and make funny faces out of them. They buy a...

Silverlight data binding from VM issue

I have a SL 3.0 page with a lot of textblock controls laid out. Each textblock is bound to a property of the Account class. The XAML page codebehind (mypage.xaml.cs) has a OnNavigatedTo method in which the VM instance is created and set to the data context like this: this.DataContext = new VM(); In the VM there is a public property of d...

Remove map move event by user

How I can handle map move event by user? (Down left mouse button and mouse move) My goal is remove all users event, which can modification map view. I using Bing Silverlight Map Control. ...

Creating Silverlight 3 applications with F#

Is there an easy way to create Silverlight 3 applications with F# (October CTP)? I have seen the F# for Silverlight, but that only works with the May CTP. I am using Visual Studio Integrated Shell 2008. ...

Silverlight File Upload not working on server side

I made File Upload following this tutorial, but for some reason my server side is not working at all. http://www.c-sharpcorner.com/UploadFile/nipuntomar/FileUploadsilverlight03182009030537AM/FileUploadsilverlight.aspx ...

How do i create a custom button in blend from Expression Blend?

I have created an image in Expression Design that I'm trying to import into Blend to create a button. I'm trying to make the button scale with it's container (most likely a grid) when i resize it in Blend. Unfortunately, the documentation for both products isn't very helpful. The xaml in design looks like the following: <Canvas xmlns="h...

silverlight invisible hit area

I would like to know how to make an invisible hit area in silverlight. I have created a UIelement leftmousebuttondown event that calls a planeprojectionfunction(this function rotates the UIelment on its X-axis). However as the element is rotated there is less surface area for the mouse to click on. Any ideas? ...

Prevent Silverlight 3 from caching while debugging

I'm assuming the issue I'm having is related to caching. Code changes I make are not getting picked up when I debug. Most times I get served a previous version of the app. How do I prevent this from happening? ...

Ria Service Generated Code Not Accessible in Silverlight Code

I have the following Ria Service define: namespace SilverlightTest.Web { [EnableClientAccess()] public class ContactService : LinqToEntitiesDomainService<AdventureWorksEntities> { public IQueryable<Contact> GetContactSearch(string lastName) { ContactRepository rep = new ContactRepository(); ...

How to access Membership/roles through silverlight

Hi, I have a silverlight control on my asp.net mvc page, need to communicate with a webservice where i need to send the current role of the user logged into the system with. But how do I access the "Roles.GetRolesForUser()" from within my silverlight application? ...

Possible paths to convert windows form application - hybrid of controls and html - to web

The existing application mixture of native and third party controls and hosts IE in a webbrowser control for rendering html. Also there is bi-directional update of UI - selecting anything in native controls ( e.g. treeview ) updates html , and vice verse javascript or hyperlinks in a webrowser may cause certain actions which update UI o...