silverlight-3.0

Silverlight 3 doesn't display a custom control's default template

Silverlight 3 doesn't display the default template for a custom control I'm working on. I have three projects in my solution: CustomControl.Controls - Silverlight Class Library CustomControl.Silverlight - Silverlight Application CustomControl.Silverlight.Web - Web Application In CustomControl.Controls I have the following class: [T...

Create silverlight 3 object in code behind

Hi, sorry if this is a very simple question but how do I add a silverlight 3 object, i.e. a XAP, from the code behind of an asp.net application ?? ...

Prevent postback in current page while chunking and sending data to a WCF service

hey guys, I have a silverlight app on an MVC page that user's can draw on, when they click save an event fires in both MVC and silverlight The MVC event redirects to a page where the drawing is reloaded so the user can confirm it was saved correctly (viewed on another silverlight app) The silverlight application event fires off a rout...

Ways to design heavy data-centric web application in Silverlight

I have to build a web application in Silverlight. This application is entirely data centric with SQLServer 2008 as the database. What are different ways of handling this design problem? Someone told me RIAServices would be a great option, but I am not completely knowledgable of it. One simple option I know of is creating WCFService and ...

Can't display base interface in class diagram ("type not found")

I have a class diagram associated to a Silverlight class library project in Visual Studio 2008 SP1. One of the pieces of code displayed in the diagram is an interface I have made that inherits from System.Windows.Input.ICommand. Now I want the base class of that interface (ICommand) to be shown in the diagram as well. So I right-click i...

How to wipe out all forms/grid data in Silverlight?

I have a Silverlight 3 business app set up with RIA Services. I use a domain datasource to connect to the backend and fetch the data and populate a series of dataforms and grids bound to this datasource. The issue is that we require tight security and currently when a user logs out and another logs back in on the same machine the forms/...

Get object that user control is bound to when within items control?

i have a parent usercontrol, here is an excerpt of xaml <Grid x:Name="LayoutRoot" Width="Auto" Height="Auto" Background="Black" > <ItemsControl ItemsSource="{Binding Path=Downloads, Source={StaticResource theViewModel}}"> <ItemsControl.ItemTemplate> <DataTemplate> <Downloader:DownloadControl DataC...

Is it possible for a silverlight app to always use the Out of browser app if it is installed?

i have a silverlight application (SL3) that is enabled for use out of the browser. what i want to know is, if the user installs the application "out of browser" how do i make my site always launch the out of browser application instead of hosting the silverlight application in the browser... is this possible? thanks! ...

Determining How Silverlight 3 TextBlock Wraps Text

I working on a Silverlight app that includes an screen emulator for a handheld device. The idea is that a user can attempt to format text that will display on the device, and see how it will look on the screen. The emulator also attempts to make a "best guess" at formatting a string to fit the device screen. I know I can do the math m...

What are the best silverlight themes?

Please suggest some examples of silverlight themes..to get more deep into silverlight, where i can found them? ...

Silverlight 3 - Out of browser HtmlPage.Window.Navigate

Silverlight 3 allows you to run your application out of the browser, which installs a link on your desktop/start menu. The problem is we are currently using System.Windows.Browser.HtmlPage. Window.Navigate(new Uri("http://&lt;server&gt;/&lt;resource&gt;"), "_blank") to load a URL into a new browser window (it's to provide a 'print ...

Silverlight 3 Checkbox Listbox bug when scrolling?

I've spent a few minutes searching on Google and have not found anything related to this issue I'm having: Today I upgraded to the Silverlight 3 SDK and converted a project that I'm working on. I then noticed a bug in my program with a Listbox that has a Checkbox as its DataTemplate. When one or more items is checked, and I scroll up ...

WCF service for Sl3

Dear all, I have written a simple service that uploads & downloads XML files. I want to implement it in a Silverlight 3 project, but on doing so I get following warnings: **Warning 1 Custom tool warning: Endpoint 'BasicHttpBinding_IxmlLoad' at address 'http://tony-pc/xmlLoadService/Service.svc' is not compatible with Silverlight 3. ...

WCF & Silverlight problem

Dear All, I have the following binding configuration in my WCF service that I'm trying to use with Silverlight. <bindings> <basicHttpBinding> <binding name="basicHTTP" receiveTimeout="00:10:00" sendTimeout="00:10:00" closeTimeout="00:10:00" openTimeout="00:03:00" ...

silverlight 3 Datagrid header customization

Hi. I am working on silverlight3 toolkit controls. I have to add listbox control in column header of datagrid. For example, I have dept column in datagrid control. When I mouse over on dept column header, it has to show list of dept names and Depend on listbox selected item,I have to filter my datagrid items. Can anyone plz help me to...

Need example of Flex or silverlight application that enables interactive drawing on a video

Hi, I am trying to evaluate which technology is best for my needs. I need to display a video I get from some remote device, and let a user interactively draw on it lines, polygons etc. I searched and couldn't find any existing applications with this ability (all the flash applications only displayed video). Could anyone point me to su...

pressing full screen on the mediaplayer does not play the video full screen

I'm sure I'm missing something obvious, but here's the issue. I'm playing a video using the ExpressionMediaPlayer. When I press the full screen button on the player the silverlight app goes "full screen" but not the video itself. Also, could someone provide a link to the documentation on this new control? ...

ConvertBase64ToImage converter from XAML in Silverlight 3

Below is a Class that converts a string (coming from a sql server database) to a picture. How can I call a conversion function from a XAML Image control, so that when I open a childform I will see the image of an individual employee based on what row was chosen in the main forms datagrid. Basically, my question is - can I call a converte...

Silverlight 3 & Deeplinking

I have a requirement to implement some deep linking into a Silverlight application and thought the new navigation framework in Silverlight 3 would be ideal. However after doing some digging about it uses Uri's to 'swap' one piece of xaml for another using the Frame control. What I'd like to do, is use the deep link to select it's rel...

deep zoom image drag-and-drop issue

Hello everyone, I am using VSTS 2008 + C# + .Net 3.5 to develop Silverlight 3 application using deep zoom. We could use mouse to drag and drop and image. But the image may be dragged out of the viewport area, which makes the viewport area empty -- causing bad user experience. Any ideas how to implement a solution to prevent from draggin...