The Scenario
Currently I have a c# silverlight business application. The application is hosted in Asp.net using the ADO.Net entity framework and a domain service class to read/write to/from my sql server database.
The Setup
Client UI
In my silverlight client interface I have an autocomplete box which uses a query to get a list of ite...
Is there a way to know the first time a Dependency Property is accessed through XAML binding so I can actually "render" the value of the property when needed?
I have an object (class derived from Control) that has several PointCollection Dependency Properties that may contain 100's or 1000's of points. Each property may arrange the poin...
Does anyone have any good pointers for creating a custom silverlight timeline?! In fact it doesn't even need to be that custom, I have a database table and each object in that table has a datetime field called "CreateDate". I want to use this field to assemble a timeline, showing the other relevant fields at each specific CreateDate poin...
Hello,
I am animating a border resize in Silverlight however I also need to gradually remove the margin around it (currently 50). Blend doesn't seem to generate a tween for margin change - it just jumps from 50 to 0 in one go. Is there a way to achieve this?
...
The problem we are having is that we cannot get binding to work in our
prism silverlight application when using the view-model first
approach. The view first approach work fine. We have gone over the
official documentation and various web sites, but have still not
resolved the issue. Below is the code for both the view-model first,
and t...
Hi I'm a newbie at expression blend. I've created a button and added a storyboard animation within it. I've also added a hyperlink behavior. The link works but nothing happens when I hover over it to reveal the animation.
Are there any tutorials on how to link hyperlinks with animations?
Any ideas would be much appreciated :)
Thanks ...
Can Silverlight app work with wild card SSL certificates?
Eg. www.mywebsite.com, mysubdomain1.mywebsite.com
...
Hi,
I'm trying to build a simple Silverlight 3 MediaPlayer using the MediaElement tag:
<Border Margin="8,8,0,8" Grid.Column="1" Grid.Row="1" BorderBrush="Black" BorderThickness="1" CornerRadius="7">+
<MediaElement x:Name="FighterPilot" Source="http://localhost/repository/FighterPilot.wmv" Stretch="Fill"/>
</Border>
This works very we...
If I add CustomValidation on a class or a class property, how do I trigger that from code?
Thanks,
Mark
...
I am having a sample Silverlight app that contains a combo box with thousands of values(~4000). The values are pulled from the web service and populated currently, which takes a lot of time and renders the UI unresponsive.
The use case:
- A field in the UI needs to be populated by the user
- The field can have only certain predefined va...
Hi
I have a web application that has a div with a silverlight control inside of it. The div initially has a style of display: none. I have a button that sets the div's style to '', to show the div and the silverlight application. This works fine in IE. But in Firefox it just shows a white box. Doing a little javascript debugging, i...
I have a Listbox, that has a Checkbox as part of the item template.
In the click even of the Checkbox, I want to make sure that same list item is selected.
ListBoxItem lbi = ((ListBoxItem)listLayers.
ContainerFromElement((CheckBox)sender));
lbi.IsSelected = true;
The main issue that I'm having is that "Containe...
At this point 2 Projection implementations are provided in Silverlight,
but none of them really do what I want.
I need something like the PlaneProjector class but
it only needs a RotationY property and it should raise an event
whenever this property is changed.
I can't create a sub class from PlaneProjector as it is sealed,
so my only...
How to update the selectedindex of Combo box in Silverlight3 within Dataform. I am also using RIA. I tried updating in both Dataform_Loaded and Dataform_contentloaded the object is not created at that time. I get out of range error though I am seeting the selectedindex = 0;
Here is the code
private void RacesForm_Loaded(object send...
When using DataLoadOptions.LoadWith with ria services hooked up to a linq to sql model do i always have to specify the [Include] attribute in the entitys metadata class for relationships?
I currently dont use metadata for my entities and if theres a way to achieve this without i would be grateful to know.
...
Hi, I'm trying to create a hyperlink colour change in Expression blend. Is this done using behaviors or is it a styling technique. I'm very new to Expression blend to don't fully understand where things are and the process.
Thanks Judi
...
Background
Currently I have a C# Silverlight business application which uses RIA Services. The application is hosted in ASP.NET using the ADO.NET Entity Framework and a domain service class to read and write to the SQL Server database.
Since the RIA class doesn't support multiple JOINs between tables, it was therefore necessary to impl...
By default if you take a look at the Silverlight toolkit demo site,
http://silverlight.net/content/samples/sl3/toolkitcontrolsamples/run/default.html
you will see on the LineChart some points wich are relatively big.
As far as i know every point on the Chart is an Ellipse.
For that i created the style on xaml file.
<Style x:Name="C...
Hi,
We have a silverlight application which uses a dispatcher and I would appreciate any help explaining what the following codes does? (unfortunately the developer who wrote the code has left).
So what we have is the following:
Public Class ABC
{
private Dispatcher dispatcher;
private Thread threadRunner;
Public void ABC()
{
...
Im Implementing a video broadcasting website. For that I planned to use silverlight player to load videos. But I dont know how to integrate silverlight player into browser and load my own video in that player. Please Give me some code snippets or Some good references. Any help will be highly appreciated.
...