silverlight

What do you think of Microsoft's new RAD tool "Lightswitch"?

What do you think of Microsoft's new develeopment tool "Lightswitch"? Is it worth to take a look on it? I am not sure, who is the target group of this new RAD tool? It seems to me as a kind of Access or Foxpro for Silverlight!?!? Makes it sense to deal with it as a "normal" experienced developer? ...

WPF/Silverlight Tree - How do I make all nodes from a tree to be aligned?

Hi guys, What do I have to do with a Tree in WPF/Silverlight, to have all nodes aligned ar the same level? I mean I need the root and all childs to be align at the same distance from the left side of the screen. Is that possible? Actually I am using a Telerik Silverlight RadTreeView. Any help is welcomed, Thanks ...

Exposing custom server-side Entity Framework properties on the client side

I'm making a Silverlight 4 application with WCF RIA Services. On the server side (the *.Web project), I have an Entity Model that's auto-generated from a SQL Server database. On the client side, I have the domain service and proxy objects that are generated by Visual Studio for use in Silverlight assemblies. I want to add custom proper...

Silverlight Navigation + Params?

Hi there, I'm considering a scenario where I'd have a Silverlight 3 (or greater) application, which would utilize the SL Navigation framework. Let us assume (for simplicity's sake) that it would be a simple forum. In my application I'd have a a page named Forums.xaml Normally when I'd navigate to the said page the URL in the browser w...

Invariant dates with WCF RIA Services

Hi Is there any way to prevent Silverlight/RIA Services from converting a datetime object on the wire? Right now, I see datetimes set to 'Local' or 'Unspecified' being converted to the local time of the server when they are sent over the wire. For example: The client and server are both in UTC -04:00:00. I use DateTime.Today (kind ...

Silverlight ContentProperty on abstract class Panel

Hi Guys, Here is a hierarchy of my class MyContainer. Notice that the Panel has a Children as well as MyContainer. Can I still use the Children from Panel as well? What is the meaning of [ContentProperty("Children", true)]? The summary explains: Specifies which property of a class can be interpreted to be the content property...

making web requests in silverlight?

Does anyone know how to make a web request to a service using silverlight? ...

HELP: Windows Security in IIS6 & Silverlight

I have set up a Silverlight application that uses Windows Authentication, and works fine on My Windows Server 2003 Dev Box, but on Deployment to our Test Environment a windows authentication window opens and asks for the users credentials (which never get resolved). I have just realized one big difference is that I am not using host he...

Who does design and develop Style and Layout while developing silverlight application?

In your company, who does design and develop style, layout in xaml, Designers? or Developers? Are there enough designers who are able to deal with xaml or blend? Are they willing to touch Blend? In my company, Developers do all those jobs except making images. I am so confused nowadays if this is right direction. Give me a advice. ...

Silvelight 4: why items are not moveable?

There is a "field" on which some items are draggable: Here is a XAML code: <Canvas Height="180" Width="169" > <Image Canvas.Left="0" Canvas.Top="0" Height="180" Width="149" Source="../Picts/field.png" /> <Pages:FieldItem x:Name="Item2" Canvas.Left="129...

Silvelight 4: how to make CustomList items draggable

I have a list of object that need to be displayed and moveable on the canvas. Could you please describe idea how to do that? Thank you in advance for you help and time. P.S. Actually I have some kind of solution (it is listed here: http://stackoverflow.com/questions/3553188/silvelight-4-why-items-are-not-moveable) but it doesn't work. ...

Is there a way to get the url (or site name) of an opened website in C#?

Is there a way to get the url (or site name) of an opened website in C#? I need to use this to monitor and log user activity on my silverlight application. Didn't come across any success with a 2 hour googling... ...

Bind to a sorted ObservableCollection<T> in a ListBox

I have a list of data objects in my Windows Phone 7 application called MyObjectList which inherits ObservableCollection<MyObject>. I keep the list in memory in a public property of App called MyObjects. My goal is to bind the data to a ListBox and have it sorted by MyObject.Name. Currently, I have a ListBox in XAML with the name MyObj...

Silverlight DataTemplate "Name", how to use in codebehind?

Hi Guys, In the following XAML, how can I use _xyzStackPanel in the code behind? Is this not possible when we use DataTemplate? I need to show/hide this stackpanel, what is the best way? Can I use the VisualStateManager here? Could someone provide example please, thanks. <ListBox ... > <ListBox.ItemTemplate> <DataTemplate...

How do i call WCF services in Silverlight?

Hello, Can anybody tell me why is this not working. I have created a WCF service which returns a list of customers from Northwind database. using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; using System.ServiceModel.Activation; namespace...

Lightswitch Evaluation

Has somebody already evaluated the new MS Silverlight RAD tool "Lightswitch"? Is it also suitable for developing complex applications? Can I use it without Silverlight knowledge? Is it so flexible, that I can also extend "Lightswitch appications" with own code (C#,XAML)? ...

Design-time problem with custom behaviors and triggers in Silverlight

I have implemented a few custom behaviors and triggers and added them via XAML. They work fine at run time but prevent the Cider designer view from loading at design time, and presumably will cause a problem in Blend too, though I haven't confirmed that. Here is an overview of what I've implemented for one of the behaviors; hopefully so...

silverlight charting no initial animation for printing (printing in series of data)

Hey guys, I'm in a bit of a pickle. I need to generate charts (off screen so the user doesn't see them) and make these charts save-able. this means setting up the basics and building an image from the loaded chart. I'm talking about a columnseries chart fyi :) the problem is the built-in ease-in animation. as the chart triggers the "lo...

Drag and Drop (plus snapping to grid)

Is there a way in Silverlight, to make elements draggable - but also allow these same elements to "snap" to the others? I've followed a few drag-drop tutorials for this, but none of them seem to allow the snapping :( Any ideas SO gurus? Clarification: I would like a 32px x 32px "rectangle" to be draggable and snappable to other dragga...

Force silverlight to authenticate as current user by default

Is it possible to force a silverlight browser application to use the current authenticated user by default? I want to avoid the first request where the IIS responds with 401.2. So, instead of having two requests where only the second is useful, I want to have only one request. I see this happening both with NTLM and Kerberos. Regards, ...