silverlight-4.0

Member "TextTrimming" is not recognized in Expression Blend?

So I am using Silverlight 4.0 I have the following code but its giving me the following error: "The member "TextTrimming" is not recognized or is not accessible", but it works fine when I run in Visual Studio 2010. <TextBlock Margin="0,30,28.789,50.455" TextWrapping="Wrap" TextTrimming="WordEllipsis" HorizontalAlignment="Right" Width="1...

Pass data to Child Window in Silverlight 4 using MVVM

Hello, I have a datagrid with master detail implementation as follows: <data:DataGrid x:Name="dgData" Width="600" ItemsSource="{Binding Path=ItemCollection}" HorizontalScrollBarVisibility="Hidden" CanUserSortColumns="False" RowDetailsVisibilityChanged="dgData_RowDetailsVisibilityChanged"> <da...

navigate through pages in mvvm in silverlight 4

Hello, I have been searching on how to navigate through the pages in silverlight 4 (navigation application) when I have implemented MVVM pattern. But nothing I found satisfied me. I have a main page which has frame in it. In that frame I load home page which does simple URI mapping. But now I want to go to New Page on button's click ev...

AesManaged and RijndaelManaged

Im currently developing a Silverlight application that connects to an old webservice. Our old webservice uses an encryption tool which silverlight does not support. Finally, we decided to used AesManaged for encryption, however, our webservice does not support AesManaged. Is their a way to decrypt an AesManaged to RijndaelManaged? If y...

What is difference between " * " and "Auto" in Silverlight Grid Layout Definitions

trying to understand the following: <Grid Name="Root"> <Grid.RowDefinitions> <RowDefinition Height="*" /> <RowDefinition Height="*" /> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> ...

Silverlight 3-4 reference kind (e-)book.

Hello! I'm looking for a source of information about Microsoft Silverlight to begin practically efficient programming custom functionality applications. I want to pretend just for now that I don't need any ideologically correct refresher (SL tips, top patterns, VS tutorials :) and etc.). Basically, what I want is a reference kind e-book...

Silverlight 4 UserControl?

For Silverlight 4 did TemplatedControl replace UserControl? Because when I goto add a new item in Visual Studio 2010 that is the only thing that closely resembles a user control in the dialog? ...

datagrid height issue in nested datagrid( when using three data grid)

hi, i have a nested datagrid(which is of three data grid). here i am able to show data with no issue. the first datagrid has 5 rows the main problem that comes here is when you click any row in first datagrid i show 2 datagrid( which has 10 rows) lets say i click 3 row in 2 data grid. it show further records in third datagrid...

Hosting Microsoft Office application inside Silverlight 4?

I know that Silverlight 4 has support for COM interop via the AutomationFactory class. dynamic excel = AutomationFactory.CreateObject( "Excel.Application" ); excel.Visible = true; But this creates a separate window for the COM object. What I am missing here is if I am actually able to actually host an Office document inside my Silver...

Silverlight 4 and Youtube flash player

hi I'm trying to make a small silverlight application but i became across a problem, playing videos from youtube. I tried a method with a html conteiner to embed the youtube flash player, but with this method i need to activate the option windowsless, and thats is not a good ideia for my web site. If anyone have a good ideia,I'm glad to...

Silverlight 4 stackpanel fading in / out needed

Hello everyone, I would like to add an animation to my stack-panel. when the mouse is over it, the opacity has to be one. When the mouse is leaving it, the opacity decreases gradually. Could you please help me. Regards, ...

Silverlight 4 NewBie Question

I am watching a video from Silverlight.net website about DataForm. There is no source code download, so I am typing in the code as I watch the video. Unfortunately I can't replicate what is shown in the video. there are several issues. I am going to list out only the first 2 1) The presenter shows a simple class inside DataForm that has...

DAL Layer : EF 4.0 or Normal Data access layer with Stored Procedure

Hello Experts, Application : I am working on one mid-large size application which will be used as a product, we need to decide on our DAL layer. Application UI is in Silverlight and DAL layer is going to be behind service layer. We are also moving ahead with domain model, so our DB tables and domain classes are not having same structur...

[Silverlight, Navigation] Layout of elements added to a tabcontrol on a different navigation page wrong.

Hello, I am developing a Silverlight client using the provided navigation template for an imageboard I developed. I have a "search" tab which lists all searches for tags which were executed. I also have a show post tab which shows (also in tab-form) posts, opened from the search tab. When I open a post from the search page, it instan...

How to make silverlight datagrid editable?

I created a simple collection of Person with name, age and sex where all three fields have getters and setters. I bound the collection to the data grid using the itemssource. I can see the data been showed up in the data grid but it does not allow me to edit any of the rows. What do I make so that it becomes editable? Thanks. ...

Implicit theme error:The property 'Content' was not found in type 'System.Windows.Controls.Control'.

I have got an error while trying to upgrade our large project to SL4. I didn't write the original theme and my theme knowlege isn't great. In my demo app I have a Label and a LabelHeader(which i have created and is just a derived class from Label with DefaultStyleKey = typeof(LabelHeader); I am styling the LabelHeader like this: <Style...

Unable to get data from RIA Service

Hi guys. I'm trying the SL4 and RIA Services out. I followed the common tutorials available using SL4 Business template but I don't know why when I run the app I won't get any results from the service. I have added a ADO.NET model which is connected to Northwind database and has only Employees table in it and also created its domain se...

Collection is empty when it arrives on the client

One of my entities has an EntitySet<> property with [Composition], [Include] and [Association] attributes. I populate this collection in my domain service but when I check its contents when it is received on the client, the collection is empty. I am using Silverlight 4 RTM as well as RIA Services 1.0 RTM. Any ideas what I am doing wron...

StackPanel position

How can I find the position of a StackPanel after it has been animated? I have a button which slides the stackpanel to the left. But if I want it to slide to the left again, the animation does not work. ...

DomainContext sometimes still HasChanges after SubmitChanges completes

I have a very simple server model that includes a parent entity with a [Composition] list of child entities. In my client, I have 2 functions. One function removes all the child entities from the parent and the other removes all and also edits a property on the parent entity. When I simply remove all child entities and SubmitChanges(), ...