silverlight

How to implement a single business logic layer based on CSLA and consume it from WPF, Winform and Silverlight?

Is it possible to have a single implementation of business logic layer (based on CSLA) and consume it from different presentation technoligies like winform, silverlight etc. There exists CSLA for silverlight. Does that mean implementing and maintaining different BLL for different presentation technologies. Any help would be appreciated....

convert ordinary web project to silverlight supported application

Hi, I have a dotnet web solution. I wish to include the silverlight technologies into it. Can you tell how do I proceed. I am new to silverlight...so might be this question a blunder :( ...

Curve the border of silverlight listbox control

Curve the border of silverlight listbox control: I just want to curve the ends of the silverlight listbox border. Is there any thing wrong I am doing , because i am not able to get the borders curve : <Style TargetType="ListBox" x:Key="listboxStyle"> <Setter Property="Padding" Value="1"/> <Setter Property="Background" Value=...

Change the ComboBox Popup control to be right-aligned with the its parent

I'm trying to get a ComboBox to display its Popup right aligned rather than left-aligned as is the default. I mean I want the right edge of the Popup to be aligned with the right edge of its parent. I tried overriding the ComboBox class but that didn't quite work as the Popup HorizontalOffset seems to be reset somehow. I thought that wo...

In WCF Ria Services, is it possible to other to connect to my Service? If yes, how can I ban it.

Is it possible for others to connect to my defined services in my Ria application. If yes, how can we remove this access? Thanks in advanced! ...

WCF RIA Services and communicating via SSL

I have a simple Silverlight application that use WCF RIA Services to communicate with the ASP.NET application on my web server. By default I assume that this communication is plain and not encrypted in any way. How do you request it use SSL or some other method to ensure that all data via the WCF RIA Service is secure? ...

Silverlight programmatically binding from C# code

I have a Canvas and a custom control called BasicShape After I add two BasicShape controls on the Canvas, I want programatically to connect them with a Line and I want to do this using the Binding class. I want to connect the Bottom side of first shape with the Top side of the second one. Initially i tried to connect only the X1 proper...

Add textblock to ellipse in WPF

How to add a TextBlock to an Ellipse in WPF/Silverlight? ...

What is wrong with the custom attached property?

Hi, In visual studio I get "XAML parsing error" when a story board is run. The application launches but when I mouseover a button which has been templated, the error is shown. My buttons template (using visual states etc) has a circle that scales which is passed in via a custom attached property. The code that raises the error at runt...

How to close popup in silverlight?

I have ListBox. when i click on ListBox item I have to show item information in popup But it does not close after clicking out side. I am creating popup in itemsselected event. how to handle popup close? ...

What is the use of spring.net?

We are developing an application using Silverlight and WCF Services. Is using Spring.Net is beneficial for us? ...

How remove border from clicked button in silverlight?

Hi all. I have a button and image inside it in my silverlight user control. When I click to the button a border added to it. Can I remove border from button when it is pressed? Thanks. ...

How to make a RichTextBox Transparent as well as Read-only Silverlight

As soon as i set the readonly property to true,the Transparency of the RichTextBox becomes greyish, so my RichTextBox no longer looks transparent. ...

How to take advantage of browser caching of XAPS

I have a Silverlight Application that currently downloads XAPs on demand using Package.DownloadPackageAsync() from the System.ComponentModel.Composition.Packaging namespace. As far as I can tell this circumvents any sort of browser caching of XAPS that may take place. Does anyone know how to take advantage of browser caching using on d...

Silverlight 2: XamlParseException in Silverlight 2

I have the following problem that appears in Silverlight 2; in Silverlight 3 the same code works OK. The XAML code is the following: <UserControl x:Class="My_Discussions.ThreadListItem" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:vsm="clr-namespace:Sys...

What are the exact differences between CSLA for silverlight and windows?

How CSLA for silverlight and windows differ? What are exact differences in terms of features? ...

Any hints on the xsd bloat created by a WCF web service reference in a Silverlight 3 project?

I've a Silverlight 3 based project, talking with a DB via a WCF web service. So far, so good. I'm growing more and more concerned about the sheer number of xsd and wsdl files generated in the servicereference subfolder. The increasing numbers seems to be a kind of versioning, but I'm not sure... Do you know what is it for? It seems no...

Make a Silverlight 3 control transparent background

Need to make my Silverlight control transparent to the underlying HTML. Am doing it the way I've seen it done before but something's not jiving... <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="640px" height="296px"> <param name="source" value="ClientBin/slvStartPage.xa...

Image button Custom Control, silverlight

I am trying to build the Image button by setting <Button.Content> <Image Source="..."/> </Button.Content> Everything is Fine but i am not able to set the Visual States when button is clicked i wanted to something like Flash on top of button (Blue Purple Theme). One more thing I need to create around 10 such button with different Ima...

Very slow performance deserializing using datacontractserializer in a Silverlight Application.

Here is the situation: Silverlight 3 Application hits an asp.net hosted WCF service to get a list of items to display in a grid. Once the list is brought down to the client it is cached in IsolatedStorage. This is done by using the DataContractSerializer to serialize all of these objects to a stream which is then zipped and then encry...