Telerik Forums
UI for WPF Forum
2 answers
155 views

I made a simple example:

public class TestData  
    {  
        public static IEnumerable<TestData> Generate(int count)  
        {  
            var rnd = new Random();  
 
            for (int i = 0; i < count; ++i)  
            {  
                yield return new TestData()  
                {  
                    SomeDtmProperty = DateTime.Now,  
                    SomeFltProperty = (float)rnd.Next() / (float)rnd.Next(),  
                    SomeIntProperty = rnd.Next(),  
                    SomeStrProperty = new string((char)((rnd.Next() % ((int)'z' - (int)'a')) + (int)'a'), rnd.Next() % 20 + 10)  
                };  
            }  
        }  
 
        public string SomeStrProperty { getset; }  
        public int SomeIntProperty { getset; }  
        public DateTime SomeDtmProperty { getset; }  
        public float SomeFltProperty { getset; }  
    } 
public
 partial class Window1 : Window  
    {  
        ObservableCollection<TestData> m_TestDataCollection = null;  
 
        public Window1()  
        {  
            InitializeComponent();  
            InitData();  
            gvTest.ItemsSource = m_TestDataCollection;  
        }  
 
        void InitData()  
        {  
            m_TestDataCollection = new ObservableCollection<TestData>(TestData.Generate(100));  
            m_TestDataCollection.Add(  
                new TestData()  
                {  
                    SomeStrProperty = "The last row"  
                });  
        }  
    } 
<Window x:Class="WpfApplication6.Window1"  
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"  
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  
    Title="Window1" Height="300" Width="500">  
    <Grid>  
        <telerik:RadGridView x:Name="gvTest"/>  
    </Grid>  
</Window> 
Steps to reproduse:

1) Run this code

2) Scroll the grid down using right scrollbar

3) last row (marked "The last row") is half-visible (or invisible at all), despite of right scrollbar is bottom down (if you can't reproduce please set some another value in generate method)

4) Now scroll using mouse wheel. Everything is OK.

PS. I use Q3 without SP1 (will migration to SP1 fix this?)

Igor
Top achievements
Rank 2
 answered on 18 Dec 2012
2 answers
95 views
Hi,

I have 4 ScheduleViews on one page to represent a particular concept in my application.
I have created a class that inherits from ScheduleViewDragDropBehavior.

How do I determine which ScheduleView is being subjected to the drop (the "sender") within Drop method?

Thank you,

- Rebecca
Rebecca
Top achievements
Rank 1
 answered on 18 Dec 2012
1 answer
144 views
I used the RadControlsScenario to create a Window just to see how it works and things went well until I tried to Compile and open it.   The first think I found was no RadControlsScenario.Show(), How do you show the window.  The second is The name 'InitializeComponent' does not exist in the current context.  My namespace is the same as the main window that would be calling it.

An object reference is required for the non-static field, method, or property 'System.Windows.Window.ShowDialog()'

Built with RadControl Scenario
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using System.Threading.Tasks;
using Telerik.Windows.Controls;
 
namespace My.Controls
{
    /// <summary>
    /// Interaction logic for RadSalesPersonRCS1.xaml
    /// </summary>
    public partial class RadSalesPersonRCS1 : Window
    {
        public RadSalesPersonRCS1()
        {
            InitializeComponent();
        }
    }
}

Where I try to open it from my main Window
private void MenuItem_ViewSalesPerson(object sender, RoutedEventArgs e)
      {
          RadSalesPersonRCS1 salesperson = new RadSalesPersonRCS1();
          RadSalesPersonRCS1.ShowDialog();
           
      }



Boyan
Telerik team
 answered on 18 Dec 2012
1 answer
177 views
Hi,

I am using both the silverlight timebar and kendo UI datepicker in the same page.
So, my requirement is to use both the controls(Timebar or kendo datepicker).
On changing the date in any one of the control(ex: timebar)  should deflect the same in other control(ex: datepicker).
On changing the kendoUI datepicker, I can trigger the radtimebar code behind and change the selectionstart and selectionend values.
But, the radtimebar is not rendered with the changed date.
Is there anything to refresh the radtimebar to display the changed content?
Greatly Appreciate your help on this.

Thanks in advance,
Nirmal Kumar Boopalan
Tsvetie
Telerik team
 answered on 18 Dec 2012
3 answers
170 views
Hi
I have a problem when using RadContextMenu against the CollectionEditor fields, when it is first time to open the context menu then the collection editor pop up automatically hidden.

Please advice me what to do to keep the pop up open.

Thanks,
Akram
Maya
Telerik team
 answered on 18 Dec 2012
1 answer
303 views
I am coding in WPF C# using MVVM design pattern. We try to adhere strictly to the pattern and put nothing in the code behind unless there is no option or it is completely unreasonable to do so. Having said that, I am working with a Telerik RadTreeView. Here is a snippet of it in my XAML:

<telerik:RadTreeView IsExpandOnSingleClickEnabled="True" IsLineEnabled="True" Margin="5"
                                
ItemsSource="{Binding ItemsView}"
                                
SelectedItem="{Binding SelectedWidget, Mode=TwoWay}"
                                
ItemTemplate="{StaticResource NodeTemplate}" />


Currently the tree is working properly so that if you highlight a tree item and click the OK button on the view, all is good. However, I need to also allow the user to double click on one of the tree items. This means I already have a command and method, protected override void OkAction(), in my view model with the needed logic. Telerik supplies a property called ItemDoubleClick that is supposed to supply functionality for the tree item double click. But I can't find anything to allow me to do this in the view model. In other words, how do I do the binding? We also have a behavior setup in our project for double clicking that I was told I could use, but I have no experience with behaviors. I'm still a little wet with WPF.

 

I would appreciate any help or direction anyone can provide.

XAML for NodeTemplate:

<Grid.Resources>
            <DataTemplate x:Key="WidgetTemplate">
                <StackPanel Orientation="Horizontal">
                    <Image Source="/Resources/gear1.png" Margin="1" Stretch="None" />
                    <TextBlock Text="{Binding Name}" VerticalAlignment="Center" Margin="6,0,0,0" />
                </StackPanel>
            </DataTemplate>

            <HierarchicalDataTemplate x:Key="NodeTemplate" ItemsSource = "{Binding Children}" ItemTemplate="{StaticResource WidgetTemplate}">
                <TextBlock Text="{Binding Name}"/>
            </HierarchicalDataTemplate>

        </Grid.Resources>
Hristo
Telerik team
 answered on 18 Dec 2012
1 answer
116 views
Hello,

i have Autocomplete and IsEditable Combobox, this has dropdown entries  1. "United States Minor Outlying Islands" and 2. United States.
The User enters "Un" and combo box auto comleted to "United States Minor Outlying Islands", its ok.
The User can delete Text " Minor Outlying Islands" and has "United States" text now, but Selected Value was not changed to "United States"



Vladi
Telerik team
 answered on 18 Dec 2012
1 answer
137 views
Hi
How can i get the name of the property represented in the RadPropertyGeid.SelectedField

Thanks,
Akram
Yoan
Telerik team
 answered on 18 Dec 2012
3 answers
113 views
to make sure I'm right.


RadScheduleView.ViewDefinitions ..is read only? not setable?

why?


any way round this? !

Edit: The viewDefinitions don't even have visible propertie....

so I am stuck? or use a new control
Yana
Telerik team
 answered on 18 Dec 2012
5 answers
189 views
Hi,

since i made the latest Update of WpfRadControls i get an error.

WPF:
<GroupBox Header="{Binding Source={StaticResource Lang}, XPath=SettingsVerbindungen/@Header}" Grid.Row="3" Style="{DynamicResource GroupboxStyleNorm}" MinHeight="60">
                                <Grid Name="VerbForm">
                                    <Grid.Resources>
                                        <DataTemplate x:Key="MyEditTemplate">
                                            <Grid>
                                                <Grid.ColumnDefinitions>
                                                    <ColumnDefinition Width="*"/>
                                                    <ColumnDefinition Width="*"/>
                                                </Grid.ColumnDefinitions>
                                                <Grid.RowDefinitions>
                                                    <RowDefinition Height="Auto" />
                                                    <RowDefinition Height="Auto" />
                                                    <RowDefinition Height="Auto" />
                                                    <RowDefinition Height="Auto" />
                                                    <RowDefinition Height="Auto" />
                                                    <RowDefinition  Height="Auto"/>
                                                    <RowDefinition Height="Auto" />
                                                    <RowDefinition Height="Auto" />
                                                    <RowDefinition Height="Auto" />
                                                    <RowDefinition Height="Auto" />
                                                    <RowDefinition Height="Auto" />
                                                    <RowDefinition Height="Auto" />
                                                    <RowDefinition Height="Auto" />
                                                </Grid.RowDefinitions>
                                                <telerik:DataFormDataField Label="Name" DataMemberBinding="{Binding Name, Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=True}" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Stretch" Margin="0,10,0,0" Name="VerbName_txt" HorizontalAlignment="Stretch" />
                                                <telerik:DataFormDataField Label="Host" DataMemberBinding="{Binding Host, Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=True}" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Stretch" Margin="0,10,0,0" Name="Host_txt" />
                                                <telerik:DataFormDataField Label="Port" DataMemberBinding="{Binding Port, Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=True}" Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Stretch" Margin="0,10,0,0" Name="Port_txt" />
                                                <telerik:DataFormDataField Label="Mandant" DataMemberBinding="{Binding Mandant, Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=True}" Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Stretch" Margin="0,10,0,0" Name="Mandant_txt" />
                                                <telerik:DataFormDataField Label="Passwort" DataMemberBinding="{Binding Passwort, Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=True}" Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Stretch" Margin="0,10,0,0" Name="Passwort_txt" />
                                                <telerik:DataFormDataField Label="Root-User" DataMemberBinding="{Binding RootUser, Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=True}" Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Stretch" Margin="0,10,0,0" Name="RootUser_txt" />
                                                <telerik:DataFormDataField Label="Root-Passwort" DataMemberBinding="{Binding rootpw, Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=True}" Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Stretch" Margin="0,10,0,0" Name="RootPw_txt" />
                                                <telerik:DataFormDataField Label="Ssh-Key" DataMemberBinding="{Binding SshKey, Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=True}" Grid.Row="7" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Stretch" Margin="0,10,0,0" Name="SshKey_txt" />
                                                <telerik:DataFormDataField Label="Arbeitsplatz" DataMemberBinding="{Binding Verb1, Mode=TwoWay}" Grid.Row="8" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Stretch" Margin="0,10,0,0" Name="Arbeitsplatz_txt" />
                                                <telerik:DataFormDataField Label="s3-Path" DataMemberBinding="{Binding s3Path, Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=True}" Grid.Row="10" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Stretch" Margin="0,10,0,0" Name="S3Path_txt" />
                                                <telerik:DataFormDataField Label="Mandant-Path" DataMemberBinding="{Binding MandPath, Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=True}" Grid.Row="11" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Stretch" Margin="0,10,0,0" Name="MandPath_txt" />
                                                <Button VerticalAlignment="Center" BorderThickness="0" Height="40" Width="Auto" HorizontalAlignment="Left" Name="PathGet_btn" Margin="0" Click="Button_Click" Grid.Row="9" Grid.Column="0" Grid.ColumnSpan="2">
                                                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
                                                        <Label Content="Pfade ermitteln:" FontFamily="Calibri" FontSize="14" Foreground="Black" VerticalContentAlignment="Center" Margin="0,0,5,0" />
                                                        <Image  Margin="3" Source="/ITA-Packetverwaltung;component/Images/testen.png" />
                                                    </StackPanel>
                                                    <Button.Template>
                                                        <ControlTemplate TargetType="Button">
                                                            <ContentPresenter Content="{TemplateBinding Content}" Cursor="Hand" />
                                                        </ControlTemplate>
                                                    </Button.Template>
                                                </Button>
                                            </Grid>
                                        </DataTemplate>
                                        <DataTemplate x:Key="MyTemplate">
                                            <Grid>
                                                <Grid.ColumnDefinitions>
                                                    <ColumnDefinition Width="*"/>
                                                    <ColumnDefinition Width="*"/>
                                                </Grid.ColumnDefinitions>
                                                <Grid.RowDefinitions>                                                   
                                                    <RowDefinition Height="Auto" />
                                                    <RowDefinition Height="Auto" />
                                                    <RowDefinition Height="Auto" />
                                                    <RowDefinition Height="Auto"/>
                                                    <RowDefinition Height="Auto" />
                                                    <RowDefinition Height="Auto" />
                                                    <RowDefinition Height="Auto" />
                                                    <RowDefinition Height="Auto" />
                                                    <RowDefinition Height="Auto" />
                                                </Grid.RowDefinitions>                                               
                                                <telerik:DataFormDataField Label="Name:" DataMemberBinding="{Binding Name, Mode=TwoWay}" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Stretch" Margin="0,10,0,0" Name="VerbName_txt" />
                                                <telerik:DataFormDataField Label="Host:" DataMemberBinding="{Binding Host, Mode=TwoWay}" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Stretch" Margin="0,10,0,0" Name="Host_txt" />
                                                <telerik:DataFormDataField Label="Port:" DataMemberBinding="{Binding Port, Mode=TwoWay}" Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Stretch" Margin="0,10,0,0" Name="Port_txt" />
                                                <telerik:DataFormDataField Label="Mandant:" DataMemberBinding="{Binding Mandant, Mode=TwoWay}" Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Stretch" Margin="0,10,0,0" Name="Mandant_txt" />                                               
                                                <telerik:DataFormDataField Label="Root-User:" DataMemberBinding="{Binding RootUser, Mode=TwoWay}" Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Stretch" Margin="0,10,0,0" Name="RootUser_txt" />                                               
                                                <telerik:DataFormDataField Label="Ssh-Key:" DataMemberBinding="{Binding SshKey, Mode=TwoWay}" Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Stretch" Margin="0,10,0,0" Name="SshKey_txt" />
                                                <telerik:DataFormDataField Label="Arbeitsplatz:" DataMemberBinding="{Binding Verb1, Mode=TwoWay}" Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Stretch" Margin="0,10,0,0" Name="Arbeitsplatz_txt" />
                                                <telerik:DataFormDataField Label="s3-Path:" DataMemberBinding="{Binding s3Path, Mode=TwoWay}" Grid.Row="7" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Stretch" Margin="0,10,0,0" Name="S3Path_txt" />
                                                <telerik:DataFormDataField Label="Mandant-Path:" DataMemberBinding="{Binding MandPath, Mode=TwoWay}" Grid.Row="8" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Stretch" Margin="0,10,0,0" Name="MandPath_txt" />
                                            </Grid>
                                        </DataTemplate>
                                    </Grid.Resources>
                                    <telerik:RadDataForm x:Name="VerbindungForm1" Margin="10" AutoGenerateFields="False" EditEnded="VerbindungForm1_EditEnded" telerik:StyleManager.Theme="Windows8"
                                                     ReadOnlyTemplate="{StaticResource MyTemplate}" EditTemplate="{StaticResource MyEditTemplate}" NewItemTemplate="{StaticResource MyEditTemplate}"
                                                     DeletingItem="VerbindungForm1_DeletingItem"  >
                                    </telerik:RadDataForm>
                                </Grid>
                            </GroupBox>

C#
global::System.Collections.ObjectModel.ObservableCollection<Verbindungen> AlleVerbindungen = new global::System.Collections.ObjectModel.ObservableCollection<Verbindungen>();
AlleVerbindungen = Verbindungen.GetVerbindungen();
VerbindungForm1.ItemsSource = AlleVerbindungen;

ERROR:
TargetParameterCountException

System.Reflection.TargetParameterCountException wurde nicht von Benutzercode behandelt.
  Message=Parameteranzahlkonflikt.
  Source=mscorlib
  StackTrace:
       bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       bei System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
       bei System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
       bei Telerik.Windows.Data.ItemPropertyInfoExtensions.GetValue(ItemPropertyInfo itemProperty, Object item) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\ItemProperties\ItemPropertyInfoExtensions.cs:Zeile 98.
       bei Telerik.Windows.Controls.RadDataForm.PopulatePropertiesInitialValues(Object currentItem) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\Data\DataForm\RadDataForm.cs:Zeile 1019.
       bei Telerik.Windows.Controls.RadDataForm.OnCurrentItemChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\Data\DataForm\RadDataForm.cs:Zeile 944.
       bei System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       bei System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       bei System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
       bei System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
       bei System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
       bei System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       bei Telerik.Windows.Controls.RadDataForm.set_CurrentItem(Object value) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\Data\DataForm\RadDataForm.cs:Zeile 905.
       bei Telerik.Windows.Controls.RadDataForm.OnItemsCurrentChanged(Object sender, EventArgs e) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\Data\DataForm\RadDataForm.cs:Zeile 856.
       bei Telerik.Windows.Data.DataItemCollection.OnCurrentChanged(EventArgs e) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\Collections\DataItemCollection.ICollectionView.cs:Zeile 479.
       bei Telerik.Windows.Data.DataItemCollection.RaiseChangeEvents() in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\Collections\DataItemCollection.cs:Zeile 950.
       bei Telerik.Windows.Data.DataItemCollection.SetItemsSource(IEnumerable source, Type type) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\Collections\DataItemCollection.cs:Zeile 814.
       bei Telerik.Windows.Data.DataItemCollection.SetItemsSource(IEnumerable source) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\Collections\DataItemCollection.cs:Zeile 744.
       bei Telerik.Windows.Controls.RadDataForm.OnItemsSourcePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\Data\DataForm\RadDataForm.cs:Zeile 807.
       bei System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       bei System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       bei System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
       bei System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
       bei System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
       bei System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       bei Telerik.Windows.Controls.RadDataForm.set_ItemsSource(IEnumerable value) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\Data\DataForm\RadDataForm.cs:Zeile 794.
       bei ITA_Packetverwaltung.Dialog.Settings.Settings..ctor(String cursor_s) in E:\WPF_Dev\ITA-Packetverwaltung\ITA-Packetverwaltung\Dialog\Settings\Settings.xaml.cs:Zeile 60.
       bei ITA_Packetverwaltung.MainWindow.Settings_btn_Click(Object sender, RoutedEventArgs e) in E:\WPF_Dev\ITA-Packetverwaltung\ITA-Packetverwaltung\MainWindow.xaml.cs:Zeile 215.
       bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       bei System.Windows.RouteItem.InvokeHandler(RoutedEventArgs routedEventArgs)
       bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       bei System.Windows.EventRoute.InvokeHandlers(Object source, RoutedEventArgs args)
       bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       bei System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
       bei System.Windows.Controls.Primitives.ButtonBase.OnClick()
       bei System.Windows.Controls.Button.OnClick()
       bei System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
       bei System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
       bei System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       bei System.Windows.RouteItem.InvokeHandler(RoutedEventArgs routedEventArgs)
       bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       bei System.Windows.EventRoute.ReInvokeHandlers(Object source, RoutedEventArgs args)
       bei System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
       bei System.Windows.UIElement.CrackMouseButtonEventAndReRaiseEvent(DependencyObject sender, MouseButtonEventArgs e)
       bei System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
       bei System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       bei System.Windows.RouteItem.InvokeHandler(RoutedEventArgs routedEventArgs)
       bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       bei System.Windows.EventRoute.InvokeHandlers(Object source, RoutedEventArgs args)
       bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       bei System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       bei System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       bei System.Windows.Input.InputManager.ProcessStagingArea()
       bei System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       bei System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       bei System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
       bei System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       bei System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
  InnerException:

But why?
Thanks Best Regards
Rene
Ivan Ivanov
Telerik team
 answered on 18 Dec 2012
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?