silverlight

Simple File-based Record Storage with Fast Text Searching for Compact Framework and Silverlight

I have a single table with lots of records (> 100k) that I need to be able to index and search on several text fields. The easiest searches will have the first part of the string specified (eg, LIKE 'ABC%' in SQL). The tougher searches will need to search for any substring within the text fields (eg, LIKE '%ABC%' in SQL). I need to run ...

Silverlight project fails to compile

I have a Silverlight 3 project in VS2008. Today, for whatever reason, I get an error when compiling. Configuration system failed to initialize It reports the error on Line 1, Column 1 for every .xaml file in the project. I did a repair on VS2008, reinstalled all the Silverlight 3 bits (e.g. SDK, VS2008 tools and the Controls Toolkit)...

Video Streaming

First I need to state that I am not the developer so I will state the issue in business terms but please respond with a technical solution as I will be passing on your posts to the developer. We are building a web based application in SilverLight and WPF that consists of communication between a customer service rep and a customer. The ap...

how to write silverlight threading function in another file or project

I am using three tier architecture.I have SilverlightUI and UIController two projects.SilverlightUI contains only UI pages and controls while UIController contains all proxies of WCF services. Now I have created threads to update my controls dynamically and to do processing parallel.AS the requirement I want to define all functionality o...

How to port a C#.net .dll to siverlight for more platform independence?

I have coded a dll library using the basic utilities of C#. But for platform independence, I want to port it to silverlight. Is it possible? If possible, then how to do it? Or do you guys have any other suggestion? ...

XMLReader in silverlight <test /> type tag problem

Hi I am parsing XML in silverlight, in my XML I have one tag is like <test attribute1="123" /> <test1 attribute2="345">abc text</test1> I am using XMLReader to parse xml like using (XmlReader reader = XmlReader.Create(new StringReader(xmlString))) { // Parse the file and display each of the nodes. while (reader.R...

going to new site when button click c#

how can i do that when my button clicked i will open a new internet window e.g walla.com? ...

Silverlight DataGrid not stretching to accommodate all items in data source?

I'm having problems getting a Silverlight DataGrid to stretch to accommodate all the items in it's dataSource. I've got a Grid that contains two DataGrids. I've tried setting height=Auto on the Grid and the DataGrids. I've tried setting HorizontalContentAlignment="Stretch" on the Grid and the DataGrids. The object tag has height="100%"...

open new silverlight window when button click

i created a silverlight window and i whant it to appear when i press a button, how can i do it? it does't has a "show" method... ...

Tools needed to get started with Silverlight

What tools are required to start silverlight development? Is VS2008 adequate? Background: I'm thinking of dipping my toes into silverlight. I'm tired of the flash dev tools and process, specifically the PITA communicating with a web service. ...

silverlight child window

how can i do that my child window will be always on top? now its being blocked by other windows... ...

open a silverlight window in a new tab

i have a silverlight window, when a button pressed i want to open it on a new tab\window, how can i do it? ...

How can I refresh the browser page from within a Silverlight app?

Is there a way to reload the browser page from within Silverlight? i.e. have the same effect as a user clicking the reload button? ...

silverLight childWindow

how can i do my childWindow to be always on top? ...

create RSS in silverlight

how can i create an Rss window for news in my form? ...

Printing in Silverlight 4

Hello, We have an application structured roughly like this: <Grid x:Name="LayoutRoot"> <ScrollViewer> <Canvas x:Name="canvas"> <StackPanel> < Button /><Slider /><Button /></StackPanel> <custom:Blob /> <custom:Blob /> <custom:Blob /> </Canvas> </ScrollViewer> </Grid> Each Blob consists of 1 or more rectangles, lines, a...

Best practice for using Wcf service by silverlight?

How would you structure the code for calling a wcf service in silverlight application? Using only-once instanciated wcf service-proxy (aka singleton) and using it across the whole SL app? If so, how did you solve the unsubscribing controls from ws-call-completed event? or creating the wcf service-proxy for each ws-call? Where do you c...

Where to Store ID Field In Silverlight

I am trying to use the MVVM pattern, and I am wondering where I place an ID value. Do I create a TextBlock that has its visibility property set to collapsed? Or is there a better place to store this kind of data? Currently the command parameter is set to: CommandParameter="{Binding ElementName=Name,Path=Text}" But I'd rather it be ...

Silverlight: Print XPS Programmatically

Is there any way (library or native) to use the printing API to print an XPS document? I tried using the Document Toolkit API which works up to a point, but I get a COM exception when I try to set PrintPageEventArgs.PageVisual. ...

Silverlight 4 WriteableBitmap ScaleTransform Exception but was working in v3

I am getting the following exception for code that used to work in silverlight 3 but has stopped working since upgrading to silverlight 4: System.AccessViolationException was unhandled Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt. namespace SilverlightApplication1 { ...