I have a list of object that need to be displayed and moveable on the canvas. Could you please describe idea how to do that?
Thank you in advance for you help and time.
P.S. Actually I have some kind of solution (it is listed here: http://stackoverflow.com/questions/3553188/silvelight-4-why-items-are-not-moveable) but it doesn't work.
...
I have recently started using the MVVM-Light toolkit and I am stuck on the following problem: I have a basic Silverlight Combobox that is bound to a viewmodel with an ObservableCollection of type MyUser. The Combobox implements a custom DataTemplate to combine the user’s name and surname. After loading the list of users, how do I set th...
I am trying to change the Control template on a ListBoxItem when It is selected from the ListBox. To do so, I was going to get the selected ListBoxItem from the ListBox itself, and set the control template on that. How would i go about doing this? I have tried, SelectedItem and that returns the bound object within the ListBoxItem.
...
Hi!
I have observable collection with some items.
/// <summary>
/// The <see cref="Items" /> property's name.
/// </summary>
public const string ItemsPropertyName = "Items";
private ObservableCollection<SomeItem> _items = new ObservableCollection<BrandItem>();
/// <summary>
/// Gets the Items property.
///...
I have a Silverlight 4 application where if a certain usercontrol is visible the CPU utilization jumps to 100%. If the usercontrol is collapsed the CPU drops back to normal.
The XAML involved is way too large to post until I can isolated where the problem more specifically.
FYI: The code in question makes use of a variety of Silverli...
I have been using Shawn Wildermuths example and it has been working fine no problems at all. Today, however, I have added a few of my own Models and ViewModels and it still works. Problem appears when I start to add the attribute [RequiresAuthentication] into my DomainService. Although the code has exception handling, it prefers to cr...
When binding data to combobox, 3 items need to be set:
<ComboBox ItemsSource="{Binding MyList}" SelectedItem="{Binding MyItem}" DisplayMemberPath="MyName" />
Say ItemSource is list of Country
I set itemsource to right source firstly, it is fine. Then I set selectedItem to specific Country object, but it's not working.
Looks lik...
I want to raise an event from a .NET class, and receive this event in Silverlight code (out-of-browser, using the COM interop support added in SL4).
Can anyone point out the problem in my code? Do I maybe need to do more attribute-decorated interface boilerplate to get this working?
Code:
Rather than write native COM code, I am writin...
Hi
I am upgrading my application from silverlight 3 to silverlight 4 and using latest telerik binaries which is for silverlight 4, I have one issue in RadUpload.
When RadUpload.ShowFileDialog(); method called it will through the error as follows
System.Security.SecurityException: Dialogs must be user-initiated.
Can anyone help me ...
How to make the listbox items orientation to horizontal in the default styling of a listbox.
What i mean by default is the style which we get using blend.
...
Hello,
I have strange situation I have simple project to test RIA functionality in Silverlight 4.0.
When I use data source for Domain Service it works great but when I want to access Context from code and execute simple query I returns 0 rows.
//test One with query provided to DataSource
var q = ctx.GetDoctorsWithPatientsAndHospitalQu...
Is there a way to render pixel fonts correctly in Silverlight 4? Without breaking text into paths or some sort of manual rendering because the text is dependent on data binding. Tweaks with UseLayoutRounding and .5px positioning shifting don't work.
...
Hi All,
Trying to use Linq with some Entity objects to do a crafty query here. Hoping for some help with a point I'm having a hard time finding decent documentation on:
Basically, I'm trying to use OrderBy to order against the child of an object I'm querying against. The difficult part is that the object has multiple children, and base...
Hi
first of all, I am new to silverlight(play around with it for one month) and this is my first job. However, i am willing to learn anything which can let me advance my silverlight knowledge.
Currently, I need to implement a big Silverlight project about Financial(kind of similar to Microsoft Accounting). It will have a lot of tables ...
I'm trying to write some unit tests in a Silverlight project and I wanted to tag them with attributes like we do in a regular test project (VS2010). For example, something like this:
[TestMethod]
[TestCategory("BVT")]
public void TestMethod1()
{
}
I added a reference to Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll w...
I am building a webapp in Silverlight 4.0 and I would like it to have it expand to fill the width and height of the web browser. However, I can only get it to remain top center at the moment.
I have a Grid with 3 rows, 2 columns and Controls inside these which fill the cells. Therefore I only believe that I need the Grid to stretch to t...
Just wondered if anybody have tried using the "new" UploadProgress in silverlight 4 together with php ? Or can anyone help me out to get a demo working ?.
Source : Networking: In the beta,
socket ports were still being
restricted in trusted applications.
In this release, the port restriction
for socket ranges in trusted
ap...
I am developing a silverlight 4.0 application which communicates with a WCF service.
The WCF configuration (endpoint, ...) is contained in the ServiceReferences.ClientConfig file.
However, I would like the silverlight application to get this config from the web server as I don't want to recompile the application or fiddle with the XAP ...
my context: Entity Framework 4.0 + WCF Ria Data Service + Silverlight 4.
Suppose I have entity People from EF, then I created PeopleVM like:
public class PeopleViewModel : ViewModelBase
{
public PeopleViewModel(){
//....
this._hasChanges = MyDomainContext.HasChanges;
}
private People _Peopl...
I am embarking on development of a Silverlight based website. I am the lone developer and am doing it on my own (ie, not for any company). Now I want to load a lot of textual content on the website along with animations and rich user interfaces that can be created using Silverlight. The text content may change from time to time and when ...