silverlight-3.0

Silverlight plugin to Determine Page Height?

Hi there, I am currently working on a silverlight business application, so I have come across a little problem and I am looking for some asssistence. In the application I am developing some pages (in the silverlight) can become quite long, but what I am finding is that the ASPX or Browser is determining the page size and the hence the ...

Integrate Silverlight Unit Tests in TFS Build

Hi, We have been creating silverlight unit tests by creating a plain vanilla .net unit test project, removing all references except for the unittestframework one, and then adding references to the SL assemblies we need (system, System.Core, ...). For more information, look at this blog post. We can do this, as we are adhering to the ...

how to dataBind a comboBox to result function call in Domain Sevices Class?

Hello, background: very new and limited knowledge on C# / Silverlight / .Net RIA Services Situation: I have a function in my Domain Service Class, which by calling a function in a Referenced DLL builds an ArrayList. But due to inability to pass ArrayLists to silverlight when using RIA Services i cast it and return a List to the client...

Silverlight TransitioningContentControl Issue

Hello, We're trying to use TransitioningContentControl of Silverlight toolkit in our application. Almost all the material on the forum shows how to change content of the same control inside the TransitionContentControl. I have 2 separate grids, Grid1 & Grid 2 on the page and i need to transition each of them. On the click of a hyperli...

Attaching an Event Handler to a Code Generated DataTemplate

I have a question related to this one: I'm trying to attach an event to my StackPanel but it doesn't appear to connect when using the XamlReader. I can't get the ChildItem_Load method to get called. Does anyone know of a way to do this? Other than this event the code works fine. this._listBox.ItemTemplate = (DataTemplate) XamlReader.Lo...

kaazing... did anyone try it with Silverlight?

I wonder if anyone tried using Kaazing for client push with Silverlight? How did it go? http://www.kaazing.org/confluence/display/KAAZING/What+is+Kaazing+Open+Gateway ...

Can .NET Ria service push data from server to client?

Can the .NET RIA Service automatically push data to the silverlight client without the client polling the server at all? I want a feature similiar to wcf duplex polling. ...

Silverlight determine height of a textbox

Good Day, I have a scrollview control that has a StackPanel (Orientation=Vertical) UI Element inside of it. I have a series of textboxes (24) inside the StackPanel. The scrollviewer height = 250px. Ideally, what I want is when I start to tab from textbox to the next textbox, I want the scrollview to automatically scrolldown without u...

Adding visible elements to a custom Panel in Silverlight 3

As I understand it, a Panel isn't meant to have any visible "chrome." The StackPanel, Grid and Canvas don't have any visible elements (with the exception of the gridlines, which they say are only for debugging layout.) In my example, I am going to create a Custom Panel that uses Attached Properties to lay out its children controls. Ho...

Silverlight printing

What are my options for printing in Silverlight 3? Assume I have this awesome Silverlight application/control that creates a graphical display of some data. Now the user wants to print it. I have considered a few options but I have yet to test any of these. Before I do that I would like to get some feedback on how it can be done. Use ...

Using Mode=TwoWay and AutogenerateColumns=True in Silverlight 3 DataGrid

My List<BusinessObject> has some public properties that I want to bind to columns in a DataGrid. Unfortunately, the names of the public properties are not good and I may not even know what they are until runtime. For this reason, I set AutoGenerateColumns=True and interecept each DataGridAutoGeneratingColumnEvent so I can inspect what it...

Is there a design pattern for dealing with large datasets over the internet?

I am looking for a design pattern that handles large data sets over the internet, and does periodic updating of these objects. I am developing an application that will display thousands of records in the UI at one time. Additionally, various properties on these objects are quite transient and need to be updated on the client to keep th...

Using Silverlight.FX Window for MVVM as a Silverlight 3.0 Page?

I'm creating a Silverlight 3.0 MVVM application using Silverlight.FX but my View is actually using the Silverlight navigation system, a Page. Following Nikhil's example, my View should derive from the Silverlight.FX Window class. What's the best approach to making a Window that also supports the Page functionality or is there something ...

SelectionChanged not triggered when using ItemTemplate in Silverlight 3 ComboBox

I'm experiencing som strange behaviour by the Silverlight ComboBox. I started out with some simple code: xaml: <ComboBox Name="drpInstallation" SelectionChanged="drpInstallation_SelectionChanged" /> cs: List<string> installations = new List<string>(); installations.Add("Testing 123"); installations.Add("Antoher test"); installation...

Out of range error when closing pop-up

Good Day, I have a Silverlight control that appears on top of another (picture a pop-up box). In this pop-up control, I have a scrollview (height = 250) with a stack panel (instance name = spMain, orientation = vertical) inside. Within the contents of the stack panel are several textboxes stacked on top of each other. When I tab from...

Silverlight UI Automation of a TextBlock

I'm trying to set up UI automation for Silverlight 3. I have a little test project that has 2 elements, a Button and a TextBlock. When you click the button the text is supposed to change. I have been able to simulate a button click and the text does correctly change on the UI. However I am having problems retrieving the text from t...

can a UserControl be internal?

I have an assembly that defines a UserControl X. Within that assembly, X is composed of subcontrols Y and Z. I would like Y and Z to be marked internal, so that only X is available to users of my assembly. I tried to accomplish this by changing the default public accessibility in the XAML and codebehind classes, writing: <UserControl...

Integrating Silverlight into aspx page

How we can add the silverlight project into a aspx page. I had created one digital clock project in silverlight. But i don't know how to integrate with the aspx page. Thanks in advance.. ...

Problem Publishing Silverlight Application LocalHost

I am trying to publish my SilverLight application to the web and I keep getting "An error occurred while trying to make a request to URI "http://localhost:2898....". I've changed the ServiceReferences.ClientConfig to point to the web address but the app still keeps on trying to connect to localhost. I've opened the application in FireF...

Silverlight 3 Navigation Framework: Query Custom URLs

Hi, It seems that with the Silverlight 3 Navigation Framework, it is possible to get a PHP-like parameter query mechanism like so: mydomain.com/Views/News.xaml?title=SomeTitle ..and get the title via Code-Behind. But what I want is something like this: mydomain.com/Views/SomeCustomText I need to access "SomeCustomText" (or any cu...