I wonder if there is a way of concating two strings in Silverlight inside xaml file. I have a DataGrid where one of the columns is 'Default Contact' and I would like to represent data in there as first and last name.
<sdk:DataGridTextColumn Header="Default Contact"
Binding="{Binding Path=DefaultContact.FirstName}...
hi,
I'm trying to call a windows workflow foundation published as a web service from a Silverlight project. When I call it from a console application it works fine because I can add a web reference then I just make an instance of that webservice then I invoke the method I want. The problem is in the silverlight project cause i can jus...
I have a RadGridView in which one of the columns contains only buttons.
Depending on the value of a boolean variable linked to a specific record in the grid, I enable or disable the cell containing the button. This is how I achieve this:
foreach (Item item in this.radGridView.Items)
{
row = this.radGridView.ItemContainerGenerator....
So I'd like to make a visible table, with a border around each cell and a different background color for the header. I'd like to eventually insert controls into this. For example, put a textfield inside one of the table elements, or some radio buttons, etc. Is there a control for this?
I've narrowed it down to two possibilities, but the...
I recently upgraded my Silverlight app from 3 to 4. After a few hours of bashing my head against the wall, trying to resolve an issue, I've narrowed down the problem to this:
I have a user control, with a ComboBox inside it. The ComboBox has a single ComboBoxItem child. The user control exposes a get accessors that returns the ComboBox'...
I am new to WCF & RIA services and have what seems like a basic problem. I have multiple times in my silverlight 4 RC application dragged and dropped from my datasource window to my form and have returned information from the database. However I have a need to query the database for other information (Building a report) When I try to us...
I have a listbox and am attempting to select and item in code. Sometime one item is highlighted, that is it is background is colored blue, but a different item has a square blue box around the it (no highlighting just an hollow outline of a box).
Am I correct in saying one is "highlighted" and one is "selected" and do I have them corre...
In a Silverlight 4 project I have a class that extends Canvas:
public class AppendageCanvas : Canvas
{
public float Friction { get; set; }
public float Restitution { get; set; }
public float Density { get; set; }
}
I use this canvas in Blend by dragging it onto another control and setting the custom properties:
...
So the Rectangle control has RadiusX and RadiusY property for making rounded corners. However, this affects ALL corners but I'd like to know if there's a way to just affect the top corners, or the bottom corners, etc. Is there a way?
...
When I tried to open the application here.
http://amazedsaint.net/nerddinner
It gives me an error saying that:
This application was created for an
expired beta release of Silverlight.
Please contact the owner of this
application and have them upgrade
their application using an official
release of Silverlight.
So what d...
How can I show folder and its subfolders from server to Silverlight application in TreeView?
...
Imagine:
[RadOutlookBarItem1]
[RadOutlookBarItem2]
[RadOutlookBar] [CONTENCONTROL]
What i want to achieve is:
User selects one of the RadOutlookBarItem's. Item's tag is bound like:
Tag="{Binding SelectedControl, Mode=TwoWay}"
MVVM Property
public string SelectedControl
{
get { return _showControl; }
set
...
Hi! I heard about silverlight 4 can use local fonts. So, is there a way fo enumerate them? I just want to have them shown into a listbox. Thanks you all!
...
In Silverlight, System.Windows.Threading's Dispatcher.BeginInvoke() takes an Action<T> or a delegate to invoke.
.NET allows me to pass just the lambda expression. but ReSharper sees it as an error, saying "Cannot resolve method 'BeginInvoke(lambda expression)'": Dispatcher.BeginInvoke(() => { DoSomething(); })
The error goes away if ...
I have a Silverlight 4 application that benefits greatly from having native mouse wheel support for a number of controls. The page that hosts the application has a HTML driven drop-down menu that would normally overlay the Silverlight control.
In IE, I have to enable windowless mode to allow the overlay menu to work correctly (Firefox 3...
Anyone got any neat solutions to prevent a Silverlight ChildWindow being moved?
thanks,
Mark
...
I'd like to use Google AppEngine with Silverlight client. I'm hoping to use the Google login authentication mechanism within the Silverlight client. Is this possible? Does anyone have any example sites where a RIA client used in conjunction with Google AppEngine security?
Thanks.
...
I have created a style for a listbox item which shows up the button. I can't fire the click event of a button as the style is kept in resources.xaml. How to fire the click event of a button?
I am setting the command property of a button :
<Button x:Name="image" Grid.Column="9" Margin="4 0 4 0" Style="{StaticResource LedgerDeleteIcon}...
I have an Image, which I need to scale based on the image's pixel values.
When I create the bitmapImage, the pixels (height and width) are both 0.
Is there a way to get height and width before the image is drawn to the canvas?
...
When inheriting a control in Silverlight, how do I find out if its template has already been applied?
I.e., can I reliably get rid of my cumbersome _hasTemplateBeenApplied field?
public class AwesomeControl : Control
{
private bool _hasTemplateBeenApplied = false;
public override void OnApplyTemplate()
{
base.OnApp...