problem about wpftoolkit-Collection of common programming errors
Nate
c# wpf data-binding wpftoolkit
I have a Chart control, that Binds to an Observable Collection Property in the DataContext, all works fine but when i create a new “Object” in the DataContext (Data Context Changed) and never a previous “Object” was showed before, and then I select another “Object”. An exception is throwed, said some thing like this: “A transition tree is current” or some thing like this.
james1983
wpf wpf-controls clickonce wpftoolkit lan
I am trying to deploy my WPF application to some users who are outside of our corporate network. Everything works great on our LAN but I can’t get the updates working when I turn on security as the user is never prompted for their login details?Does anyone know of a way to secure my ClickOnce files so that only my users can access it? I am not allowed to put this software up without it being secure.Any help much appreciated.
S3ddi9
c# wpf wpftoolkit
Am unable to set the default flowdirection property for the WPF Toolkit Extended 1.6 MessageBox dynamically, is there any way to do that in code & at runtime knowing that I’ve a static field myFlowDirectioni’ve tried its working fine & it changes the flow but i need it dynamically<Style TargetType=”{x:Type toolkit:MessageBox}”><Setter Property=”FlowDirection” Value=”RightToLeft”/></Style>this MessageBox can’t be derived & has no constructor
Greg
c# .net wpf xaml wpftoolkit
Any advice how to fault find to work out why the Grid.Resources styles in this XAML is not making any difference it seems to the end result? Note I’m using Charting from the WPFToolkit so to adjust how a chart looks it seems one has to apply the style areas (suggested by someone on the forum). So my question is generically, noting I’m trying to adjust the look of a 3rd party graph, how can I debug/fault-find to understand what’s going wrong? Is there a debugging trick? For example when I in
dks1983
wpf datagrid command wpftoolkit
Is there any way I can associate a Command with a DataGridHyperlinkColumn? I’ve tried this:<DataGridHyperlinkColumn Header=”Client Name” Binding=”{Binding ShortName}”><DataGridHyperlinkColumn.ElementStyle><Style TargetType=”TextBlock”><Setter Property=”Hyperlink.Command” Value=”{Binding DataContext.NavigateToClientCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:ClientsSummaryView}}}”/><Setter Property=”Hyperlink.CommandParameter” Value
CityView
c# wpf silverlight wpftoolkit silverlight-toolkit
I really like some of the pre-built controls available in the Silverlight 4 ToolkitI understand the CLRs are different but I was hoping that I could download the source and recompile for the CLR that WPF uses.Is this possible? The WPF Toolkit is very basic by comparison and doesn’t have encouraging reviews.Many Thanks.
Taylor Leese
c# wpf visual-studio-2008 wpftoolkit
I’ve encountered an issue where Visual Studio hangs in WPF design view. I’ve read through similar posts and I believe my issue is similar, but different. The errors I see in Windows Event Viewer are below.Hanging application devenv.exe,version 9.0.30729.1, hang modulehungapp, version 0.0.0.0, hang address0x00000000..NET Runtime version 2.0.50727.3053 -Fatal Execution Engine Error(7A2E0F92) (0)I’ve noticed that the issue only occurs when I have the Properties window open during design view. Other
Edward Tanguay
c# wpf datagrid wpftoolkit
The following WPF code displays the contents of FirstName and ZipCode in the WPF Toolkit DataGrid.However, I don’t want to just display the data as it is but slightly modified, e.g. I might want to display all the zipcodes to display with a “-0000” on the end, or I may want to display “n/a” if a cell is blank.I could only find CopyingCellClipboardContent which doesn’t seem to do what I want.I’m thinking I might need a Converter but am not sure how to go about it in this example.How can I manipul
Constant Learner
wpf wpf-controls wpfdatagrid wpftoolkit
We have WPF application, In which we use DataGrid on one form. At runtime, when we Enter value in DataTemplate column, I need to Show SUM of that specific column in DATAGRID Footer. So when each time I change value in any Cell of That AMOUNT column, The correct SUM of that column need to be display. Which event I should try. I have tried this code , But it need to press tab each time, it does not display Correct SUM.private void dgInfo_RowEditEnding(object sender, Microsoft.Windows.Controls.Dat
kasun.s
C# WPF wpftoolkit
Here I am trying to edit / update my SQL Server DB using dataGrid. 1st I load the values to datagrid. Then Trying to change any value of a cell by double clicking cell. But, after I move the cursor, previous value comes to the cell. So same value saves to DB, not the changed value I wanted to save. The deleting code works fine. As my knowledge I think C# code is working fine. Only the problem that datagrid cell value cannot change. Please advice that do I need to change any datagrid property val
Joel Barsotti
wpf binding charts wpftoolkit
So I’m having a problem with the charting engine from the WPF toolkit.We haven’t moved our data to a proper object model, so the ItemSource is backed with a DataView.First attempt<chartingToolkit:ScatterSeries x:Name=”TargetSeries” DataPointStyle=”{StaticResource TargetStyle}” ItemsSource=”{Binding Path=TargetSeriesData}”IndependentValueBinding=”{Binding Path=TargetSeries_X}” DependentValueBinding=”{Binding Path=TargetSeries_X}” />This crashes because, I believe, it thinks the bindings ar
nitefrog
wpf axis2 charts wpftoolkit
I cannot get the axis to format as currency, any idea?What am I doing wrong? I need to be able to change the formatting on the fly and for this test I wanted to set it as currency for the Y axis on the scale of values.Anyone?Thanks…var columnSeries = new ColumnSeries{ Title = reportProcedureNode.Value,IndependentValuePath = “PrimaryKey”,DependentValuePath = “Value”,IndependentAxis = new CategoryAxis { Orientation = AxisOrientation.X, ShowGridLines = false, Location = AxisLocation.Bottom},De
Dave Clemmer
wpf binding charts wpftoolkit
it’s my first post here so, sorry for my mistakes in advance:). Here is my problem: I am trying to build a WPF application using the MVVM pattern and I’m not ALWAYS able to load data in my chart. The only time when it works is when I use the PieSeries. In the all other cases I receive an error. What is strange is that in my designer window is amable to see my chart. Here is my code:<Border Background=”White” BorderThickness=”2″ BorderBrush=”Black” Grid.Column=”1″><!–ContentPresenter Co
Shahare
WPF wpftoolkit
Hi all I’m using IntegerUpDown from the WPF toolkit and I’m binding the minimum, maximum, and value properties. When the view loads, some of the values in the IntegerUpDown control display “0” (invalid input which I can’t touch) even though the minimum is set via the binding to “1” (I can’t touch this either). Why does this happens? Why doesn’t the minimum enforces the minimum check on screen load?When I scroll down the view probably refreshes as then the app crashes.
skaffman
.net wpf wpftoolkit visualstatemanager
I am getting an odd intermittent bug that seems to ve related to the VisualStateManager in the WPF Toolkit. I am developing an application that uses the Toolkit (June 2009), but not the VisualStateManager. Nonetheless, I am getting the following error:’TextColor’ name cannot be found in the name scope of ‘System.Windows.Controls.Grid’.Needless to say, I am not trying to change a TextColor property on a Grid control.The exception doesn’t point to any particular line in my source code. Instead, it
Partial
c# wpf datagrid wpftoolkit cell
Take note of the code for this small WPF C# program made with Microsoft Visual Studio 2008:.xaml<Window x:Class=”WpfDatagridTest.Window1″xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation”xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”xmlns:WpfToolkit=”http://schemas.microsoft.com/wpf/2008/toolkit”Title=”Window1″ Height=”300″ Width=”300″><Grid><WpfToolkit:DataGrid x:Name=”DataGrid_” ItemsSource=”{Binding}”SelectionMode=”Extended”CanUserAddRows=”False” CanUserD
marc_s
c# wpf exception-handling wpftoolkit
I created a DataGrid with binding to DataTable, here:<DataGrid1:DataGrid x:Name=”dg” CanUserDeleteRows=”True” AutoGenerateColumns=”False” ItemsSource=”{Binding MyDataTable}”> <DataGrid1:DataGrid.Columns><DataGrid1:DataGridTemplateColumn SortMemberPath=”[First Column name]” Header=”First Column name”><DataGrid1:DataGridTemplateColumn.CellTemplate><DataTemplate><TextBox Text=”{Binding [First Column name],Mode=TwoWay}” /></DataTemplate></DataGrid1:DataGr
user474762
c# wpf wpftoolkit
I am trying to programmatically add a column series to a wpf toolkit chart. My xaml is an empty chart. The code results in an unhandled exception, Object reference not set to an instance of an object. Any clues to why this does not work?<charting:Chart Name=”MyChart”>my code behind isList<KeyValuePair<int,int>> testList = new List<KeyValuePair<int,int>>();testList.Add(new KeyValuePair<int,int> (1,2));testList.Add(new KeyValuePair<int,int> (2,3)); ColumnS
DanM
wpf visual-studio silverlight xaml wpftoolkit
It’s “easy”!I just came across this blog post by Rudi Grobler that says it’s “easy” to port a theme from Silverlight to WPF. Unfortunately, he doesn’t say how to do it.Download and installI have installed both the WPF Toolkit and Silverlight Toolkit from Codeplex.I also went and dug up the source code for the theme I’m interested in (BureauBlue) (warning, this takes a little while to load), and pasted that into a fresh Resource Dictionary file in my test project.Ut oh, broken referencesLots of b
DanM
wpf data-binding xaml mvvm wpftoolkit
ProblemI have a WPF Toolkit DataGrid, and I’d like to be able to switch among several preset column orders. This is an MVVM project, so the column orders are stored in a ViewModel. The problem is, I can’t get bindings to work for the DisplayIndex property. No matter what I try, including the sweet method in this Josh Smith tutorial, I get:The DisplayIndex for the DataGridColumn with Header ‘ID’ is out of range. DisplayIndex must be greater than or equal to 0 and less than Columns.Count. Paramet
Alex Janzik
wpf xaml datagrid wpftoolkit
I’m trying to use the Grid from WPFToolkit, but I’m getting the error:DisplayDataMapping.xaml (9,89):errorMC1000: Unknown build error, ‘Could not load type ‘System.Windows.Controls.Primitives.MultiSelector’ from assembly ‘PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’. Line 9 Position 89.’Here is the xaml:<UserControl x:Class=”DisplayDataMapping”xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation”xmlns:x=”http://schemas.microsoft.com/win
Tom Allen
wpftoolkit autocompletebox
I installed the Feb 2010 WPF Toolkit as I’m interested in evaluating the AutoCompleteBox control and I’m having extremely limited success. I can get the control to work, but as soon as I try and set any of it’s properties in XAML, I get the following:Unknown build error, ‘Cannot resolve dependency to assembly ‘WPFToolkit, Version=3.5.40128.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-l
Web site is in building