| '-17' is not a valid value for property 'ViewportSize'. |
| at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal) |
| at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value) |
| at System.Windows.Controls.Primitives.ScrollBar.set_ViewportSize(Double value) |
| at Telerik.Windows.Controls.GridView.ScrollBarStateController.UpdateScrollBar(ScrollBar scrollBar, ScrollBarProperties properties) in c:\Builds\WPF_Scrum\GridView_WPF_2009_Q2_SP1\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\ScrollBarStateController.cs:line 60 |
| at Telerik.Windows.Controls.GridView.GridViewScrollViewer.UpdateScrollBars() in c:\Builds\WPF_Scrum\GridView_WPF_2009_Q2_SP1\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewScrollViewer.cs:line 503 |
| at Telerik.Windows.Controls.GridView.GridViewScrollViewer.GridViewScrollViewer_LayoutUpdated(Object sender, EventArgs e) in c:\Builds\WPF_Scrum\GridView_WPF_2009_Q2_SP1\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewScrollViewer.cs:line 534 |
| at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent() |
| at System.Windows.ContextLayoutManager.UpdateLayout() |
| at System.Windows.UIElement.UpdateLayout() |
| at System.Windows.Interop.HwndSource.SetLayoutSize() |
| at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value) |
| at System.Windows.Interop.HwndSource.set_RootVisual(Visual value) |
| at MS.Internal.Designer.DocumentOutline.ContentHolder.Initialize() |
| at MS.Internal.Designer.DocumentOutline.Intitalize() |
| at MS.Internal.Designer.DocumentOutline.get_ContentHolderControl() |
| at MS.Internal.Designer.DocumentOutline.get_Handle() |
| at MS.Internal.Designer.VSIsolatedViewFactory.VSIsolatedView.get_ViewHandle() |
| at MS.Internal.Host.Isolation.IsolatedView.get_ViewHandle() |
| at MS.Internal.Host.Isolation.IsolatedViewHolder.SetContent(IsolatedView view) |
| at MS.Internal.Designer.DesignerPane.AttachDocumentOutline() |
| at MS.Internal.Designer.DesignerPane.LoadDesignerView() |

| public ICommand TabSelectionChangedCommand { get; private set; } |
| TabSelectionChangedCommand = new DelegateCommand<object>(param => |
| { |
| SelectionChanged(param); |
| }); |
| private void SelectionChanged(object obj) |
| { stuff } |
| private void radTabControl1_SelectionChanged(object sender, System.Windows.RoutedEventArgs e) |
| { |
| FrameworkElement fe = (FrameworkElement)sender; |
| MyViewModel mvm = (MyViewModel) ((ObjectDataProvider)fe.DataContext).ObjectInstance; |
| if (mvm != null) |
| { |
| mvm.TabSelectionChangedCommand.Execute(sender); |
| } |
| } |
| |
| Dim dsBudget As New BudgetDataSet |
| Dim taDetails As New BudgetDataSetTableAdapters.DetailsTableAdapter |
| taDetails.Fill(dsBudget.Details) |
| RadGridView1.ItemsSource = dsBudget.Details.DefaultView |
| <Grid> |
| <Grid:RadGridView Name="RadGridView1" |
| AutoGenerateColumns="False" > |
| <Grid:RadGridView.Columns> |
| <Grid:GridViewDataColumn HeaderText="Category" |
| DataMemberBinding="{Binding Path=Category}" > |
| </Grid:GridViewDataColumn> |
| <Grid:GridViewDataColumn HeaderText="Company" |
| DataMemberBinding="{Binding Path=Company}" > |
| </Grid:GridViewDataColumn> |
| <Grid:GridViewDataColumn HeaderText="Amount" |
| DataMemberBinding="{Binding Path=Amount}" |
| DataFormatString="{}{0:f2}" > |
| </Grid:GridViewDataColumn> |
| <Grid:GridViewDataColumn HeaderText="Description" |
| DataMemberPath="Description" > |
| </Grid:GridViewDataColumn> |
| </Grid:RadGridView.Columns> |
| </Grid:RadGridView> |
| </Grid> |
Any insight will be greatly appreciated.
Thanks, Dan


Hello
I tried putting the 2009q2 dlls in the GAC and got the following error for the
"Telerik.Windows.Controls.Scheduler.Design.dll":
---------------------------
Assembly Cache Viewer - Install failed
---------------------------
Assembly 'Telerik.Windows.Controls.Scheduler.Design.dll' is required to be strongly named.
Hi,
I was wondering whether RadControls for WPF support UI Automation...
So I created very simple WPF application: I dragged four Rad controls on a form (RadDatePicker, RadTimePicker, RadMaskedTextBox and RadNumericUpDown). Then I assigned AutomationProperties.AutomationId for each of Rad controls (for RadDatePicker it was "datePicker", for RadTimePicker "timePicker", for RadMaskedTextBox "maskedTextBox" and for RadNumericUpDown "numUpDown").
Now in c# (in Program.cs to be precise) I written code like this (mainWindow is a AutomationElement which represents main application window):
| PropertyCondition datePickerCondition = |
| new PropertyCondition(AutomationElement.AutomationIdProperty, "datePicker"); |
| AutomationElement datePicker = |
| mainWindow.FindFirst(TreeScope.Element | TreeScope.Descendants, datePickerCondition); //It doesn't find anything |
| AutomationPattern[] datePickerPattrens = |
| datePicker.GetSupportedPatterns(); |
FindFirst method does not find anything, however It should if RadControls for WPF would support UI Automation. Out of four controls I've tested only RadNumericUpDown was found this way.
I've also checked my test application window using UISpy - only RadNumericUpDown had AutomationId properly assigned.
So my question are:
Am I doing something wrong?
If no, when will RadControls for WPF fully support UI Automation?
RadControls for WPF version used in sample application: 2009.2.701.35
Thanks for help