silverlight-3.0

silverlight master-detail with two listboxes in pure xaml with ria services throwing exception

Hi, I was trying to achieve master-detail with 2 ListBox, 2 DomainDataSource and a IValueConverter, when entering the page it throws the random error it does when your xaml is invalid: "AG_E_PARSER_BAD_PROPERTY_VALUE [Line: 24 Position: 61]" Which is in fact the start position of where I am binding the listbox selected item with convert...

Debugging silverlight 3 in vs2008 after vs2010\silverlight 4 installed

I've installed vs2010 on my machine now it seems that I can't debug\run my silverlight 3 app in vs2008. The debug play button (F5) is grayed out. And when an exception is throw it says "Debugging resource strings are unavailable". I feel like I read something about this somewhere but can't seem to find it now. Also I can't just us vs...

Multiple calls to data service from SL3?

I have an SL3 that makes asynchronous calls to a data service. Basically, there is a treeview that is bound to a collection of objects. The idea is that as a user selects a specific treeviewitem, a call is made to the data service, with a parameter specific to the selected treeviewitem being passed to the corresponding web method in th...

Silverlight ToolTipService

Hi I am setting the toolTip to button dynamically using : ToolTipService.SetToolTip(btnhello, "Hello World !"); I need to add additional some data dynamically in this tooltip with xaml control. Please help me on this issue. Waiting for your valuable thought. Thanking You. ...

Twitter Web service in Silverlight

I want to use twitter web service in my silverlight application but don't know where I can find skd and web service reference for the twitter ? ...

How to make the ChildWindow Fulscreen?

Hi , I have a ChildWindow , in which I have a Video Playing in Expression MediaPlayer. When I press the FullScreen Button then the whole Application switch to FullScreen Mode , but I want only the Child Window to be Full Screen. Thanks, Subhen ...

Error-invalid length for a base-64 char array

Hi , I have silverlight app that post some data to another web application ,the data to post is converted to base 64 using code byte[] byteArray = Encoding.UTF8.GetBytes(sDataToPost); sDataToPost = Convert.ToBase64String(byteArray); Another webapplication get the data using the code strText = System.Text.Encoding.ASCII.GetString(Sy...

geting information from Treeview with HierarchicalDataTemplate

Good day! I have such a template: <common:HierarchicalDataTemplate x:Key="my2ndPlusHierarchicalTemplate" ItemsSource="{Binding Children}"> <StackPanel Margin="0,2,5,2" Orientation="Vertical" Grid.Column="2"> <CheckBox IsTabStop="False" IsChecke...

silverlight dataform control unavailable

I have RIA services installed and also have silverlight 3.0 but there is no system.windows.controls.data.dataform . On account of this, I am unable to use dataform control . WHat should I do?I have also tried to download the same but unable to find it. ...

Take Screenshot of current user control or any GUI in Silverlight 3

Hi all, I would like to ask if it is possible to take screenshot of current user control programmatically and save as a file in silverlight 3. I found some ways to save as an image file for a Canvas in silverlight 3, but how about user control or childwindow ? Thanks, ...

Adding Service Reference to a WCF Service in Silverlight project defaulting to XmlSerialization for DataMembers instead of SOAPSerilaization

Hi, I am adding a WCF Service Reference in a Silverlight project, it is generating code with XmlSerialization attributes for DataMembers than SOAP Serialization. But, if the same WCF service reference is added in an ASP.Net project, is generating code with SOAP Serialization attribtues. Can anybody let me know what could be the cause fo...

What are the tools and components needed to work on Silverlight 3?

I see too many downloads in MSDN associated with Silverlight (SDK, toolkit etc). What do i actually need to develop a data centric LOB application in Silverlight 3.0? ...

Using Session in Silverlight using simple WebServices (NOT WCF)

Hi, I need to use Session variables in my Silverlight application ( Using Visual Studio 2008, and Silverlight 3). I am already using a webservice (not WCF service) and would like to know if I can add two methods say GetSessionVariable and SetSessionVariable in my existing WebService Class? Any assistance with sample code would be great...

adding Foreground converter to DatagridTextColumn in xaml

I'm trying to add a converter to a DataGridTextColumn to convert the foreground brush based on the value of the cell in the xaml file. The DecimalConverter works fine and follows the same pattern. Here is my xaml... <UserControl.Resources> <y:FixedDecimalConverter x:Key="FixedDecimalConverter" /> <y:ForegroundValueConverter x:...

bottom of Silverlight 3 control cut off with no vertical scrollbar if it is too big for browser window.

I have a silverlight control on a page. It is set to "Width=100% Height=100%", and the containing div is set to an absoulute position with "0" on all edges. On a small screen, when the silverlight content is taller than the screen, the bottom is cut off, and there is no scroll bar. Does anyone know how to solve this problem? ...

Weird change in behaviour of Attached Properties between Silverlight 3 and Silverlight 4

I've encountered a strange problem while upgrading an application from Silverlight 3.0 to Silverlight 4.0. The XAML below used to work fine but after upgrading no longer works. <xxx:FeatureGrid.Columns> <agDataGrid:AgDataGridColumnCollection> <xxx:FeatureGridTextColumn FieldName="HOUSE_NUM" HeaderContent="Number" /> ...

Error handling for AutoCompleteBox with Silverlight 3 + MVVM Light toolkit

Hi, I'm trying to create a UserControl that contains a AutoCompleteBox. I want to use the SelectedItem property of this AutoCompleteBox to populate other UserControls with information based on which item the User selected. To prevent the SelectedItem to be fired every time a user "navigate" between items in the drop-down I've created a ...

in Silverlight 3 button click event handler, all other object are null?

I have a ChildWindow control which has several TextBoxes, and a Button in it,. When I click the Button, I want to change the "IsReadOnly" property of one of the TextBoxes. In my button click event handler, all of the TextBox objects are "null". Can someone explain why this is, and how I can access them? Thanks for any help. Edit: <...

Silverlight dataform MVVM command binding on update.

I'm new to MVVM and Silverlight and I'm just trying to figure out a simple scenario. I'm using the MVVM Light toolkit and Silverlight 3.0 without Expression Blend. I have a DataGrid and a DataForm bound to an observable collection in a ViewModel. I would like to bind to my RelayCommand Save() property after I make changes to the data i...

Binding a dependency property to another dependency property

Take this scenario where I am working with a grid like control: <RadGrid DataContext={Binding someDataContextObject, Mode=OneWay}> <RadGrid.columns> <RadGrid.Column Header="Column Header" DataMember="{Binding dataContextObjectProperty, Mode=OneWay}"> [...] <DataTemplate> ...