I'm about to write an application in either Adobe Air or Silverlight, to run standalone, offline, on the desktop. It's a simple enough application that allows the user to enter text data and will then print formatted documents based on that information. The obvious place to store all this relational data is in a database. I believe Air...
I'm communicating with several services from a SL component using both TCP sockets & HTTP web requests and we are discussing what (data) format to use - JSON or XML.
I'm wondering what others have choosen and why?
Cheers
AWC
...
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
I have moved a project I was working on from one machine to another, and am now getting an error message when I attempt to build. The two machines should have the same software setup, but it appears they do not.
The error in question is:
The tag 'StylePalette' does not exist in XML namespace 'clr-namespace:System.Windows.Controls....
Hi
I have a silverlight control in which i am dynamically creating shapes on button click
These shapes are draggable across the form. Now i want to get top and left postion of a control on dragging (mousemove). Please help
...
Withing a Silverlight Application, how does one get the ID from the URL when using MVC given the URL in the standard MVC Format {controller}/{action}/{id}
Is there anything MVC specific or does one need to parse this URL 'manually'?
...
I've asked several questions on Silverlight the last day or two (I have no experience with it), and I've had some high-level questions answered. I have another high-level question. How is N-Tier development done with Silverlight? What I am considering is a browser based UI and then a c# back-end containing all the business logic and data...
Anybody figured out how to activate a visual state within the namescope of the ItemsControl from within a DataTemplate applied to said ItemsControl's ItemTemplate?
You obviously can't select the target from within Blend. I was wondering if there was some obvious loop hole that I am missing.
...
Our .Net 3.5 projects are delay signed and are registred with sn -Vr to allow debugging these assemblies on dev machines.
Recently we ported some projects to Silverlight 3.0 and found out that sn -Vr won't allow to execute a delay signed silverlight assembly through iexplorer.
Is there a way to execute a delay signed silverlight applic...
I'm building a Silverlight app and I would like to disable a button while a long running operation is going on in the background.
I'm using MVVM, so in the ViewModel I have a property called SearchInProgress.
Now I would like to disable the search button whenever SearchInProgress in true.
In WPF I would simply write a DataTrigger which s...
Hi,
I have a UserControlB which exposes a Title property of type string.
I then have a UserControlA which contains one UserControlB and exposes a property called MyNestedControl which returns the instance of UserControlB.
In my main page I'm declaring a UserControlA and I'm trying to set the value of the Title property as follow MyNest...
I am using the Frame navigation control. Programmatically, I specify the page to fill the frame (like "Views\Home.xaml"). The browser is currently using string specified in the Frame control as the name of the page; in other words, the browser displays "Views\Home.xaml" as the name of the page.
I tried setting the "Name" property on...
I am Binding a Datagrid to dynamic data via IDictionary: http://www.scottlogic.co.uk/blog/colin/2009/04/binding-a-silverlight-datagrid-to-dynamic-data-via-idictionary/comment-page-1/#comment-8681
But I do not want to define any columns in the xaml (below is how it is done in Colin Eberhardt's post
<data:DataGrid.Columns>
<data:Data...
All,
Can someone tell me why this KeyTime is telling me it is a negative value at runtime? I've removed some logic that builds a path to an image.
public Storyboard CreateAnimationStoryBoard(DependencyObject dependencyObjectTarget,Image targetImage)
{
try
{
Storyboard sb = new Storyboard();
S...
I'm interested in creating a UPnP control point in Silverlight. To me that implies that I'll need to use COM interop with Microsoft's upnp.dll (and the SL application will have to be out of browser and platform specific). Is there any source code available in C# that shows how to create a control point with Microsoft's stack? If there...
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 have a bunch of metadata that I want to load before I render any pages (the page content depends on the meta data). Looking at the Application_Startup method in the App.xaml.cs I can see that there is the line of code
WebContext.Current.Authentication.LoadUser(this.Application_UserLoaded, null);
This looks to be exactly what I want ...
Hi there,
I have WCF method like so:
public string GetSomething(MyObject obj)
{
return "Something";
}
When I call this from my silverlight app I get an error:
System.Net.WebException: The remote server returned an error: NotFound.....
I call the method from my silverlight app like so:
mProxy.GetSomething...
I am interested to know how you people out there handle the view state in a Silverlight application with the MVVM pattern.
Let's say I have a simple search mask that asynchronously calls a webservice.
While the search is in progress, I'd like to change the gui accordingly:
- Disable the Search button
- Enable a Cancel button
- etc
Usin...
I develop mainly line of business applications.No scientific operations. No complex calculations. Just tie User Interface to database. The only reason I use threading is to do some work in background and still keep UI responding.
This may not be the best approach but this is what I follow
1.Create an working application first(without ...