I have the following XAML code as part of a custom control:
<telerik:RadTreeView x:Name="treeModules">
<telerik:RadTreeView.ItemTemplate>
<core:HierarchicalDataTemplate ItemsSource="{Binding Submodules}">
<local:ModuleInfoUserControl IsReadOnly="{Binding ElementName=ctrlIsReadOnly, Path=IsReadOnly}"/>
...
My concern is that novice users will turn their back to a website which asks them to install Silverlight.
One of the reasons I think they might be scared of installing Silverlight is because they are not aware of what Silverlight actually is.
What's your take on this?
...
I have a Silverlight class marked with the ScriptableType & ScriptableMember and I expect to be able to pass the object from Silverlight to javascript. When I call JSON.stringify (in javascript) I expect to receive a JSON representation of the object but all I get is {}
The class is defined as:
[ScriptableType()]
public class MyEvent
{...
I'm trying to call a js function from Silverlight using the HtmlPage.Window.Invoke method but it won't call a function contained in a seperate js file.
Anyone know why?
Cheers
AWC
...
Hi, In a silverlight 3 project I have to draw an arc programatically and I have radius of circle and inner angle of the arc. Could you please direct me to some related articles.
Thanks in anticipation!
Haris
...
I'm using the Silverlight Toolkit's Accordion control. I wanted to create a list of controls that I could load into the accordion and replace on the fly if needed. So here is what I did:
Create a class to hold the header and content of each accordian item.
public class AccordionViewItem
{
public AccordionViewItem()
{
...
I've been desperately trying for about the last week to figure out whatever my disconnect is that I can't wrap my head around RIA Services. I've meticulously followed the example shown in the Microsoft tutorial video and I'm still having problems. It may be that I'm trying to do something you can't, but in all likelihood I'm just going a...
I have been trying to get the Silverlight charting toolkit to allow me to have a variable number of series based on the data.
A single line graph is easy you have two data points in my case NumberOfDays is the X axis and CountOfItems is the value to be graphed.
Now I want to be able to say
Product 1, Day 1, 10 items
Product 2, Day 1,...
When you run a Silverlight application there is a cute standard loader. When loading is finished, application is shown, although some files (such as images) aren't loaded yet and user can't start working with the application. Is there any way to keep loader spinning till all the files are loaded?
...
I'm trying to use the MVVM pattern in my Silverlight 3 application and am having problems getting binding to a command property of a view model working. First off, I'm trying to add an attached property called ClickCommand, like this:
public static class Command
{
public static readonly DependencyProperty ClickCommandProperty =
...
Hello
I have a project with SL3 and WCF Ria services. When I call from SL to a WCF RIA service the code works well but DOES NOT stop in the breakpoint using vs2008.
Am I missing something?
...
The TextWrapping feature in Silverlight is described here. However, I'm trying to find out the details of their line-breaking algorithm.
Obviously a space will cause the text to break (or split), encouraging the text to wrap to the next line. And through trial and error I've found that these characters also cause a split:
\t (tab)
-...
I'm experiencing two intermittent problems with Silverlight 3.0, running on Windows 7 with Visual Studio 2008 Standard edition.
My breakpoints will often not be hit, saying that no symbols have been loaded. Often times I can fix this if I stop debugging and try again once or twice. It seems completely random.
Infrequently, my project w...
I am trying to use a silverlight 3 dataform in my project. But I need to bind different controls to different objects in this form. Is it possible to do that. I mean all the data need to fill and edit this form is not coming from one object. Is it achieveable?
I also want in my silverlight control to show a combobox when I bind it to a ...
Hi there,
I have created a Modularized Silverlight Application with PRISM and MVVM, I have written a URLService that changed the url by using the bookmark trick.
I now need to be able to detect if the user enters a new bookmark. If a user modifies the bookmark I want to navigate to the relevant page.
Example:
If I am on page http://Si...
Hello,
When the user moves the mouse over an object, I'm trying to do some hit-testing in my MouseMove event handler to detect when the cursor is w/i a certain distance from an edge of the object. I suspect that in the MouseEnter handler I need to store the location of the object, then in MouseMove compare
e.GetPosition(this)
to th...
I being passed a object from javascript as JSON and it's type in Silverlight is of type System.Windows.Browser.ScriptObject.
How do I get the JSON representation from the script object?
Cheers
AWC
...
At my previous company, we created our RIAs using Flex with graphical assets created in Flash. In Flash, you could simply lay out your graphics for different states, i.e. rollover, disabled.
Now, I'm working on a Silverlight 3 project. I've been given a bunch of images that need to serve as the graphics for buttons that have a rollo...
I have a Silverlight datagrid where two of the columns are comboboxes. One of the comboboxes is bound to an unchanging Dictionary and is displaying the list of Keys. For the other combobox, I want to populate it with a hardcoded list of strings based on the Value of the selected item in the first combobox.
A little more context - the Va...
In my Silverlight UI, I have a button that when clicked pops up a control with some filtering parameters. I would like this control to hide itself when you click outside of it. In other words, it should function in a manner similar to a combo box, but it's not a combo box (you don't select an item in it). Here's how I'm trying to capt...