Let's say I have a Class called ModelBase
public class ModelBase
{
public string Name
{
get { return "one"; }
}
}
and I have a property named Model of type ModelBase.
Now to the question how do I Bind to the Name property? The c# code would be this.Model.Name.
I've been trying to get this to work a long time, can some on...
I want to have two separate interfaces to my website, one that is silverlight, and one that is normal html for people who don't have Silverlight, and for search engines. They would have exactly the same content, the Silverlight one would just be a richer experience.
If someone with Silverlight copies the URL to a certain page, it will ...
I have a master-detail display in a single Silverlight view. The master is a DataGrid of partially populated items. When I select an item in the DataGrid, my service returns a fully populated data object, which is rendered in the Detail view.
This causes a problem when the user scrolls the data grid with the keyboard cursor keys because...
Hi,
The situation is as follows:
I'm using Windows Media Services 9 to stream my video and I use the latest Silverlight Mediaplayer RadControl from Telerik. At the moment I'm testing it all local host and the streaming server is in the same network, so problems with bandwidth and buffering etc is not the cause. I want to skip my video f...
I'm working on a Silverlight project with the WCF RIA Services beta. I'm using the BlahDomainService.metadata.cs file to validate a field by adding validation attributes, e.g. [RegularExpression]. It was working so I'm trying to put the Error message in a resource file and now it isn't working. The RegEx validation isn't being run on ...
Hi everyone,
I have two questions on markup below:
<Popup>
<Button x:Name="button"/>
</Popup>
Why VisualTreeHelper.GetParent(button) returns null?
How to get parent Popup for UIElement?
Thanks in advance!
...
I am developing an asp.net mvc web application that makes much use of jquery and the progressive enhancement principle.
I have a requirement for a complex control that needs access to .net code in order to function (using reflection across numerous classes). The choices were to duplicate this code in javascript (auto-generate if possibl...
Application.Current.RootVisual.KeyDown += Application_KeyDown
The above does not work if I'm on a ChildWindow - that was instantiated in runtime. My question is, how do I get the mousemove or keydown event in the Parent Window that hosts this ChildWindow?
Also, I'd rather not change anything in the childwindow (i.e., add an event that...
I made an expression blend 3 project with embedded fonts, then copied the whole solution folder to a different location on my computer. When I open the copy at the new location default fonts are used for all the spots that used to be embedded fonts. When I open the original, the fonts are fine. The embedded fonts folder is in the proj...
In silverlight app, I have a datagrid with image as first column (please see the code below that I am using)
when I click on the image I am capturing MouseLeftButtonDown event, the problem I am running under is that while clicking on the image the SelectedIndex in the Datagrid is not changing Hence I don't know which row was clicked.
<...
Is it possible to get the Character if "Shift" was Pressed, ie. if i press "1" I get the "1" character, but if I hold down "Shift" it becomes "!" - all without the quotes of course. I want to to something like this programatically.
There was a method where you could just add to the ASCII code however this option is not suitable as it won...
Hi All,
I have a news letter which i did in silverlight, is there a way to send it in email. like as you include html tags, is there a way to inlcude silverlight xap package in it.
Thanks,
NB
...
My organization is considering which technologies to use for our next generation of systems. We will be using .NET, but have not decided which user interface technology is best. Silverlight and WPF seem to be the most appropriate options. Can someone share the pros and cons of each approach?
...
Hi, I am looking at implementing PRISM into my next silverlight & WPF application.
I have read quite a bit about it and have implemented several sub patterns already in projects BUT I wanted to check with the community if there are any major gotcha's that other developers have come across when using the PRISM pattern that I should keep...
We are developing a Silverlight LOB app. It would be great for users to be able to click a help button on the top of a page and have the app walk them through the functions of the page as though the movements and key strokes were pre-recorded.
I've not really familiar with automation on any GUI framework but googling around it seems ...
Is it me or does the MultiScaleImage not even display without explicit width and height? I can't get it to fill a grid cell for some reason. It behaves differently from most other elements.
If I ditch the height and width on the Viewer, it doesn't display at all.
EDIT: Here's the complete picture...
XAML:
<UserControl x:Class="CliqueS...
I have a Silverlight application deployed on a HTTPS server. My applications generates reports that are saved as PDF files. Whenever a user tries to download a file from my application from IE, he gets a notification under the toolbar asking him if he really wants to download the file. If you agree, then IE reloads the page, sending the ...
I would like to learn Silverlight. What books or websites are recommended?
...
Hi,
I have a question regarding the setting of the HorizontalOffset-property (using the ScrollToHorizontalOffset method).
Upon starting my application, the content for the scrollviewer is dynamically created (i.e. I do not know its extent during design-time). I then want to set the horizontal offset of the scrollviewer control, howev...
My Silverlight website hangs at 100% loaded. There is no code for it, so far it is just the design in XAML, and it shows up fine in Expression Blend 3. It is the standard "Silverlight Website" project from Blend 3, without any modifications.
When I press F5 to run it, it shows as a 100% loading circle in firefox and never actually sho...