Telerik Forums
UI for WPF Forum
1 answer
102 views
Hi,

I upgraded my controls to WPF Q3 2012 (2012.3.1017.40) from 2012.1.215.40.

We have a button to reset all filters at once on top of the grid. It calls 1 line of code in the on click event.
<grid>.FilterDescriptors.Clear();

It has been working forever but after the upgrade has started showing intermittent issues. It does not happen all the time. Its not machine specific.Once it happens it does not correct itself and the only option is closing the app and reopening. There is no set of steps to reproduce the issue, and it seems to be very random.

The error & stacktrace is below,
MESSAGE:Object reference not set to an instance of an object.
STACKTRACE:   MESSAGE:Object reference not set to an instance of an object. STACKTRACE:   at Telerik.Windows.Controls.Data.DataFilter.CompositeFilterViewModel.FilterViewModelCollection.get_FilterDescriptors()
   at Telerik.Windows.Controls.Data.DataFilter.CompositeFilterViewModel.FilterViewModelCollection.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.ObservableItemCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   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.ObservableItemCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.ClearItems()
   at Telerik.Windows.Data.RadObservableCollection`1.ClearItems()
   at Telerik.Windows.Data.ObservableItemCollection`1.ClearItems()
   at System.Collections.ObjectModel.Collection`1.Clear()
   at <removed [Button_Click(s,e)]>


Help!

Thanks,
Erol
Yordanka
Telerik team
 answered on 19 Dec 2012
1 answer
109 views
Hi,

is there a list with all new WPF-Controls coming up 2013?

Thanks
Best Regards
Rene
Vlad
Telerik team
 answered on 19 Dec 2012
0 answers
67 views
Hi ,

I need to display Group header at the top of the child grid, But i am not implementing any grouping here, Simply i need to display the data in the child grid with a header.
Number of records in the child grid will be shown in the header.
how can i implement this, kindly help..


Thanks
Somasekharan
Somasekharan
Top achievements
Rank 1
 asked on 19 Dec 2012
0 answers
125 views
Hello,

First to say that Telerik team did excellent job, Bravo!!!

I have used previously some of the telerik controls and it was for ASP.net, and I had no problems at all/

This time I downloaded demos as Visual Studio projects and I wanted to give it a shot about its functionality. But I reached a dead end.

Every single project when I try to run it gives me 2 errors:
Can someone just give me some information, so I can start playing with these tools :)


Thanks


1. Project File Does Not Exist
2. Error 2 The command ""C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2012\Demos\Examples\Carousel\..\..\ProjectFilesListGenerator\Compiled\ProjectFilesListGenerator.exe" /ProjectDir:'C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2012\Demos\Examples\Carousel\' /OutputFileName:FilesList.xml /FileExtensions:cs,vb,xaml,txt,xml
"C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" "C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2012\Demos\Examples\Carousel\ProjectReferencesListGenerator.proj" /target:WriteReferencesToFile /property:References="System.XAML;System;System.Data;System.Xml;System.Core;System.Xml.Linq;System.Data.DataSetExtensions;Telerik.Windows.Controls;Telerik.Windows.Controls.DataVisualization, Version=2010.1.422.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL;Telerik.Windows.Controls.Input;Telerik.Windows.Controls.Navigation;Telerik.Windows.Data;WindowsBase;PresentationCore;PresentationFramework";ProjectDir="C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2012\Demos\Examples\Carousel\\"." exited with code 1. Carousel.WPF

Wex
Top achievements
Rank 1
 asked on 18 Dec 2012
4 answers
296 views
I'm working on styling our RadDocking controls and I am having a lot of trouble finding where in the styles the border around the central items in the DocumentHost is set.  It's the last thing I need to style for this control and I need some help finding it.  What style does that border live in?
Philippe
Top achievements
Rank 1
 answered on 18 Dec 2012
10 answers
436 views
I'm working on an application that requires us to overlay UI elements on a PDF background. We're trying to use RadPDFViewer as that background, but are having a tough time getting rid of the built in scrollbars.

Our ideal situation would be for both the RadPDFViewer and an overlay canvas to be children of a scrolling container, which can be zoomed in and out as well.

Are there any tricks to this or is this not something that can be done?
Joe
Top achievements
Rank 1
 answered on 18 Dec 2012
2 answers
125 views
WPF Version: 2012.1.326.40 Framework: 4.0.30319

I have been having an issue ever since I started using the Telerik product suite, it's very rare, but it's absolutely driving me up the wall as I am absolutely dumbfounded as to what the cause is.

Every once in awhile, while navigating to a different page, I get this exception:

System.InvalidOperationException: Exception of type 'System.InvalidOperationException' was thrown.
   at Telerik.Windows.Controls.GridView.GridViewItemContainerGenerator.Remove(GeneratorPosition position, Int32 count, Boolean isRecycling)
   at Telerik.Windows.Controls.GridView.GridViewItemContainerGenerator.System.Windows.Controls.Primitives.IRecyclingItemContainerGenerator.Recycle(GeneratorPosition position, Int32 count)
   at Telerik.Windows.Controls.GridView.BaseItemsControl.ClearRelizedChildren()
   at Telerik.Windows.Controls.GridView.BaseItemsControl.SetItemContainerGenerator(GridViewItemContainerGenerator containerGenerator)
   at Telerik.Windows.Controls.GridView.BaseItemsControl.ResetItemContainerGenerator()
   at Telerik.Windows.Controls.GridView.GridViewDataControl.OnApplyTemplate()
   at System.Windows.FrameworkElement.ApplyTemplate()
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(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 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at APSSSentinel.App.Main()

This is something I have simply not been able to reproduce on a consistent basis, and something I haven't been able to isolate.  I will try to provide any other information that you need, but I just had to give posting this a shot as it is driving me insane.
intellitechcorporation
Top achievements
Rank 1
 answered on 18 Dec 2012
4 answers
206 views
Hi 
I have a property grid in my window and i want to control the property value change by an event such as ValueEditing.

Is this feature already supported?

Thanks,
Akram
Akram
Top achievements
Rank 1
 answered on 18 Dec 2012
2 answers
84 views
This is a (somewhat) obscure issue that has been driving us nuts for months now, but we finally seem to have narrowed it down. The issue is that when we used the RibbonView as a Prism region and activated RibbonTabs in that region, the RibbonTab would occasionally fail to render. What I mean by "fail to render" is that the RibbonTab would get added, but would be completely empty; just a blank, grey tab.

We fought this for months assuming that we had a bug somewhere in our region management code. The problem even went away for some unknown reason, but came back just this week. After scratching our heads for a while, we figured out that if we set IsAutoSize=False on all our RadRibbon elements and made sure to set Size=<somevalue> then the problem would go away. If we tried to use auto-sizing then the problem would come back and even get worse as we made more and more elements use auto-sizing.

This appears to be a similar issue: http://www.telerik.com/community/forums/wpf/ribbonview/ribbongroups-not-visible-issue.aspx

So the good news is that we figured out a viable work-around. The bad news is that there appears to be an issue with how size is calculated. I'm sure the folks at Telerik can whip up their own sample to see what's happening. Meanwhile, we're just glad to have identified a solution that will let us roll into production.

Greg
Greg
Top achievements
Rank 1
 answered on 18 Dec 2012
1 answer
133 views
Hi,

if I select a Row the Indicator doesn´t change!
The Arrow remains in the first-row any suggestions?

regards
Yoan
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?