Hi!
How can i add a control to a Silverlight Grid control without blocking the user interface.
I am creating a complicated Chart control and when i call myGrid.Children.Add(myChart) the whole page is blocked and not responding.
Any idea guys?
...
We are starting to use Silverlight 3 and PRISM and are successful to load modules by reading from a XAML file. However, I would like to be able to read those definitions from a database table using a WCF call.
I have the WCF call returning data, however WCF is called asynchronously and I cannot get this to work using any of the sta...
Thread MeasureThread = new Thread(delegate()
{
TextBlock tb = new TextBlock();
});
MeasureThread.Start();
This throws an invalid cross thread access exception, even though this particular TextBlock would never be added to the visual tree. I realize that I could probably wrap it with Dispatcher.BeginInvoke, but that seems to defeat th...
I'm finding mixed answers to my question out in the web. To elaborate on the question:
Should I instantiate a service client proxy once per asynchronous invocation, or once per Silverlight app?
Should I close the service client proxy explicitly (as I do in my ASP.NET MVC application calling WCF services synchronously)?
I've found pl...
Good Day,
I have a Silverlight form that contains a Stack Panel (orientation = vertical) with 10 rows. Each row contains a TextBlock and Textbox control except the last row has a TextBlock and Drowdown.. At the bottom of the control are two buttons. Previous & Continue.
There are 10 items in the Dropdown. When I select a value from...
I use this Silverlight sample (Picture Gallery) in my project.
I want to change Full-screen message but i can't find this message in source code. help me please. thanks.
...
Hi!
I am in need to display a map in a silverlight / asp.net application, and moreover I need to do this "offline", that is, on an intranet with no external internet access.
Do you know any components which would allow me to display a navigable map and put overlay data over it? I tried the excellent Virtual Earth silverlight control fr...
I have images scattered throughout my silverlight app, and because of the structure we decided on, all images are brought in from an HTTP URL.
Currently, in XAML an image would be declared as follows:
<Image Source="http://www.example.com/directory/example.png" />
I would like the base URL for all images referenced stored in a global...
I have a question regarding the sequencing of events in the scenario where you are calling a wcf service from silverlight 3 and updating the ui on a seperate thread. Basically, I would like to know whether what I am doing is correct... Sample is as follows. This is my first post on here, so bear with me, because i am not sure how to po...
Hi,
I m trying to do a simple validation on textbox, its a required field and cannot be empty. Initially value will be empty so when user do not enter any value into the field and directly clicks Save button then valitaion is not triggered. It works fine when user types something and then deletes the value from it then it works perfectl...
I have a network directory that has a dump of all employee pics here at our company. The images are named FirstnameLastinitial.jpg. I ultimately am trying to build a photo browser of these pics in Silverlight but I thought I would start with how to harvest the Pictures from that location.
I would imagine that I should generate an XML ...
I am trying to modify a Datagrid in Expression Blend 3 using Silverlight 3 tools. When I attepmt to open the file Blend shows the "Invalid XAML" error and in the XAML shows errors on certain properties within the DataGrids declaration.
<my:DataGrid x:Name="dataGridLegals" AutoGenerateColumns="False"
GridLinesV...
I've got a Silverlight 3 app that works great, except on 4 machines. DispatcherTimer and Storyboards are not firing consistently on these 4 machines. I've created a very simple test app to try to figure this out, I'll list the code below.
Basically the test app updates two TextBlocks every second. One using DispatcherTimer, one using a ...
Hi all.
I have a converter that returns a background colour based on a binding value on a DataGrid. This is working great in WPF but when i put this code into silverlight it is not happy.
Reading some posts on here it seems i can not use TargetType="{x:Type my:DataGridCell}"
The answer suggested was to use simply TargetType="my:DataGr...
Hey guys IM Looking at Implementing MVVM in Silverlight. Kind of new to Silverlight and I'm Definately new to MVVM Pattern.
I get it all But I want A set of small Prism VB.Net MVVM exmaples if that makes sense.
Anyone have anything
...
Hi All,
There is a lot of talk about the simplicity of Visual States and the transitions between them in WPF/Silverlight.
I have the need to generate animations dynamically at runtime, to animate the rotation of a 3D model (depending on the users mouse interaction, I want to rotate the 3D model around its axis).
I have been generating...
I am currently playing around with Silverlight3, C# and LinqToSQL .
I have build up a database on a SQLExpress Server with some tables for example:
Employees ( Id, Name, DepartmentId, TimeStamp )
Departments ( Id, Name, TimeStamp )
The Id fields are VarChar(50), the Name Fields are VarChar(100) and the TimeStamp fields are of type time...
I need a simple HTML renderer ( like HtmlTexBlock ) which also allows to intercept click on custom defined link ( like LinkLabel ) looking like hyperlink. Does anything like that exist as free software ?
...
Hi all,
I have a ListBox (AvailableDevicesListBox), which is populated using data-binding in Silverlight 3. The binding is to a collection of objects of type DeviceDTO. It is set up to allow multiple selections, and this all works fine.
However, I'm trying to get a 'Select All' button working, and if I iterate through the AvailableDe...
I have a user control that has a white background with a Zindex = 0. I also have an image on top of the white background with a Zindex = 10. When I use planeprojection to flip the image 180 degrees on the X-axis it just shows my image in reverse. How would I get it to show the white background when it gets flipped?
...