silverlight

Creating an IMAP client application in Silverlight

I'd like to make a stripped down email client for my pre-schooler using Silverlight 3 and pulling email from a Gmail account. I'll have some filters setup in Gmail so that only a subset of email is given a particular label, similar to creating a whitelist. Then, I'd like to pull those emails with that label to the Silverlight client....

LINQ to XML vs. XmlReader

In my Silverlight application I'm using mostly XmlReader but I'm playing with idea to replace XmlReader implementation with LINQ to XML. What are pros and cons between LINQ to XML and XmlReader in Silverlight? ...

Change the position of the textbox validation

The new data validation in silverlight 3 has a red textbox that flies out to the right. This is a problem for me because I have have a textbox to the right that is getting covered by the popup. How can I make this popup move somewhere else? ...

Is it possible to configure a GridView to show pivoted data using static XAML if column info is unknown at design time?

Hi, I was recently, um, chastised for generating and loading XAML markup at runtime using XamlReader.Parse(). I was told that there's no reason to use XamlReader--it can always be done with static XAML, predetermined at design time. I attempted to ask this person how I could construct a GridView to show pivoted data, where the number of...

What is the best way to ensure that web-page contents are redownloaded from your web-site instead of using cached temporary internet files?

I have noticed that when updating my web content files (in this case, a silverlight XAP file) the browser does not detect that the file has been updated, and continues to reads the locally cached file. These files will only be updated rarely, so reading from the cached temporary internet files should occur most of the time. My question...

Best tutorial website for Silverlight?

what are the best tutorial website for getting basic information about Silverlight? ...

Blend Issue: "Edit Template > Edit a Copy" unavailable for a control when in PopUp

Hello everybody, Is this a known issue? I have the following XAML: <Grid x:Name="LayoutRoot"> <Popup> <Slider /> </Popup> </Grid> I try to edit the ControlTemplate of the Slider by using Blend and right-clicking on the Slider > Edit Template > Edit a Copy. However this option is gray (unavailable). Thanks, Kiril ...

What is the value of the AutomationPeers in Silverlight?

What is the value of the AutomationPeers in Silverlight? ...

Sharing state between ViewModels

I have two ViewModels that present the same Model to different Views. One presents the model as an item in a ListBox, the other presents it as a tab in a TabControl. The TabControl is to display tabs for the items that are selected in the ListBox, so that the tabs come and go as the selection changes. I can easily synchronise the two co...

Silverlight - Support For Dynamic Code?

I'm trying to understand a little about the relationship of server-side code to client side code in Silverlight. I would anticipate that you can't simply 'eval' a string and have new code, but could you load an assembly on the server side and include it with the Silverlight code that is sent down to the client? I'm a complete 'noob' wh...

How to increase MaxStringContentLength on the server side for binary Http binding

I recently converted some Silverlight 3 WCF services to use the new binary http bindings. Long strings are often sent over to the server for deserialization in these services and I previously used to ensure the data could be read properly. However, with the new binding I can't find the correct place to add the element: <custom...

Silverlight Runtime Error 1001

So I have a deployed Silverlight app that works fine on most client machines. However, I have 1 client machine (Windows Vista / IE8) that throws the following javascript error: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; ....

How can I turn off Validation in the Silverlight 3 DataGrid?

I have a Silverlight 3 DataGrid that I am creating in code, in order to handle transposing data. For every column I need, I create a DataGridTextColumn, and set it's binding in code. I set the Binding object = TwoWay and set ValidatesOnExceptions = false and NotifyOnValidationError = false The grid worked fine under Silverlight 2, but...

Exception trying to Update Service reference!!

I have a Silverlight Application that use a WebService for MultPorpose, When i usa that markers: [XmlInclude(typeof(StringCustomField))] In on of my classes i get that error: System.InvalidOperationException: An exception was thrown in a call to a WSDL export extension: System.ServiceModel.Description.DataContractSerializerOperationB...

Thread.Sleep(1); is too slow for a Silverlight animation, is there an alternative?

I have this algorithm that are drawing a lot of pixels on a Canvas in an animation. But I have no control of the speed of the animation and it is drawing very fast, so I added a Thread.Sleep(1) but then it is too slow when drawing several thousand pixels. I have tried a Storyboard approach but that ended up to be a very slow. So are the...

WPF vs XBAP vs Silverlight... which suits business applications?

I'm pretty familiar with a lot of the ins and outs of full fledged WPF client applications. I know that WPF client applications supports the full .NET Framework 3.5, allows for hardware acceleration of 2D and 3D graphics, theming, templating, styling, triggers, the works. What I'm not clear about is what features, and/or niceties are ei...

local DeepZoom / MultiScaleTileSource in Silverlight

How to provide a MultiScaleTileSource implementation that can generate images locally (i.e. without downloading of the image data)? This is a follow up to : Follow up on: stackoverflow.com/questions/432956/silverlight-make-deepzoom-to-load-tiles-from-local-source which did not get answered. All samples on the web end up to be based on ...

PHP & Silverlight Cryptography Chalenge!

OK, I give up. I have been trying to figure this out for weeks now. I think I will leave it to the crowd-sourcing machine. Can Somebody Please Make A PHP 5 Equivalent Of Anyone Of The 2 Classes Below? (I mean with that both encrypted Silverlight Cryptography Class 1: Public Class AES128Helper Public Password As String = Nothing ...

Silverlight 3.0 navigation with transitions ?

Hey all. Back in the day, during Silverlight 2 Beta 1 I've stumbled upon a piece of code at flawlesscode.com. The forementioned code enabled the user to navigate between xaml pages while employing some nifty hard-coded transitions like fading etc. Needless to say this still works in Silverlight 2.0 and to the best of my knowledge in Si...

Local data sources for GIS Map plugin?

I am developing an ASP.NET intranet application that needs to have an interactive map interface. There are some pretty neat Silverlight mapping plugins that I think could work well, specifically: ArcGIS Silverlight API: http://resources.esri.com/arcgisserver/apis/silverlight/ DeepEarth mapping framework: http://www.codeplex.com/deepe...