I'm debating whether to use Silverlight 2.0 vs ASP.NET MVC for a web application. The web application will be a subscription free service marketing all age groups. It's important the source is highly testable, but also with the Web 2.0 movement a graphical web application is important as well for competitive reasons.
I'm assuming silv...
We've looked in Silverlight 2 recently and found no way to edit formatted text there. Is this really true, and are there any (maybe commercial) external rich text editors available?
...
We have a Silverlight 2 project (game) that will require a lot of character animation. Can anyone suggest a good way to do this. Currently we plan to build the art in Illustrator, imported to Silverlight via Mike Snow's plug-in as this matches the skills our artists have.
Is key framing the animations our only option here? And if it ...
I have just started using silverlight 2 beta and cannot find how to or if it is possible to render a canvas to an bitmap image and then upload it to my web server?
Is this possible and if so how would I complete this task?
Update: This is now possible under silverlight 3 using a writable bitmap to save the XAML as a JPEG see the blog...
I am just starting with SL and WPF. I am using the DataGrid control and I need to remove the mouseover effect (I actually will need to do more customizations than that). How do I do this. I think I need to do it with a control template but not sure how. I'm researching and reading right now. Any help would be appreciated.
...
I need to export a SL DataGrid to html so my users can then print it. Can someone put me in the right direction?
Upate: After reading Rob's answer I am changing my question. Instead of Silverlight Grid to HTML, I now just want to export it to PDF. Has anyone used any 3rd party PDF generators with Silverlight?
...
In the following code below:
Image img = new Image();
img.Source = new BitmapImage(new Uri("http://someURL/somefilename.jpg", UriKind.Absolute));
how can I determine if the image successfully loaded (when there's a valid URI)? i.e., The URI is a valid format, but the file may not exist.
...
Anyone know how parse the DOM and determine what row is selected in an ASP.NET ListView? I'm able to interact with the DOM via the HtmlElement in Silverlight, but I've not been able to locate a property indicating the row is selected.
For reference, this managed method works fine for an ASP.NET ListBox
var elm = HtmlPage.Document.GetE...
Hello!
I've got the following example running in a simple Silverlight page:
public Page()
{
InitializeComponent();
InitializeOther();
}
private DoubleCollection dashes;
public DoubleCollection Dashes
{
get
{
//dashes = new DoubleCollection(); //works ok
//dashes.Add(2.0);
//dashes.Add(2.0);
if (dashes == null...
How have you decided to handle data/control validation in your silverlight applications?
...
I have a list of States in an ItemsControl, the DataTemplate is a CheckBox. I would like to add a function to select(check) all states. However I need to loop through the CheckBoxs rather then the data items since the checked state is stored in a separate data structure then the list of states the ItemsControl's ItemSource is bound to.
...
I have a combo box that in Siverlight 2.0 that I want it to open when a user mouses over the toggle button and then close when they mouse away. The default behavior is a click. Here is my style code (sorry it is so long):
<Style x:Key="HelpComboBoxStyle" TargetType="ComboBox">
<Setter Property="Padding" Value="0,0,0,0"/>
...
Has anyone had this problem. You install Silverlight 2 RTW, and open your old project. Everything loads fine in the designer. You have to change a few properties of your DataGrid because "DisplayMemberBinding" was changed to "Binding". Press F5, and receive a Win32 exception in IEXPLORE.EXE. You go check out the event viewer and see...
What is the best way to create a clone of a DTO? There is not an ICloneable interface or a BinaryFormatter class in Silverlight. Is reflection the only way?
...
I am just getting started with Silverlight and have recently added a Silverlight project to an established solution. In this particular scenario my solution included an existing ASP.NET web site (not application) which Visual Studio kindly offered to integrated my Silverlight application into, which I accepted.
So everything is fine and...
For a Silverlight 2 webapp. I added a combobox. I have an IEnumerable as Itemsource to populate the combobox. Works fine.
But I would like to add an extra item ("please select a....") to the combobox, anyone an idea how this can be done using the Silverlight 2 combobox.
Any more info about using a template for the ComboxboxItems is wel...
Is it possible to convert an existing WPF Application to SilverLight automatically/with minimal effort?
...
OK, so see questions like this one and this one and the question I have is - does one have to use Expression Blend to do Silverlight development or can any of it be done with just Visual Studio? (2008, in this case)
I haven't gotten started using Silverlight yet and through my workplace's MSDN I can get Expression Blend without any issu...
I'm creating a new DispatcherTimer() in Silverlight 2.0, and the constructor call throws an exception:
DispatcherTimer timer = new DispatcherTimer();
This line throws before I can set Interval, Tick, or Start the timer.
System.Exception was unhandled by user code
Message="Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_U...
If I have a usercontrol (in Silverlight) that I've written, that uses XAML to define it's appearance, how can I make a customised version of it?
i.e. I have MyControl.xaml & MyControl.xaml.cs
What do I need to do if I want a "SpecialisedControl" child class? I assume I just make a new code file, then inherit from MyControl. But what if...