silverlight-3.0

silverlight accordion control

how can create accordion control dynamically and bind the data from code behind. ...

Random "Not Found" error with Silverlight accessing ASP.NET Web Services

I'm developing an application with Silverlight 3 and ASP.NET Web Services, which uses Linq to SQL to get data from my SQL Server database. Randomly when the user causes an action to get information from any of my web service methods, Silverlight throws the exception "The remote server returned an error: NotFound.", of type "Communicatio...

Bing map silverlight control content rendering issue when page gets refresh

When Bing map control loads for first time on any browser all pushpin on map are visible. Bing map control renders perfectly. Then I refresh browser it create rendering issue some custom pushpin on map gets disappeared. This behavior continues with pushpin. Pushpin are (.png) images and I am not using default bing map thumbtacks. May ...

MVVM - RaisePropertyChanged turning code into a mess

New to MVVM so please excuse my ignorance. I THINK i'm using it right but I find my ViewModel has too many of these: RaisePropertyChanged("SomeProperty") Every time I set a property I have to raise that damned property changed. I miss the days where I could just go: public int SomeInteger { get; private set;} These days I have to...

Unable to view ChildWindows in Silverlight

So here is the deal. I have created a silverlight dll that contains two ChildWindow dialogs. These dialogs are self contained with a WCF service reference. I want to reuse these dialogs across multiple projects. I have added a reference to the dll in another project. I am able to new up the childWindow, however, I am not able to set...

Why am I getting: InvalidOperationException: Failed to map the path '/app42/App_Code/'.

I've been working on a little Silverlight utility which calls a Silverlight web service. It works from my dev machine (XPsp2). I've tried publishing it to a 2008 R2 IIS 7.5 server and it doesn't work when trying to contact the web service. So I've tried using the WcfTestClient to connect to the web service. That gave an error. So I ...

Is anyone else experiencing weird debug + crash behavior with Silverlight?

I have noticed that after awhile of debug/tweakcode/debug etc that eventually Silverlight starts to crash all of my browsers (i.e. doesn't matter which i fire, they all just crash). If i then go to a site that has Silverlight, it works fine? so it has something to do with debugger + Silverlight not getting along? I then reboot and the p...

using context menu in silverlight 3

Hi all I am new in silverlight. I want to use context menu in treeview item in my silverlight 3 application . I have searched in the net regarding this I have found my custom application for this but I am not getting them .How to use context menu, how to add rightclick event for using context menu . Thanks in addvance ...

Cannot find System.Windows.Controls.dll for Silverlight 3

Where can I find System.Windows.Controls.dll for Silverlight 3? I need it to be able to use the TreeView control and the AutoCompleteBox control. Toolkit November 2009 is installed but the dll that I need was not included. ...

silverlight crossdomainpolicy.xml file problem

I have made a silverlight application and I have hosted it on my localhost IIS. and the URL of this application is http://localhost/default.aspx I have developed and other xml-rpc server which is also running on same machine and its address is https://localhost:8000, I am having problem in calling the remote functions from the url https:...

2 dimensionnal grid component of Silverlight ?

Hi, I need to use a two dimensional grid with headers in the left and the top on Silverlight. Is it possible to configure a grid for that or I need to use an other control ? Best regards. Narglix ...

MVVM Binding in Silverlight3 ItemsControl to get the parent controls DataContext

I have the following ItemsControl in Silverlight 3. <ItemsControl ItemsSource="{Binding ValueCollectionList}"> <ItemsControl.ItemTemplate> <DataTemplate> <Button x:Name="MyBtn" Height="40" Content="{Binding Name}" Tag="{Binding Value}" cmd:ButtonBaseExtensions.Command="{Binding ElementName...

What is the purpose of the CreateSilverlight.js?

I am trying to get out of browser support working for my Silverlight application and keep bumping into examples that reference CreateSilverlight.js. Looks like it has a variety of options to configure the the Silverlight experience for the end user. Is this a Microsoft javascript file for Silverlight? If so, where would I find it? I wo...

like exec command in silverlight(save and load properties of Elements dynamically)

i have some element in my container and want to save all properties of this elements. i list this element by VisualTreeHelper and save its attributes in DB, question is that how to retrieve this properties and affect them? i think that The Silverlight have some statement that behave like Exec in Sql-Server. i save properties in one line...

Silverlight 3 Binding to the Current Item in a Collection

The Binding syntax, {Binding /}, works in WPF but does not work at all in Silverlight 3: <ContentControl Content="{Binding MyCollection}"> <ContentControl.ContentTemplate> <DataTemplate> <ContentControl Content="{Binding /}" /> </DataTemplate> </ContentControl.ContentTemplate> </ContentControl> What...

Difference In Visual State and Triggers

I have read somewhere that Silverlight is subset of WPF , then why triggers are not used in the silverlight and the States are used. what is difference between these two, Why not the triggers are used in silverlight 3.0 ...

how to determine the last time a user input was received in silverlight 3

I have a Silverlight 3 application, and in a method, I want to determine when the last time that the application received user input was. Is there an easy way to detect this? Thanks for any help. ...

Date formatting using data annotations for a dataform in Silverlight

This is probably got a simple answer to it, but I am having problems just formatting the date for a dataform field.. <df:DataForm x:Name="Form1" ItemsSource="{Binding Mode=OneWay}" AutoGenerateFields="True" AutoEdit="True" AutoCommit="False" CommitButtonContent="Save" CancelButtonC...

Morphing from an image to a shape in Silverlight 3

Hi, I have a requirement to morph from an image (png) to a shape (polygon) in Silverlight 3 as an effect, but of course there is no built in transition or method to do this. At the moment the best I have is fade one out and the other in, but can anyone suggest a decent alternative that may work or look better? Regards Moo ...

Silverlight 3 - Control over wrapping in TextBox

Hey! Ok I have the following problem in Silverlight. I have a control with 2 columns. On the left is a stack panel with line numbers and on the right is a textBox. So when I write in textBox without wrapping turned on I can simply create the right count of numbers on the left, because I'm searching for '\r' in text. But when I turn ...