Telerik Forums
UI for WPF Forum
1 answer
80 views

Hi,

I'm trying to use your cartesian 3D chart, I need to show a chart but with a line presentation (instead of surface or bar or point).

is that possible?

I'm attaching a screenshot of my needs with other 3d view component so maybe you can understand better what i'm talking about.

Dinko | Tech Support Engineer
Telerik team
 answered on 21 Dec 2016
2 answers
90 views

Hi, 

I have the license for version 2011.1.405.40. And in this version, i am getting the Animation exception whenever i move the mouse over the timebar control. Apparently it is trying to access Hand property of Cursor and it is unable to animate it over the Border control. Following is my code:

<telerik:RadTimeBar x:Name="timeBar"
                            Width="950"
                            Height="250"     
                            PeriodStart="01-01-2011"
                            PeriodEnd="01/01/2012"
                            VisiblePeriodStart="01/01/2011"
                            VisiblePeriodEnd="06/01/2011"
                            SelectionStart="02/01/2011"
                            SelectionEnd="03/01/2011"
                            MinSelectionRange="28.00:00:00"                           
                            MaxSelectionRange="31.00:00:00"                           
                            IsSnapToIntervalEnabled="True">
            <telerik:RadTimeBar.Intervals>
                <telerik:YearInterval/>
                <telerik:MonthInterval/>
                <telerik:WeekInterval/>
                <telerik:DayInterval/>
                <telerik:MinuteInterval IntervalSpans="1,10,15,30"/>
                <telerik:SecondInterval IntervalSpans="10,15,30"/>
            </telerik:RadTimeBar.Intervals>
        </telerik:RadTimeBar>

 

I have attached the image of exception as well. The newer version does not have this bug, but I cannot upgrade due to compatibility issues. I hope that there is a fix for this, disabling the animation or something like that. 
Waiting for your early response. Thanks!

Evgenia
Telerik team
 answered on 21 Dec 2016
3 answers
334 views
I seem to be having some issues with a TreeListView placed inside a Grid with a single Row with Height="*" (as indicated here http://docs.telerik.com/devtools/wpf/controls/radgridview/troubleshooting/performance), with some severe performance issues when scrolling either vertically or horizontally: TreeListCellsPanel.MeasureOverride seems to be a bottleneck, and placing a breakpoint at this method indicates that this function is called successively with availableSize equals to either {0; 26} or {+Inf, +Inf}. Adding more rows or columns makes this even worse.
Yoan
Telerik team
 answered on 21 Dec 2016
0 answers
104 views

Hi,

I could not find out how to adjust speed options of RadGridView scrollbar. Actual behaviour is that the more is scrollbar moved by mouse the speed is increased. Grid is showing complex data so scrolling with higher speeds in combination with more rows leads to scroll tearing. The more is speed the tearing is worse.

One solution is to set scrolling to be deffered, another one is to optimize columns, data bindings etc. and try result but I would like also to know how to fix speed at some pages a time or something like that.

Thank you very much.

 

Jiri
Top achievements
Rank 1
 asked on 21 Dec 2016
1 answer
67 views

If I move a shape from diagram to a container, i can attach the OnCollectionChanged() in the container to detect the moved shape. But, if I move the shap back to diagram, i dont have method to attach the change event in the diagram control. because the shape is already added in the graphsource, so the AddItem() method isnt invoked.

 

How can i detect a shape that is moved from container to diagram?

 

Thanks for a replay!

Martin Ivanov
Telerik team
 answered on 21 Dec 2016
0 answers
108 views
I want to do something like this
Ghassen
Top achievements
Rank 1
 asked on 20 Dec 2016
2 answers
91 views

The title says it all, I have a readonly gridview. In response to a button click I fire off a command in my vm to insert a new record in the bound collection. At the time this happens I need to expand the row details dataform so they can enter in the desired info. How to expand the rowdetails in this case from my viewmodel?

Thanks ... Ed

 

Randy Hompesch
Top achievements
Rank 1
 answered on 19 Dec 2016
1 answer
205 views

Hi team,

One of my users in production had an Exception today in a GridView with Aggregate function Sum.

I don't know how to reproduce it, even with his data I wasn't able to do it (none of the possible aggregations would overflow).

I use Telerik for WPF version 2015.2.728.40.

Is this a known bug for you?

Here is the stacktrace:

System.OverflowException: Arithmetic operation resulted in an overflow.
   at System.Linq.Enumerable.Sum(IEnumerable`1 source)
   at lambda_method(Closure , IGrouping`2 )
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at Telerik.Windows.Data.QueryableExtensions.Aggregate(IQueryable source, IEnumerable`1 aggregateFunctions)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.CreateAggregateResults()
   at Telerik.Windows.Controls.GridView.GridViewDataControl.OnItemsCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Controls.DataControl.OnItemsCollectionChangedDispatch(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Data.DataItemCollection.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Data.DataItemCollection.OnCollectionViewCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Data.Listener`2.ReceiveWeakEvent(Object sender, TArgs args)
   at Telerik.Windows.Data.WeakEvent.WeakListener`1.Handler(Object sender, TArgs args)
   at Telerik.Windows.Data.QueryableCollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
   at Telerik.Windows.Data.QueryableCollectionView.RefreshOverride()
   at Telerik.Windows.Data.QueryableCollectionView.RefreshOrDefer()
   at Telerik.Windows.Data.QueryableCollectionView.InvalidatePagingAndRefresh()
   at Telerik.Windows.Data.QueryableCollectionView.OnSortDescriptorsCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Data.RadObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Data.ObservableItemCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Data.RadObservableCollection`1.RaiseCollectionChangedOnResume()
   at Telerik.Windows.Data.RadObservableCollection`1.ResumeNotifications()
   at Telerik.Windows.Data.CollectionHelper.Reset(IEnumerable source, IList target, Func`2 itemConverter)
   at Telerik.Windows.Data.ObservableCollectionManager.HandleCollectionChanged(IList sender, NotifyCollectionChangedEventArgs args)
   at Telerik.Windows.Data.ObservableCollectionManager.Telerik.Windows.Data.IWeakEventListener<System.Collections.Specialized.NotifyCollectionChangedEventArgs>.ReceiveWeakEvent(Object sender, NotifyCollectionChangedEventArgs args)
   at Telerik.Windows.Data.WeakEvent.WeakListener`1.Handler(Object sender, TArgs args)
   at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Data.RadObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Data.ObservableItemCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Data.RadObservableCollection`1.RaiseCollectionChangedOnResume()
   at Telerik.Windows.Data.RadObservableCollection`1.ResumeNotifications()
   at Telerik.Windows.Controls.GridView.GridViewDataControl.PerformSorting(GridViewSortingEventArgs sortingArgs)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.<>c__DisplayClass97.<Sort>b__96()
   at Telerik.Windows.Controls.CursorManager.PerformTimeConsumingOperation(FrameworkElement frameworkElement, Action action)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.Sort(GridViewColumn column, Boolean appendToExisting)
   at Telerik.Windows.Controls.GridView.GridViewHeaderCell.RequestSort(Boolean appendToExisting)
   at Telerik.Windows.Controls.GridView.GridViewHeaderCell.PerformUserSort()
   at Telerik.Windows.Controls.GridView.GridViewHeaderCell.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

 

Thanks a lot,

Letícia Tiveron

Stefan Nenchev
Telerik team
 answered on 19 Dec 2016
13 answers
166 views
In my last post (http://www.telerik.com/forums/missing-eventargs-type) I couldn't get this event to fire without error.  After upgrading to version 2016.3.1024.45, I can't get it to fire at all.  Using the sample solution Validation_WPF, I just added a handler for the event; no joy.  I'm don't know whether you must have a custom property editor, but I do have one in my real solution, still no joy there.
Stefan
Telerik team
 answered on 19 Dec 2016
7 answers
1.8K+ views
I'm trying to set a RadMaskedTextInput as the initially focused element by using FocusManager.FocusedElement. However this is proving problematic as it is focusing the element but not putting focus into the editable area (If I press tab I get the result that I want). This issue can be reproduced with the following code:

<StackPanel FocusManager.FocusedElement="{Binding ElementName=RadMaskedTextInput}">
            <TextBox x:Name="NonTelerikTextBox"></TextBox>
            <telerik:RadMaskedTextInput x:Name="RadMaskedTextInput"/>
        </StackPanel>

It works fine for the TextBox, but not for the RadMaskedTextInput. I'd resort to sending a tab key press, but SendKeys isn't available in WPF and I don't want to PInvoking.

Any suggestions to get this working?
Petar Mladenov
Telerik team
 answered on 19 Dec 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?