Telerik Forums
UI for WPF Forum
3 answers
279 views

Hi,
I'm looking for an example of using RadDataForm to Update and/or Insert data in a SQL Server table in a WPF MVVM Light application.

I've binding DataForm with a LIST that contains a result of a sql query but I've not idea how to update or inser a value.

Thank's a lot!

Yoan
Telerik team
 answered on 31 Jan 2014
1 answer
226 views

I have two buttons one to show and other to close my RadDoking. By default, the RadDoking is deactivated(not show), when I press the show button, the RadDoking opens but on I prese my close button it does not work

My Xaml :

<telerik:RadDocking Grid.Column="1"     x:Name="radDocking1"  Grid.Row="1" Margin="0 0 0 10" BorderThickness="0"   
                  Visibility="{Binding Hidden,ConverterParameter=True, Mode=TwoWay,  Converter={StaticResouce                                    CvtVisibilityConverter}}"
                  Padding="0" >
             
            <telerik:RadSplitContainer InitialPosition="FloatingOnly" 
                    telerik:RadDocking.FloatingLocation="450, 250" >
                <telerik:RadPaneGroup >
                    <telerik:RadPane          Title="My Pane"
                                              CanDockInDocumentHost="False"
                                              CanUserClose="False" CanUserPin="False" >
                        
                    </telerik:RadPane>
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>
 </telerik:RadDocking>

My ViewModel

public class MyViewModel: ViewModelBase
{
 
public MyViewModel
{
    Hidden = true ;
}
 
 
public bool Hidden
        {
            get
            {
                return hidden;
            }
            set
            {
                 
                    hidden = value;
                    OnPropertyChanged("Hidden");
                 
            }
        }
 
        private ICommand showCommand;
        private ICommand closeCommand;
 
        public ICommand CloseCommand
        {
            get
            {
                if (closeCommand == null)
                    closeCommand = new RelayCommand(param => this.CloseCommandEvent());
                return closeCommand;
            }
        }
 
 
        private void CloseCommandEvent()
        {
            Hidden = true;
        }
 
 
        public ICommand showCommand
        {
            get
            {
                if (showCommand == null)
                    showCommand = new RelayCommand(param => this.ShowCommandEvent());
                return showCommand;
            }
        }
 
        private void ShowCommandEvent()
        {
            Hidden = false;
      
        }
}

My Converter 
public class VisibilityConverter : IValueConverter
   {
       public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
       {
           if (value == null || !(value is Boolean))
               return Visibility.Collapsed;
 
           var parm = parameter ?? false;
           bool flip;
           Boolean.TryParse(parm.ToString(), out flip);
           var visible = flip ? !((bool)value) : (bool)value;
           return visible ? Visibility.Visible : Visibility.Collapsed;
            
 
 
 
       }
 
       public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
       {
           throw new NotImplementedException();
       }
   }

I do not understand why it does not work, Thank you for your help :) 
Kalin
Telerik team
 answered on 31 Jan 2014
7 answers
290 views
Hi,

I would like to know how it's possible in the header of each column to have only the first day instead of having the beginning and the end of the week.

Thank's
Alain
Yana
Telerik team
 answered on 31 Jan 2014
3 answers
67 views
Hi Telerik
I have been working on a project with you brillant TreelistView for over a year now - so glad I bought your product!

But heres my little problem - and it is also not working in your own example:
In your DragDrop-example for radTreeListView, it is not posible to drop an item on the last item.
It is posible to drop on all the other elements - except the last one.
Could you please help me with a workaround?

With kind regards from Kenneth
Nick
Telerik team
 answered on 31 Jan 2014
4 answers
70 views
How can I tell whether Esc is from an Insert or Edit in a KeyboardCommandProvider?
Thanks in advance,
Steve
Dimitrina
Telerik team
 answered on 31 Jan 2014
5 answers
396 views
Per this post (http://www.telerik.com/community/forums/wpf/gridview/edit-mode-and-the-keyboardcommandprovider.aspx) it was recommended that I implement key handling for navigation by handling PreviewKeyDown. This was working fine up until the latest version of the GridView control, in my case, Q1 2011. If I press the down arrow while in a text box in edit mode, it should move down, select the next box and then go into edit mode. Now, the cursor does move down but the cell does not enter edit mode. This is the code that's been working for some time:

        private void HandleKeyDown(KeyEventArgs e)
        {
            if (e.Key == Key.Down)
            {
                RadGridViewCommands.MoveDown.Execute(null);
                RadGridViewCommands.SelectCurrentUnit.Execute(null);
                RadGridViewCommands.BeginEdit.Execute(null);

                e.Handled = true;
            }
        }
Hristo
Telerik team
 answered on 31 Jan 2014
15 answers
247 views
Hi,

we use the SchduleView to plan our staff. Works great and we are very happy with this control. Now we have this situation:

Two employees are planed for the same service oder. Now I we change the time for this work by moving the appointment from
one employee and we want, that the second appointment of the second employee will move too! Is this possible and how do
we solve this?

Thanks a lot
best regards
Rene
Kalin
Telerik team
 answered on 31 Jan 2014
3 answers
150 views
Hi,

I have a solution using RadDiagram in RadDocumentPane.
This Solution worked with RadControls_for_WPF_2013_3_1204_Dev.
After installing RadControls_for_WPF_2013_3_1306_DEV_hotfix the (see below) errors occured.
Installing RadControls_for_WPF_2013_3_1313_DEV_hotfix did not solve the problem.

My (Reduced) XAML:
<Grid DataContext="{Binding}" x:Name="grdHolder">
    <Grid.RowDefinitions>
        <RowDefinition Height="Auto" />
        <RowDefinition Height="*" />
    </Grid.RowDefinitions>
    <StackPanel Orientation="Horizontal">
        <telerik:RadToggleButton IsChecked="{Binding IsPropertiesWindowHidden, Mode=TwoWay, Converter={StaticResource bInvertedConverter}}" Content="Eigenschaften" ToolTip="Eigenschaften anzeigen / verbergen" Margin="6,2" Height="24" HorizontalAlignment="Left" />
        <telerik:RadToggleButton IsChecked="{Binding IsDetailsWindowHidden, Mode=TwoWay, Converter={StaticResource bInvertedConverter}}" Content="Details" ToolTip="Detailsvorschau anzeigen / verbergen" Margin="6,2" Height="24" HorizontalAlignment="Left" />
        <telerik:RadToggleButton IsChecked="{Binding IsConditionsWindowHidden, Mode=TwoWay, Converter={StaticResource bInvertedConverter}}" Content="Bedingungen" ToolTip="Bedingungsfenster anzeigen / verbergen" Margin="6,2" Height="24" HorizontalAlignment="Left" />
    </StackPanel>
    <telerik:RadDocking Grid.Row="1">
        <telerik:RadDocking.DocumentHost>
            <telerik:RadSplitContainer>
                <telerik:RadPaneGroup>
                    <telerik:RadDocumentPane CanUserClose="False" CanFloat="False" CanUserPin="False" Visibility="Collapsed">
                        <Grid DataContext="{Binding DataContext, ElementName=grdHolder}" >
                            <XDGT:XDiagram x:Name="dGram" Grid.Row="1" Grid.Column="0" ZoomMinFactor="0.2" ZoomMaxFactor="10"
                                           LineBrush="{telerik:Windows8Resource ResourceKey=StrongBrush}"
                                           HiddenBrush="Orange"
                                           SelectedItem="{Binding SelectedNode, Mode=TwoWay}"
                                           AllowDelete="{Binding CanChange}"
                                           IsDraggingEnabled="{Binding CanChange}"
                                           AllowDrop="{Binding CanChange}"
                                           ScrollViewer.HorizontalScrollBarVisibility="Auto" 
                                           ScrollViewer.VerticalScrollBarVisibility="Auto"/>
                            <XDGT:XDiagramNavigationPane  Grid.Row="1" Diagram="{Binding ElementName=dGram}"
                                                          HorizontalAlignment="Left" ThumbnailStyle="{StaticResource tnStyle}"
                                                          VerticalAlignment="Bottom"/>
                        </Grid>
                    </telerik:RadDocumentPane>
                </telerik:RadPaneGroup >
            </telerik:RadSplitContainer>
        </telerik:RadDocking.DocumentHost>
        <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedRight">
            <telerik:RadPaneGroup>
                <telerik:RadPane Header="Eigenschaften" IsHidden="{Binding DataContext.IsPropertiesWindowHidden, ElementName=grdHolder, Mode=TwoWay}">
                    <telerik:RadPane.Resources>
                        <DataTemplate DataType="{x:Type VMs:PropInstructionNodeVM}">
                            <Views:PropInstructionNodeView DataContext="{Binding}" />
                        </DataTemplate>
                        <DataTemplate DataType="{x:Type VMs:PropPartsListItemNodeVM}">
                            <Views:PropPartsListItemNodeView DataContext="{Binding}" />
                        </DataTemplate>
                        <DataTemplate DataType="{x:Type VMs:PropProductionItemUtilizationVM}">
                            <Views:PropProductionItemUtilizationView DataContext="{Binding}" />
                        </DataTemplate>
                    </telerik:RadPane.Resources>
                    <telerik:RadPane.Content>
                        <ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
                            <ContentControl Content="{Binding DataContext.PropertiesVM, ElementName=grdHolder}" />
                        </ScrollViewer>
                    </telerik:RadPane.Content>
                </telerik:RadPane>
            </telerik:RadPaneGroup>
            <telerik:RadPaneGroup>
                <telerik:RadPane Header="Bedingung" IsHidden="{Binding DataContext.IsConditionsWindowHidden, ElementName=grdHolder, Mode=TwoWay}" >
                    <telerik:RadPane.Resources>
                        <DataTemplate DataType="{x:Type VMs:PropConditionVM}">
                            <ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
                                <Views:PropConditionView DataContext="{Binding}" />
                            </ScrollViewer>
                        </DataTemplate>
                    </telerik:RadPane.Resources>
                    <telerik:RadPane.Content>
                        <ContentControl Content="{Binding DataContext.ConditionVM, ElementName=grdHolder}" />
                    </telerik:RadPane.Content>
                </telerik:RadPane>
            </telerik:RadPaneGroup>
        </telerik:RadSplitContainer>
        <telerik:RadSplitContainer InitialPosition="DockedBottom">
            <telerik:RadPaneGroup>
                <telerik:RadPane Header="Details" IsHidden="{Binding DataContext.IsDetailsWindowHidden, ElementName=grdHolder, Mode=TwoWay}" CanDockInDocumentHost="False">
                    <telerik:RadPane.Resources>
                        <DataTemplate DataType="{x:Type VMs:WorkingInstructionVM}">
                            <Views:WorkingInstructionView DataContext="{Binding}" />
                        </DataTemplate>
                        <DataTemplate DataType="{x:Type VMs:PartsListItemVM}">
                            <Views:PartsListItemView DataContext="{Binding}" />
                        </DataTemplate>
                        <DataTemplate DataType="{x:Type VMs:ProductionItemVM}">
                            <Views:ProductionItemView DataContext="{Binding}" />
                        </DataTemplate>
                    </telerik:RadPane.Resources>
                    <telerik:RadPane.Content>
                        <ContentControl Content="{Binding DataContext.DetailsVM, ElementName=grdHolder}" />
                    </telerik:RadPane.Content>
                </telerik:RadPane>
            </telerik:RadPaneGroup>
        </telerik:RadSplitContainer>
    </telerik:RadDocking>
</Grid>


The Errors:
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=grdHolder'. BindingExpression:Path=DataContext; DataItem=null; target element is 'Grid' (Name=''); target property is 'DataContext' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=dGram'. BindingExpression:(no path); DataItem=null; target element is 'XDiagramNavigationPane' (Name=''); target property is 'Diagram' (type 'RadDiagram')
System.Windows.Data Warning: 4 : Cannot find source for binding with reference 'ElementName=DropDownButtonElement'. BindingExpression:Path=IsChecked; DataItem=null; target element is 'DropDownMenu' (Name='DropDownMenuElement'); target property is 'IsOpen' (type 'Boolean')


The last Error is known for a long time (and also exists in my working solution - but has no negative effects so I simply ignored it)
See:
http://www.telerik.com/community/forums/wpf/docking/binding-error-using-raddocking-with-documenthost.aspx

But the first two (for grdHolder and dGram) occurred first after installing the hotfixes.
The result - no Diagram content.

A first fix was to change the xaml like this:
<telerik:RadDocking Grid.Row="1">
    <telerik:RadDocking.DocumentHost>
        <telerik:RadSplitContainer>
            <telerik:RadPaneGroup>
                <telerik:RadDocumentPane CanUserClose="False" CanFloat="False" CanUserPin="False" Visibility="Collapsed">
                    <!--<Grid DataContext="{Binding DataContext, ElementName=grdHolder}">-->
                    <Grid >


Removing the DataContext binding on the Grid brings back the diagrams functionality - but still the error:
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=dGram'. BindingExpression:(no path); DataItem=null; target element is 'XDiagramNavigationPane' (Name=''); target property is 'Diagram' (type 'RadDiagram')

is there - so I have an empty NavigationPane.

Manfred
Kalin
Telerik team
 answered on 31 Jan 2014
3 answers
123 views


I have a RadOutlookBar with several textboxes within the RadOutlookBarItem.  When I run the code I am unable to tab through the text boxes.  Is there anything special I have to do to be able to tab through the controls?

 

<telerik:RadOutlookBar telerik:StyleManager.Theme="Office_Blue" DropDownDisplayMode="Visible" IsVerticalResizerVisible="False" IsMinimizable="False" Grid.Column="2">

 

<telerik:RadOutlookBarItem Header="Fields:">

<StackPanel Orientation="Vertical" VerticalAlignment="Top" HorizontalAlignment="Left" Height="auto" Focusable="True">                       

<TextBlock Margin="5,5,0,0">Name:</TextBlock>                      

 

<TextBox x:Name="newName" Text="{Binding Name, Mode=TwoWay}" HorizontalAlignment="Left" Width="320" Margin="5,0,0,0" Style="{StaticResource txtStyleLeftAligned}" MaxLength="256"/>                       

 

<TextBlock Margin="5,5,0,0">Company Name:</TextBlock>

 

<TextBox x:Name="newCompany" Text="{Binding Company, Mode=TwoWay}" HorizontalAlignment="Left" Width="320" Margin="5,0,0,0" Style="{StaticResource txtStyleLeftAligned}" MaxLength="500" />
                       

<TextBlock Margin="5,5,0,1">Email:</TextBlock>

 

<TextBox x:Name="newEmail" Text="{Binding Email, Mode=TwoWay}" HorizontalAlignment="Left" Width="320" Margin="5,0,0,0" Style="{StaticResource txtStyleLeftAligned}" MaxLength="50"/>

 

<CheckBox x:Name="newActiveYN" FlowDirection="RightToLeft" IsChecked="{Binding Active, Converter={StaticResource converter}}" Margin="0,5,11,0" HorizontalAlignment="Left" Style="{StaticResource cbxBase}" Content="Active"/>
                     

<TextBlock HorizontalAlignment="Left" Width="290" Margin="5,5,0,0">Locations:</TextBlock>                      

 

<ListBox x:Name="lbLocations" Height="100" Margin="5,5,10,0" ItemsSource="{Binding Locations, Mode=TwoWay}" HorizontalAlignment="Left" Width="320" Style="{StaticResource lbxStyleRequired}">                           

 

<ListBox.ItemTemplate>

<DataTemplate>

<CheckBox Checked="Location_Checked" Content="{Binding DbLocation.Name}" IsChecked="{Binding IsChecked}" Tag="{Binding}" Unchecked="Location_UnChecked" />

</DataTemplate>

</ListBox.ItemTemplate>

</ListBox>

<TextBlock HorizontalAlignment="Left" Margin="5,5,0,0">Services:</TextBlock>

<ListBox x:Name="lbContactServices" Height="150" Margin="5,5,10,0" ItemsSource="{Binding Services, Mode=TwoWay}" HorizontalAlignment="Left" Width="320" IsEnabled="False">

<ListBox.ItemTemplate>

<DataTemplate>

<CheckBox IsChecked="{Binding IsChecked}" Content="{Binding DbService.Name}"/>

</DataTemplate>

</ListBox.ItemTemplate>

</ListBox>

 

<StackPanel Orientation="Horizontal" Margin="0,0,0,0">

<Button Content="New" Style="{StaticResource btnBase}" Margin="5,5,0,0" Width="100" Command="{x:Static NewBrokerButtonCommand}"/>

 

<Button Content="Save" Style="{StaticResource btnBase}" Margin="5,5,0,0" Width="100" Command="{x:Static UpdateButtonCommand}"/>                    

 

</StackPanel>

</StackPanel>

</telerik:RadOutlookBarItem>

 

</telerik:RadOutlookBar>

Kiril Vandov
Telerik team
 answered on 30 Jan 2014
1 answer
147 views
Hi, I have problem with binding ObservableCollection on ItemsSource of FinancialIndicator. When I bound CandleChart series, I haven't problem.


<StackPanel Grid.Row="2" Orientation="Vertical">
            <StackPanel Orientation="Horizontal">
                <ComboBox x:Name="IndicatorComboBox" MinWidth="150" Width="Auto" ItemsSource="{Binding IndicatorCollection}" SelectedItem="{Binding SelectedIndicator}" >
                    <i:Interaction.Triggers>
                        <i:EventTrigger EventName="SelectionChanged">
                            <i:InvokeCommandAction Command="{Binding ElementName=IndicatorComboBox,Path=SelectedItem.ApplyPararmetersComand}" CommandParameter="{Binding ElementName=IndicatorChart}" />
                        </i:EventTrigger>
                    </i:Interaction.Triggers>
                    
                    <ComboBox.ItemTemplate>
                        <DataTemplate>
                            <TextBlock Text="{Binding Path=DisplayName}"/>
                        </DataTemplate>
                    </ComboBox.ItemTemplate>
                </ComboBox>
                <!--<ContentPresenter Content="{Binding ElementName=IndicatorComboBox,Path=SelectedItem }"  />-->
                <Button  Content="Apply" Command="{Binding ElementName=IndicatorComboBox,Path=SelectedItem.ApplyPararmetersComand}" CommandParameter="{Binding ElementName=IndicatorChart}" />
            </StackPanel>
            <ContentPresenter Content="{Binding Path=SelectedIndicator}" />

            
        </StackPanel>

-------
 <ControlTemplate x:Key="StohasticIndicator" >
        <StackPanel Orientation="Vertical" >
        <WrapPanel Orientation="Horizontal">
            <TextBlock Text="SignalPeriod:" />
            <TextBox Text="{Binding Path=SignalPeriod,Mode=TwoWay}"/>
            <TextBlock Text="MainPeriod:" />
            <TextBox Text="{Binding Path=MainPeriod,Mode=TwoWay}"/>
            <TextBlock Text="Slowing:" />
            <TextBox Text="{Binding Path=SlowingPeriod,Mode=TwoWay}"/>
        </WrapPanel>
            <telerik:RadCartesianChart x:Name="IndicatorChart" DataContext="{Binding}"  Visibility="{Binding IndicatorVisibility}" Zoom="{Binding Path=DataContext.IndicatorChartZoom, RelativeSource={RelativeSource AncestorType=vw:CandleChartView, Mode=FindAncestor}}" Width="Auto" >
                <telerik:RadCartesianChart.HorizontalAxis>
                    <telerik:DateTimeContinuousAxis ShowLabels="True"
                                                MajorStep="{Binding Path=DataContext.MajorStep, RelativeSource={RelativeSource AncestorType=vw:CandleChartView, Mode=FindAncestor}}"
                                                MajorStepUnit="Minute"
                                                LabelInterval="6"
                                                LabelTemplate="{StaticResource axisLabelTemplate}"
                                                PlotMode="OnTicksPadded"
                                                Minimum="{Binding Path=DataContext.MinTime, RelativeSource={RelativeSource AncestorType=vw:CandleChartView,Mode=FindAncestor}}"  
                                                Maximum="{Binding Path=DataContext.MaxTime, RelativeSource={RelativeSource AncestorType=vw:CandleChartView,Mode=FindAncestor}}"
                                                >
                    </telerik:DateTimeContinuousAxis>
                </telerik:RadCartesianChart.HorizontalAxis>
                <telerik:RadCartesianChart.VerticalAxis>
                    <telerik:LinearAxis Minimum="0" Maximum="100" LabelInterval="2"  />
                </telerik:RadCartesianChart.VerticalAxis>
                <telerik:RadCartesianChart.Behaviors>
                    <telerik:ChartPanAndZoomBehavior ZoomMode="None" PanMode="Horizontal"   />
                </telerik:RadCartesianChart.Behaviors>
                <telerik:RadCartesianChart.Series>
                    <telerik:CandlestickSeries x:Name="s1" ItemsSource="{Binding Path=Source}"                                           
                                               OpenBinding="OpenPrice"
                                               HighBinding="HightPrice"
                                               LowBinding="LowPrice"
                                               CloseBinding="ClosePrice"
                                               CategoryBinding="StartTime" >

                    </telerik:CandlestickSeries>
                    
                </telerik:RadCartesianChart.Series>
                <telerik:RadCartesianChart.Indicators >

                    <!--<telerik:StochasticFastIndicator ItemsSource="{Binding Path=DataContext.Candles, RelativeSource={RelativeSource AncestorType=vw:CandleChartView, Mode=FindAncestor}}" CategoryBinding="StartTime" CloseBinding="ClosePrice" HighBinding="HightPrice" LowBinding="LowPrice" Stroke="Blue" StrokeThickness="1" MainPeriod="{Binding MainPeriod}" SignalPeriod="{Binding SignalPeriod}" />-->
                    <telerik:StochasticFastIndicator  ItemsSource="{Binding Path=Source}" CategoryBinding="StartTime" CloseBinding="ClosePrice" HighBinding="HightPrice" LowBinding="LowPrice" Stroke="Blue" StrokeThickness="1" MainPeriod="{Binding MainPeriod}" SignalPeriod="{Binding SignalPeriod}" />
                    <telerik:StochasticSlowIndicator ItemsSource="{Binding Path=Source}" CategoryBinding="StartTime" CloseBinding="ClosePrice" HighBinding="HightPrice" LowBinding="LowPrice" Stroke="Red" StrokeThickness="1" MainPeriod="{Binding MainPeriod}" SignalPeriod="{Binding SignalPeriod}" SlowingPeriod="{Binding SlowingPeriod}" />

                </telerik:RadCartesianChart.Indicators>
                <telerik:RadCartesianChart.Annotations>
                    <telerik:CartesianGridLineAnnotation Value="80" Axis="{Binding ElementName=IndicatorChart, Path=VerticalAxis}" StrokeThickness="1" Stroke="Black"  Label="80" />
                    <telerik:CartesianGridLineAnnotation Value="20" Axis="{Binding ElementName=IndicatorChart, Path=VerticalAxis}" StrokeThickness="1" Stroke="Black" Label="20" />
                </telerik:RadCartesianChart.Annotations>

            </telerik:RadCartesianChart>
        </StackPanel>
    </ControlTemplate>
    <DataTemplate DataType="{x:Type models:StohasticIndicator}">
        <Control Template="{StaticResource ResourceKey=StohasticIndicator}" DataContext="{Binding}" />
    </DataTemplate>
---------------------
Source is ObservableCollection of Candle , and some times updates from external service.

public class Candle : INotifyPropertyChanged
    {
        private Dispatcher dispatcher = Dispatcher.CurrentDispatcher;

        private double _openPrice;

        private double _closePrice;

        private double _hightPrice;

        private double _lowPrice;

        private double _volume;

        private DateTimeOffset _startTime;

        private DateTimeOffset _endTime;

        public double OpenPrice
        {
            get { return _openPrice; }
            set
            {
                if (value != _openPrice)
                {
                    _openPrice = value;
                    OnPropertyChanged("OpenPrice");
                }
            }
        }

        public double ClosePrice
        {
            get { return _closePrice; }
            set
            {
                if(value != _closePrice)
                {
                    _closePrice = value;
                    OnPropertyChanged("ClosePrice");
                }
            }
        }

        public double HightPrice
        {
            get { return _hightPrice; }
            set
            {
                if (value != _hightPrice)
                {
                    _hightPrice = value;
                    OnPropertyChanged("HightPrice");
                }
            }
        }

        public double LowPrice
        {
            get { return _lowPrice; }
            set
            {
                if (value != _lowPrice)
                {
                    _lowPrice = value;
                    OnPropertyChanged("LowPrice");
                }
            }
        }

        public double Volume
        {
            get { return _volume; }
            set
            {
                if (_volume != value)
                {
                    _volume = value;
                    OnPropertyChanged("Volume");
                }
            }
        }

        public DateTimeOffset StartTime
        {
            get { return _startTime; }
            set
            {
                if (_startTime != value)
                {
                    _startTime = value;
                    OnPropertyChanged("StartTime");
                }
            }
        }

        public DateTimeOffset EndTime
        {
            get { return _endTime; }
            set
            {
                if (_endTime != value)
                {
                    _endTime = value;
                    OnPropertyChanged("EndTime");
                }
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;

        protected void OnPropertyChanged(string name)
        {
          

            PropertyChangedEventHandler handler = PropertyChanged;
            if (handler != null)
            {
               
                    dispatcher.BeginInvoke(DispatcherPriority.Normal,
                               (ThreadStart)delegate()
                               {
                                   PropertyChanged(this, new PropertyChangedEventArgs(name));
                               });
               
            }          
        }
    }

CandleSeries  updates normal, but Financial indicator doesn't work. Help, please :)
Martin Ivanov
Telerik team
 answered on 30 Jan 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?