silverlight-3.0

Silverlight - preventing ChildWindow movement

Anyone got any neat solutions to prevent a Silverlight ChildWindow being moved? thanks, Mark ...

How can I calculate a group wise total in a silverlight datagrid?

I want group wise sub Total and at the end grand total please provide some sample code for the same For Example Group ItemID Price qty total 1 1 5 2 10 2 3 3 9 ------ 19 2 2 3 3 9 ...

How to handle both the KeyDown and KeyUp events in a Silverlight 3 TextBox

I am attaching handlers to the KeyDown and KeyUp events of a Silverlight 3 TextBox as so: _masterTextBox.KeyDown += (s, args) => { CheckForUserEnteredText(MasterTextBox.Text); args.Handled = false; }; _masterTextBox.KeyUp += (s, args) => { UpdateText(MasterTextBox.Text); }; When I comment out the KeyDown handler, then the K...

WCF RIA Services: overriding DomainService.AuthorizeChangeSet - who cares?

I am overriding the AuthorizeChangeSet method and return false. The change set is not applied to the data context as expected, but how is the client notiied about this authorization error? The returned SubmitOperation has no error, and I cannot find any information elsewhere inside. (Still using the Nov 2009 beta with VS2008 and net3.5)...

Is it possible to add a Silverlight 3 out-of-browser application to the add/remove programs list?

Is it possible to include a Silverlight (3) out-of-browser application to the add-or-remove programs list? The intention is to be able to remove the OOB application that way (not just by right-clicking from within the running app)? If the OOB app is installed with a shortcut to the desktop and you try to delete the shortcut you are pre...

Add multiple Styles to Silverlight Control

Hello, I'm using silverlight and I defined two styles for the page: ExpanderBottomRightButtonStyle ExpanderScaleStyle Now I want to add those two styles to the same control: <controls:Expander x:Name="expBRButton" Grid.Row="1" Grid.Column="2" Margin="5" Style="{StaticResource ExpanderBottomRightButtonStyle}"> <controls:E...

is there difference between debug and release reference path while compiling?

I am building a SL3 + RIA application in VS2008. When compiled the application in debug mode it compiles fine with out any error, but when I compile the same application with out any code change in release mode I get an error 'The type of namespace name 'BusyIndicator' does not exist in the namespace 'System.Windows.Controls' (are you m...

Does anyone have code to make the mouse cursor a cross/plus sign in silverlight?

Does anyone have code to make the mouse cursor a cross/plus sign in silverlight? when I click on one draw button then I want cursor as cross/plus sign do how can I implement in the silver light ? ...

Silverlight local storage

As you may know Silverlight has support for local storage. We are looking at creating Sl application that will work in off line mode. This application may require quite a bit of data to be cached on the client side. Obvious solution - use local storage with some sort of XMl based structure won't work as our PoC showed due to performanc...

Problem with Silverlight 3 projects in Web Developer Express 2008

Hi, I have a strange problem when working with silverlight 3 projects in Web Developer Express 2008. Mainly, I cannot show the design view of a XAML file. Also the XAML files (markup) are shown as plain text files (No Syntax coloring & No Intellisense). However I can write an application that is compiled and run successfully. I have th...

Can I use Silverlight 3 third party controls with Silverlight 4

Recently I installed Silverlight 4 plugin and noticed that windowless mode now works correctly with FireFox. I quickly read SL4 release notes but cannot find answer. Can I use SL3 controls (we are using a LOT of DevExpress and Infragistics controls) in SL4. ...

Silverlight ScriptableMember in Firefox 'Content is undefined' error.

Recently I'm learned how to call SIlverlight methods from JavaScript. All works fine (even in Chrome !). But in FireFox 3 (3.6.4) registered Page object is undefined. My Code is very simple silverlight [ScriptableMember] public bool HasFilter() { return true; } And in MainPage constructor public MainPage() { InitializeComponen...

UpdateLayout throwing an ambigious exception

the stack trace displays my method's name then "external code" then app_unhandledexception method, I'm developing within VS2008 SP1 for silverlight on firefox and windows 7(if that makes a difference). the weird thing is, the updatelayout method is called elsewhere and it generates no exception there, that said, if I put the method with...

How to Load PDF in silverlight

Hi....I need to prepare proof-of-concept for a silverlight application. For that I need to load PDF in silverlight. I just need to load PDF in browser and allow the user to perform next, previous, stop and pause actions. Anybody can help out. ...

Silverlight Line Chart From XMLRPC Data Source

I'm trying to create a Silverlight line chart from an XMLRPC data source (coming from Drupal), what steps do I need to take? Is there a step by step tutorial anywhere on how to do this? ...

'normal' SVC versus 'Silverlight' SVC (WCF)

Hi, i'm trying to call a WCF service from my Silverlight 3 app. But... when trying to create a 'silverlight enabled wcf service' in my web project, my VS2008 crashes during creating the item (i think while editing the web.config). So i thought: let's create a 'normal' wcf service, and manually edit it to be a 'silverlight enabled webse...

[Silverlight] DataGrid

I'm making tutorials. Silverlight + MSSQL And I'm on the last step when it says "Copy-paste my code and tada it will works"... :-/ But after I added System.Windows.Controls.Data reference it still can't find Error 3 The type or namespace name 'Data' does not exist in the namespace 'System.Windows.Controls' (are you missing an as...

How to get all methods from WCF service?

How to get list of all methods from WCF silverlight enabled service from code. I already have added service reference to Silverlight application. Can I get all methods using Reflection? If can please provide me example. ...

how to Read a folder on local machine and load them in a silverlight control ?

Hi..I am implementing a silverlight application in that I need to read a folder which has images in it. That folder is in my local machine. I want to access that folder to my silverlight code behind.After that i want to load all those images into Listbox control( or any other control to display images one by one. ) to display them one by...

TestPage.aspx in silverlight

Hi..I am a beginner in silverlight. I want to know what is TestPage.aspx and TestPage.html in silverlight. Actually i have google it but din't get enough information. Can any one give me answer?? ...