I am getting a run-time error when I use DataBinding, and it is driving me crazy. I have a simple UserControl that I have defined, let's call it SillyControl. Separately, I have a collection
ObservableCollection<MyClass> myObjects;
and a ListBox called SillyListBox which is bound to this ObservableCollection via: SillyListBox.ItemsS...
In an MMVM application, how should exceptions be handled and bubbled?
If I get an exception in my model, during an Async callback, and throw an exception, this does not get bubbled to the ViewModel. I suspect that this is because the callback is not running on the UI thread.
What's the best practice for this?
Mark
...
I was wondering if any of you had successfully implemented DDD in a Client/Server app and would like to share some experiences.
We are currently working on a smart client in Flex and a backend in Java. On the server we have a service layer exposed to the client that offers CRUD operations amongst some other service methods. I understand...
hey guys i have done few sample projects (just for fun) using silverlight deep zoom. its really cool and exciting stuff. but i was curious to know about what goes on behind the scenes to achieve this sort of thing. the deep zoom composer generates many images and few xml files within sub folders of its data source.
can anyone explain ho...
I've tried to use IsolatedStorageSettings in my ViewModel, but these are not getting retained across browser refreshes (F5).
for example;
//look in the IsoStore for remembered details
IsRememberMe = IsolatedStorageSettings.ApplicationSettings.Contains(Constants.LOGIN_REMEMBERED_USERNAME);
if (IsRememberMe)
{
...
I make calls to a webservice to get information that bind to the Text property of a TextBlock. Sometimes the information will contain encoded special characters for HTML - most notably the ® which I believe to the (r) symbol. The silverlight TextBlock just displays the raw text and not the (r). Of course, I can strip out the text, but...
hi
am in the process of creating CI Server for my project.
Can any one let meknow sample NAnt build files for Silverlight +_wcf services project ?
Thanks
Senthil
http://dotnetcrunch.blogspot.com/
...
is it possible to write xml in silverlight with vb
...
I've been searching through the Microsoft Silverlight site, and I am guessing the answer to my question will be no.
But is there any non official or official version of the Silverlight development SDK for Mac OS?
I want to avoid installing Windows, but I want to develop in Silverlight.
...
I am working on a typical data entry system in Silverlight. Most of my screens are basically view/edit screens. I am using a DDD approach and have domain objects for everything. A typical scenario is something like a User object with a user edit and entry page.
After working on this for a few types of objects, I am seeing a pattern...
I have a thick GUI application (possibly running as a service, but also just as a normal application) on a desktop. I would like to expose a web interface to the application for some remote monitoring and control of the application.
I currently am hosting a WCF service that just returns HTML in the application, which works fine, but opt...
I am binding an ObservableCollection to a ListBox in Silverlight. The list can contain multiple Person or Vehicle objects which both derive from DomainObject. I would like to be able to have a different template for Person and Vehicle, but show them both in the same list. What is the best way to do this?
...
I have writen a small applet in Silverlight and, while it works fine on Windows, it seems that on OSX the data binding part of the application (all those NotifyPropertyChanged calls) do not work. Does anyone know why this is? I've tried under both Firefox and Safari with the latest 2.0 download installed.
...
I am intending on learning WPF and Silverlight to the extent of its advanced details.
What book is good for taking a practical approach to Silverlight? IE one which walks the reader through creating sample apps. I am particularly keen on writing a graphing system as graphs are a common requirement throughout various projects. I am on .N...
I'm looking for code of full applications that (1) use the MVVM pattern and (2) are approachable for WPF/Silverlight/MVVM beginners. So far I have only found:
Crack.NET - A runtime debugging and scripting tool (useful but quite complicated)
CipherText - WPF Password Manager (perfect but written in VB.NET)
What are some others?
prefe...
I'm working an project (pure hobby, "Sharping my skills") which has one unified back-end and multiple front-ends (ASP.NET MVC 1.0/JQuery and Silverlight 2). When I try to add reference to my business layer assembly in the Silverlight 2 project (VS2008); It gets rejected, because it's not a Silverlight assembly.
Is their a way to include...
I mean the small exit/cancel button marked with an X in the top right hand corner. I want to implement a Logon dialog box that accepts a username/password so obviously I don't want the user to be able to dismiss the modal pop up. If it is not possible to remove or disable the button then is there some way I can intercept the closing even...
I was wondering if anyone has gone through a process of picking a 3rd party library for Silverlight components? The major offerings I know of thus far come from Telerik, ComponentOne, and Infragistics.
Rather than make this all negative can I phrase the question specifically as the following:
a) Which 3rd party Silverlight components h...
My silverlight application loads data fromt he SQL fine when I build locally but when I upload it to the live site it will just wait for data to be loaded but show no errors. It worked up until yesterday where I fear I may have changed a setting somewhere and now I cant access the data it seems?
UPDATE 1: it seems to be a problem with t...
If I make a UserControl, it has numbers properties. How I can use them? My UserControl contained several Shapes and I need to bind a Foreground property to all Shape.Fill. But I do not know how to do it.
...