silverlight

Notification Architecture

Hi everyone, With the arrival of WP7, I developed a solution to business appointments. And I wonder about the architecture. My Silverlight application needs to communicate with web services, no problem here. By cons, I have another need that is a push to notify phones with the Microsoft Notification Push Service. My problem is how to h...

putting Button inside a TextBlock(or maybe something else) to make it work like the one on video??

Hi with Silverlight 4, I am trying to create the TextBlock just like the one on the Microsoft LightSwitch(Modal Window Picker) . So I can use it as a customControl inside the GridView columns. this is the link from youtube: you can see the one i am talking starting at time 08:54 / 14.50 on the Business label http://www.youtube.com/w...

Silverlight / WCF Listener update

In this scenario, we have 2 different applications (admin and client). Both in Silverlight 3, and we have a WCF service (3.5.) The service gets information from the database when the admin app requests is, then, it should update the client application (in a different web browser of course), and the client application should do some opera...

Silverlght 4 TabControl MVVM tab header binding problem

In silverlight app I create tab items dynamically in code (MainView's code-behind): TabItem tab = new TabItem(); CustomerView view = new CustomerView(); view.DataContext = customerViewModel; //or tab.DataContext = customerViewModel;?? tab.Content = view; DataTemplate template = this.Resources["CustomTabItemHeader"] as DataTemplate; tab....

What are the popular test automation tools for Silverlight

I need a test automation tool for Silverlight. Basically, I need a tool that would simulate users accessing, clicking buttons etc. on a Silverlight UI. A google search has turned up several promising leads: WebAii White Selenium-Silverlight NeoLoad I need to know what the pros and cons of each of them are, and of any other suitable ...

Asynchronous call C#.Net beginners question.

So here I am,got some help from some web tutorials and performing following Asynchronous call. I want to return an object of type UserInfo from following async call. But I'm not sure how the program flows after request.BeginResponse(). Is it something like an additional ref parameter of type UserInfo can be passed to callback method? ...

OOB constantly asking for update in silverlight

When I launch my OOB App, it keep asking for Update available and downloaded, even nothing changed. ...

How do I add a DataTemplate programmatically in Silverlight using C# ?

Hello all ! I have a DataGrid that must contain a DataTemplate that should be programmatically defined in code. This DataTemplate will contain a random number of DataGrids with a random number of columns that will be binded twoway, depending on what I have in the database. This grids will be putted in a StackPanel that is oriented h...

ItemsControl "Overflow to Popup"

Hi, I have an ItemsControl that I want to fit into a small space. Typically it will display less than 3 items, however, I would like the it to indicate when it has more items than it can display and have a popup on the indicator to show all items (which will still be aa small amount). The current ItemsContainerPanel is a WrapPanel, wh...

CommunicationException was unhandled by user code

Hello, I created one solution and then added one project which contains all WCF services. Then i added it's reference to my Silverlight project in the same solution. Now when i try to debug i get one message box saying This Silverlight project you are about to debug is consuming web services. Calls to the web service will fail unless th...

Why sign my xap?

Why should I sign my XAP? Is their any advantages to the average silverlight user? does it offer me any tamper protection on my XAP? If I use a bootstrapper to chain download my xaps and someone changes one of the xaps, will it help? ...

Silverlight Polling Duplex with HTTPS

Is it possible to have Silverlight Polling Duplex WCF working with HTTPS? ...

How can I detect network connectivity in Windows Phone 7?

How can I detect network connectivity in Windows Phone 7? Is there a simple API for that? ...

All Frames with different Uris navigated to first created Frame

I create multiple Frame programmatically and navigate each Frame to different page, But all of Frames navigate to the Uri of first created Frame while the Uri is different. EDIT : In my project user can open some items from his inbox list and view each item's page in different tab(each tab include a Frame). If this is not possible, i...

LINQ to Entities Domain Service

I have a domain service, derived from LinqToEntitiesDomainService<FOOEntities> It has one method, IQueryable<Bar> GetBar(). GetBar returns a LINQ query on the entity model. The LINQ works fine in LINQPad. In the XAML of a Silverlight thingy, I have a ListBox whose ItemsSource points to a DomainDataSource defined in the same XAML file,...

How an Asynchronous call communicate to UI

A Windows Phone application referencing a dll(another class library project). There is an asynchronous webrequest in the dll to request a server and parse the response. Click event of a button in the main page of WinPhone application calls the asynchronous method of referenced dll.The callback method raises an event when the response is...

WP7 : How to do some treatment during splash screen, but before the first page is open ?

In a Windows Phone 7 application, I need to do some treatment before the first page gets opened. But I'd like to do it during the splash screen, so the user knows the application is effectively running. I tried several events : Application.Launching event is fired before splash screen Frame.Navigated event is fired after the first pag...

Best way to get a glow effect windows phone 7

I'm messing around with the Windows Phone 7 sdk and I'm trying to make the screen look like an old fashion digital display. Right now I'm trying to figure out how to make the text "glow" like one of those cool digital clocks. This is the sort of thing I'd assume you would look in to using shaders for, but it seems that shaders are disabl...

How to find and delete Binding from dynamically added and deleted UserControl

I have a set of UserControl, which share the same business object (ViewModel), but only display data from this in different way. I select an active UserControl via combobox. Old UserControl I delete from StackPanel and add new UserControl. var uiElement = thisObject.EditorsContainer.Children.FirstOrDefault(); if (uiElement != n...

silverlight grid background image

Hi, How do you set the backgound image of a grid in c# (code behind). Thanks Sp Can I do something like this? public ImageSource ImageSourcePin { set { this.DreamTypeImagePin.Background = value; } } This worked,thanks for your help public String ImageSourcePin { set { ImageBrush img = new Ima...