reading an IsolatedStorageFile in Silverlight
I would like to take a file in isolatedstorage and convert it to a filestream for reading. how do I do this in code? ...
I would like to take a file in isolatedstorage and convert it to a filestream for reading. how do I do this in code? ...
As I'm working through an SL3/SL4 application, and starting to work with fonts, I'm finding a lack of documentation and best practices on font strategies. For example: Are there common fallback fonts for the supported font set (Arial, Comic Sans MS, etc.)? Is there a set of recommendations on fallback fonts between Windows and Macintos...
Is it possible to scroll to a particular row (by object identity) in a Silverlight DataGrid that has an ItemsSource which is a PagedCollectionView. I am loading a list of orders that are grouped by day/status etc. I need to be able to scroll to a particular order. var pcv = new PagedCollectionView(e.Result.Orders); gridOrders.ItemsSo...
How do I get both alerts, one invoked from silverlight and the other invoked from javascript, to show the same data in the same way. eg. ���� != ýÿýÿý System.Windows.Browser.HtmlPage.Window.Alert( data ); alert(parameters); Silverlight3 code, sending data to javascript function: System.Windows.Browser.HtmlPage.Window....
Hi What is the generic way to maintain state in multi-players game over internet, which can be played on GUI of WPF or Silverlight? One player might be on WPF gui and others might be on Silverlight GUI. P2P, HTTP server or some other technique? please advise. thanks, AJ ...
Can you give me a breakdown of the differences between Silverlight 2 and Silverlight 3? ...
I have a WCF based application that uses the services to access repositories on the server side. I am passing DTOs from the server to the client and was wondering how best to make the DTOs part pf the view model. I have a workign example of just plain properties on the view model but was unsure how to deal with actual DTO objects and a...
I want to pass dynamic parameter (UserName) from web application into silverlight . I know how I can do that in Silverlight 2.0 with Asp:Silverlight tag, however as in Silverlight 3.0 there is Object tag instead of Asp:Silverlight tag, I was wondering how can I pass dynamic parameter into Silverlight 3.0? I know we can use init param , h...
How can I make a class defined in Project 1 visible so I can declare objects of that type inside Project 2, if both projects are part of the same solution? Thank you. ...
I want to open a text file, make changes to it and then update same file via Silverlight. How can i do it? ...
We're building a web-based application that requires heavy image processing. We'd like this processing load to be on the client as much as possible and we'd like to support as much platforms (even mobiles) as much as possible. Yeah, I know, wishful thinking Here's the info: Image processing is rasterization from some data. Think lik...
Hi All, I am downloading a set of zipped files from a remote server and I am Unzipping it and storing it in Isolated Storage. In Unzipped folder I have an Exe and I need to launch the exe after Unzipping is complete. Can any one suggest me a way to do this.My silverlight application has elevated permissions and its running Out Of Browse...
Hi Friends In Isolated Storage File are stored some where deep in the tree level that is some two or 3 subfolders are made inside that files are stored . Is it possible to store in One level that is this is Isolated Storage path "\AppData\LocalLow\Microsoft\Silverlight\is\Myfiles".My files will have all the files which I am storing. ...
I have a application where user can set the datagrid header background color in runtime. How can I do this? I tried the same through the following code but it is throwing exception.I have used binding and but it's not working. var style = this.Resources["DataGridHeaderStyle"] as Style; style.Setters.SetValue(DataGridColumnHeader.Backgro...
my site has a subdomain, I use this policy with my silverlight app, <?xml version="1.0" encoding="utf-8" ?> <access-policy> <cross-domain-access> <policy> <allow-from http-request-headers="*"> <domain uri="http://dev.system-engine.com"/> </allow-from> <grant-to> <resource path="/" include-subpaths="true"/> </gr...
I have a doubt from a silverlight application we can access MyDocuments. I am creating an Application which will download a set of files from a remote server . Is it possible to save these file in MyDocuments instead of Isolated Storage. I am using Silverlight 4.0 . Can any one give me Sample codes for it. ...
I am using IsolatedStorage in Silverlight 3 to store some settings when a user navigates away from a page hosting the application. Currently i'm using a DataContractSerializer to write the settings to file. In some circumstances the resulting file is quite large, over 10MB (a lot of this size is due to the serializer itself and the XML ...
I have a silverlight app hosted on "dev.system-engine.com" which creates an tcp connection connecting to "dev.system-engine.com" the silverlight app and the policy file are on the "dev.system-engine.com" webserver. "system-engine.com" and "dev.system-engine.com" are separate servers. I cannot seem to get it to work. I have been strugg...
I have 2 logical groups of controls (textboxes,buttons, etc), and I'd like to have an opportunity to change their visibility: for example when the program loads the first group is visible, and after clicking on some button it becomes collapsed and the other group becomes visible. What's the best way to implement this kind of behavior? ...
Hello Everybody, I have a SL 3 application connected to a WCF service. This service retrieves an array of bytes. I'd like to save that array as a pdf file using FileStream. The problem is that when the byte array is retrived, I get an exception when trying to show the SaveFileDialog because that action is initiated by the callback metho...