In silverlight, if a TextBox AcceptsReturn, all newlines are \r, even though Environment.Newline is \r\n. Why is this? (WPF has \r\n as newline for textbox)
...
Hello,
How I make to modify style or color of RadWindow? Im using SL4 and telerik latest binaries which is compatible with SL4.
Thanks in advances
Bhushan Deshmukh
...
I have four datagrids on a Silverlight 4 page. I'm trying to set different column header styles for each grid. I found this XAML which works when I embed it in each DataGrid inside <sdk:DataGrid.ColumnHeaderStyle> tags:
<Style TargetType="primitives:DataGridColumnHeader" >
<Setter Property="Template">
<Setter.Value>
...
I have a silverlight datagrid to which I am binding an observable collection from the viewmodel. There is a detail view page which will display different properties of the object in the collection when user selects a row of the datagrid. My requirement is when user updates any properties in the detail view; the data should be updated in ...
hello,
i am writing a financial WPF desktop application and i am looking for a component that would allow me to display (and print) OHLC, candlestick, and possibly other types of financial charts. I need to be able to embed custom graphics into the chart, i mean graphics such as extra lines, additional charts, etc. the component needs t...
hi all,
I get the following error when I try to edit and save fields in dataform :
Microsoft JScript runtime error: Unhandled Error in Silverlight Application
Code: 4004
Category: ManagedRuntimeError
Message: System.ArgumentException: Value does not fall within the expected range.
at MS.Internal.XcpImports.MethodEx(Int...
Hi, i want to be able to change the tooltip on Checked and Unchecked, i tried:
<VisualState x:Name="Checked">
<Storyboard>
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="ToolTipService.ToolTip" Storyboard.TargetName="btn">
<DiscreteObjectKeyFrame KeyTime="0">
<DiscreteObjec...
I'm currently using MVVMLight for my WP7 app and have found that the datacontext for an EventToCommand is always the page datacontext. I'm also using the phone.codeplex.com panorama control and had set the datacontext for each PanoramaItem to a different ViewModel but this datacontext is ignored and the page data context is used instead...
I'm building a test Windows Phone 7 Silverlight app. (I've been following this tutorial.) I'm having a problem binding the list items to item properties.
Get tweets for an entered username:
private void button1_Click(object sender, RoutedEventArgs e)
{
WebClient twitter = new WebClient();
twitter.DownloadStringC...
I am using entity framework with a web service and I have entity partial class objects that were generated automatically by the web service.
I would like to extend these classes, but I would like to group them in the generated class in a way similar to the way a namespace would (except inside a class).
Here is my generated class:
publ...
I am new to Silverlight and I am trying to do a directory listing of the contents of a directory. However when the first list of this code runs, it throws an exception:
The application itself runs inside of a Browser.
File operation not permitted. Access
to path 'C:\Program Files\AppName' is
denied.
I checked permissions and t...
I am not trying to track clicks or anything like other people - I just want to put a browser within a browser that can go back, forward, refresh, accept user-entered URLs, and store bookmarks. Can flash/silverlight/ajax/whatever do this? If so, how?
...
I'm debugging a Silverlight application that is consuming 100% CPU usage because some event is being fired repeatedly. First of all, does Intellitrace works on Silverlight?
...
Currently I am focused on developing Windows Phone 7 applications. I need some kind of custom control for data navigation. Is there any Third-party component for Windows Phone 7?
Any help is highly appreciated.
...
I need a taper-effect on my transform in WPF.
Charles Petzold wrote some nice stuff about it for example :
http://www.charlespetzold.com/blog/2009/07/Using-the-Matrix3DProjection-Class-in-Silverlight-3.html
But now it seems that the used Matrix3DProjection class only exists in Silverlight, and NOT in WPF..?
(Why would Mirosoft think it ...
Hi all
I am having a look at the silverlight tool to see whether it will usefull in my case. I really like the look that this product gives to the UI, but there are a few considerations that I want to address before using the tool.
What should I consider before starting the development of the site. I mean, can I start building up the ser...
Hello everybody,
I’m a starter with Silverlight and the MVVM Light Toolkit and I don’t know how to proper solve the following scenario:
I have the following views with their corresponding viewModels:
MainView , the Deault Startpage
TabControlView, view with a single Tabcontrol, placed on the MainView…
AllBugsGridView, datagrid with...
hello,
the richtextbox's SelectionChanged is getting fired twice .
basically the issue is , i am getting the font of the current selection inside this event , here is the code .
private void rta_SelectionChanged(object sender, RoutedEventArgs e)
{
if (rta.Selection.GetPropertyValue(TextElement.FontSizeProperty) is double)
...
Example:
<UserControl x:Name="userControl"
<StackPanel x:Name="container" Margin="0">
<TextBox Text="{Binding Path=SettingValue, RelativeSource={RelativeSource Mode=Self}}"/>
</StackPanel>
</UserControl>
UserControl contains SettingValue dependency property, TextBox doesn't,
so this example won't work.
I could've don...
Hello all,
Please excuse this novice question, but I'm ramping up on Silverlight and MVVM Light. I created a view called MyView.xaml and a corresponding MyViewModel.cs.
MyView.xaml
<navigation:Page x:Class="Dashboard.Views.MyView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://sch...