I have a simple test app in Silverlight 3 and Prism where I'm just trying to bind a button Click to a simple command I have created on a view model.
This is a test app just to get commanding working.
When I run it I get a binding error telling me that the view cannot find the command:
System.Windows.Data Error: BindingExpression path er...
Hi I have contentControl in my user control. I am applying style to this contentControl which consist of TextBlock and ListBox. I am binding text of the textBlock to CategoryName(from Tag of the control). I want to bind category's child items to listBox. I have set ContentControl's dataContext property to child items[]. Now how to bind t...
I am interested in the best practices to access Windows Azure API from a Silverlight application? I am pretty sure as an experienced developer it will require me to build a back end web service that silverlight can then use as an interface between Azure API and Silverlight. But I am concerned with speed and security...For instance I am...
I really want this so I can serialize / deserialize some complex data objects using JSON.
...
Hello,
I have a Silverlight application that manages images and associated metadata stored on a server.
The user can also load several images in the SL module and upload them to the server.
I am using System.Net.WebClient.
In that case, 1 asynchronous request is sent per image.
In case the server crashes, I see in Firebug that all the ...
I'd like to know what the differences between an Style (for a control) and a control template are.
Best regards,
Gonzalo
...
I need to allow an advanced user to enter an XPath expression and show them the value(s) or nodes or attributes found. In the .Net framework, the System.Xml.XPath.Extensions can be used to call XPathEvaluate, but Silverlight doesn't have this MSDN reference. Has anyone rewritten the extension methods for use in Silverlight? What is the b...
It seems like no matter what i do, i get AG_E_PARSER_PROPERTY_NOT_FOUND when trying to bind a property in DataGridTemplateColumn in silverlight. I've even tried tried the following
<data:DataGridTemplateColumn dataBehaviors:DataGridColumnBehaviors.BindableTextOverride="{Binding ElementName=LayoutRoot,
...
Given the object graph below I need to have 2 different style applied depending on whether the Parent object has any children or not.
I am unsure how to go about setting the style on a condition like this, can anyone help please?
Parent (Object)
Prop1 (string)
Prop2 (string)
Children (List<Object>)
Thanks in advance.
...
I am using the Silverlight WriteableBitmap command to render a 'Pie Chart' using the following code.
Chart GetChart()
{
Chart newChart = new Chart() { Width = 100.0,
Height = 100.0 };
PieSeries pieSeries = new PieSeries();
pieSeries.SetBinding(PieSeries.ItemsSourc...
I'm having a problem passing an list of application-defined objects to RIA services. I get a compile error saying "Error Parameter 'filters' of domain operation entry 'GetPagedExams' must be one of the predefined serializable types."
Here's the query in the DomainService:
[Query]
public IQueryable<ExamEntity> GetPagedExams(int first, i...
This only seems to be a problem now with firefox 3.6
When you click anywhere on the page which is one big embedded silverlight object the little broken outline appears, the same as when you say click on a link. This is causing the page to go one pixel over horizontally and vertically which is causing scroll bars to appear.
Any idea?
...
I'm trying to read in some sample data from an XML file in a Silverlight project, and this line:
using (TextReader reader = new StreamReader(@"C:\Users\mike\Documents\Visual Studio 2008\Projects\test\test\Data\test.xml"))
Throws this exception:
System.MethodAccessException: Attempt
to access the method failed:
System.IO.Stream...
Hi there,
I have a custom control and I would like it to act like a button i.e. when you hover over it changes a little so it seems "clickable" to the user
I actually acheived this using the MouseEnter and MouseLeave events and changing the gradient but...
is there a way to apply a style to the user control and say something like Targ...
In Silverlight 3.0 I have added a custom behavior to some UIElement in Code Behind.
I wanted to remove the Behavior later in runtime.
What is the C# syntax to Detach an already added Behavior from an UIElement ?
...
I want to start silverlight development inside an application which developed by WPF.
Actually we want to add silverlight featuretoan existing WPF project. what should we consider and how todo this
I saw Getting started with Silverlight development and it was not my answer
I mark this as a Community Wiki.
...
Hi,
What I am trying to do - I have a grid with some data, lots of it being text, what I want is to be able to hightlight a certain string within all that text....
I have the term...test
The text in the cell is "test 123 testing 123"
I want the word test to appear yellow, bold (or any other style I need).
I have done this with an asp.n...
After 9 month developing an enterprise application using MVC + JQuery our Management and stockholders interesting to convert and switch to silverlight! they think it's more powerful than Ajax, make development speed faster than our current solution, It's Windows and Web and less headache.
Unfortunately, our stockholders dos not know an...
I have several Silverlight component which are going to be used inside the browser, is it possible to pass the styling from the page to the Silverlight components?
I'm aware of 'initParams' in Silverlight and how these could be used to do this, but what I wanted to know is there any support for CSS and what is the preferred way to do st...
I have a master-detail view, which I created in Silverlight 2. So, I'm not using the new master-detail stuff available in SL3.
So basically you have a grid at the top, and at the bottom you have the details for whatever item you select in the grid appearing in a panel.
I did not want the user to be able to accidentally change the value...