Hello
I am using
the radgridview and when adding a row I receive sometimes the following error
message:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei Telerik.Windows.Controls.GridView.GridViewDataControl.<ShowInsertRowIfNeeded>b__3f(FrameworkElement f)
bei Telerik.Windows.Controls.GridView.GridViewDataControl.<>c__DisplayClass84.<CallbackAction>b__83(FrameworkElement f)
bei Telerik.Windows.Controls.GridView.GridViewDataControl.FlatLayoutStrategy.<>c__DisplayClassfa.<ScrollRowIndexIntoView>b__f5()
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
bei System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Windows.Threading.DispatcherOperation.Invoke()
bei System.Windows.Threading.Dispatcher.ProcessQueue()
bei System.Windows.Threading.Dispatcher.WndProcHook(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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
bei MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
bei System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
bei System.Windows.Window.ShowHelper(Object booleanBox)
bei System.Windows.Window.Show()
bei System.Windows.Window.ShowDialog()
bei Telerik.Windows.Controls.InternalWindow.WindowWithNoChromeWindowHost.Open(Boolean isModal)
bei Telerik.Windows.Controls.WindowBase.ShowWindow(Boolean isModal)...
Do you know
what the source of this error message is? And even better how can I solve this
or find a solution without this error message?
Note - we
have been able to narrow it down to the following scenarios (at current time):
- the error
occurs if I add very quickly in succession new rows to the grid
- the error
occurs if the computer hard drive is maxed out and I add rows normally (not
fast)
Sincerly,
Kasar
We are using the RadSpreadsheet in one of our projects. Some of the cells will contain data that can be elaborated on. We are styling those cells to look like they contain hyperlinks and when the user clicks on the cell, an additional view is spawned with more information.
What we have not been able to acheive is changing the cursor value to 'Hand' to be more consitent with the hyperlink paradigm.
Any help is much appreciated.
It's a simple one....
How can I Programmatically insert a Hyperlink into a cell?
Thanks.​
when i was try RadImageEditor use MultiBinding , RadImageEditor was not work .
but when i was use .net Image Control. the .net image control was ok.
The same MultiBinding code in Different Control(Telerik RadImageEditor and .net Image Control)
but just .net original Image Control was ok.
sorry My engilsh,
Please Help!
Thanks!
u can view the Attach files
Hi,
I'm experiencing a weird issue with grouping in the grid. The grid is bound to a QueryableCollectionView for which I programatically set one GroupDescriptor and one SortDescriptor. The problem is that, when the view is loaded (it's a UserControl) sometimes neither the grouping nor the sorting are applied.
The order in code (if it matters) is:
1. Set the Items property (to which the grid is bound) to a QueryableCollectionView, which raises a PropertyChanged event.
2. Add a GroupDescriptor to the QueryableCollectionView
3. Add a SortDescriptor to the QueryableCollectionView
I also tried raising PropertyChanged after the steps, the same random behavior of it not working persists.
Any idea what I'm doing wrong?
An example: I have a NumericScale with a single NumericIndicator. I add 5 HexagonalNumberPosition instances to the indicator because I want to display the number "66.00". (Note: I have tried this with NumericIndicator.Format set to "F2" and ".00;.00;0" both - using the formatting described in the docs, not those exact strings). When English is the current cutlure, the gauge displays "66.00". When Spanish is the current culture, the gauge still displays "66.00". I would expect the decimal place to change with the culture. In this case is should be a comma. After peeking at the code in NumberTemplateSelector.SelectTemplate(), I created classes derived from HexagonalNumberPosition and NumberTemplateSelector just so I could break in NumberTemplateSelector.SelectTemplate(). The code (from Just Decompile) for SelectTemplate shows that a DataTemplate for each hex character is found by concatenating the digit (or symbol) passed in with ""HexagonalSevenSegs". So, the digit "7" would result in the template with the key of "HexagonalSevenSegs7" being used. (The DataTemplates being located in the Telerik.Windows.Controls.DataVisualization.xaml" file). The problem seems to be that when Spanish is the current culture, the "." is still passed into SelectTemplate() for the decimal point. Even though there is a DataTemplate for the comma character, it is never utilized for the decimal point. So, is the NumericIndicator ​supposed to display numbers using the current culture or a specific culture? Is it a bug that it is not doing so, or is this by design?
Thanks - Mitch