The documentation for RadDataBar mentions a set of 4 controls:
Number 4, RadHorizontalAxis, is what I need, but I can't find this control anywhere in R1 2017. Also no documentation on how to use it nor an example. What am I missing???
Regards
Heiko
Hello,
I have an issue about your VisualizationLayer.
I bind the layer's ItemsSource on an ObservableCollection<Element> and each Element has a Location bind on MapLayer.Location (as in your samples)
But when I clear my collection et reload all data (without manipulating the map) all my points disappear
I tried a few things like use another property with a converter for the location but it's worse then if my map is centered on the correct location all my points are in lat :0, lng : 0 and if the map isn't centered on the location (the view doesn't show the location) my points are correctly loaded when I move the map on the correct location
I only use your sample and adjust the collection loading or reloading
Do you see what i'm doing wrong please ?
Thank You
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Role, Converter={StaticResource conv}}"
>
<
telerik:GridViewDataColumn.AggregateFunctions
>
<
telerik:SumFunction
Caption
=
"sum:"
/>
</
telerik:GridViewDataColumn.AggregateFunctions
>
</
telerik:GridViewDataColumn
>
Hi all,
I am starting a spellchecker on a textbox createad at run time like this:
RadSpellChecker.Check(internalTextBox, SpellCheckingMode.AllAtOnce);
I see multiple threads on client/server solutions, but no help on WPF on this message "the spelling check is complete"
So how to remove or hide it, both in:
Both have almost not added value, and are very user-annoying if you call the spellcheck frequently in a loop
Any code or trick for that in WPF ?
Thanks,
Favrice
Hello!
I have a question about the Calendar that is used in the RadDateTimePicker control.
I want to know if there is a way to style the BlackoutDates?
In our application we have a calendar function where holidays etc are planned. I would like to mark these dates in a RadDateTimePicker control but I still want them to be selectable so that the users can override the planned holidays etc.
Could I use the BlackoutDates in such a way?
Thanks!
Using the online examples I've created a very basic WPF app with a radscheduleview and radlistbox. The two controls are bound to an sql database using entity framework though a the viewmodel (just like the WPF_CS/WithDB.csproj demo project).
The radlistbox is bound a Catagories source, and when the user drags an item from the radlistbox to the radscheduleview it creates a new appointment using an overridden ConvertDraggedData(). However, I want to set the new appointment to the category that is dragged over from the radListBox. It seems like no matter what I try the category is always unassigned when the new appointment shows up in the control.
Any help would be appreciated.
I have four Grids in WPF form. When i press TAB-Key the focus goes to next field as expected till the end of the first grid. Similarly on pressing Tab-key, Focus shift to all field of Grid-2, Grid-3 and Grid-4.
If i edit field-2 of Grid-2, focus is on this field and if i click on field-1 of Grid-1 and edit it, then after pressing Tab-key focus shift to next field of Grid-1, and proceeds till end of Grid-1. Here navigation works properly. But on next tab-key, the focus directly goes on field-2 of grid-2 instead of field-1.
Expected Result is the focus should be on field1- of grid-2.
Is there any property of RadGridView such that only one field is focused at a time for multiple grids in a form??
Thank you
Hi,
We have an issue with the server page loading on the gridview. When grouping on multiple fields the application crashed with an OverflowException on the IQueryable. Besides the IQueryable we are also using a custom 'PagingBeforeGroupingQueryableCollectionView' (See attachment).
After adding the second grouping, the Queryable expression is as follows:
{
value
(IdeaBlade
.EntityModel
.EntityQueryProxy
`
1
[TableX])
.Where
(t => ((
Convert
(t
.ObjectTypeID
) ==
Convert
(
Convert
(
value
(ScreenX)
.SelectedObjectType
.ObjectTypeID
))) AndAlso
value
(ScreenX+<>c__DisplayClass6)
.moduleIDs
.Contains
(t
.ModuleID
)))
.Where
(x => (((x
.DescEN
.StartsWith
(
"["
) OrElse x
.DescFR
.StartsWith
(
"["
)) OrElse x
.DescGE
.StartsWith
(
"["
)) OrElse x
.DescNL
.StartsWith
(
"["
)))
.OrderBy
(x => x
.CreationDate
)
.Take
(
100
)
.GroupBy
(item => item
.ObjectName
)
.OrderBy
(group => group
.Key
)
.Select
(group =>
new
AggregateFunctionsGroup
() {Key = group
.Key
, ItemCount = group
.Count
(), HasSubgroups = True, Items =
value
(IdeaBlade
.EntityModel
.EntityQueryProxy
`
1
[TableX])
.Where
(t => ((
Convert
(t
.ObjectTypeID
) ==
Convert
(
Convert
(
value
(ScreenX)
.SelectedObjectType
.ObjectTypeID
))) AndAlso
value
(ScreenX+<>c__DisplayClass6)
.moduleIDs
.Contains
(t
.ModuleID
)))
.Where
(x => (((x
.DescEN
.StartsWith
(
"["
) OrElse x
.DescFR
.StartsWith
(
"["
)) OrElse x
.DescGE
.StartsWith
(
"["
)) OrElse x
.DescNL
.StartsWith
(
"["
)))
.OrderBy
(x => x
.CreationDate
)
.Take
(
100
)
.Where
(item => (item
.ObjectName
== group
.Key
))
.GroupBy
(item => item
.ObjectField
)
.OrderBy
(group => group
.Key
)
.Select
(group =>
new
AggregateFunctionsGroup
() {Key = group
.Key
, ItemCount = group
.Count
(), HasSubgroups = False, Items = group})})}
Statement results in "An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll"
I attached some Images with some more information.
Hi Guys,
My application uses gridview to hold latest 5000 records to be displayed, if new records is coming (per second), it will be added to index 0, and the oldest will be removed from ObservableCollection. Below are the sample codes:
public ObservableCollection<EventHistory> ColDataSource {get;set;}
private void Update(OnEventReportInput input)
{
var history = new EventHistory();
ColDataSource.Insert(0, history);
if (ColDataSource.Count > 5000)
{
ColDataSource.RemoveAt(ColDataSource.Count - 1);
}
}
in most times, it works fine as my expected, but some times(randomly), my application is crashed caused by below excetion:
2016-04-29 09:41:11,270 [1] ERROR Error - Application crashed | [InvalidOperationException] System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at System.Collections.Generic.List`1.Enumerator.MoveNext()
at Telerik.Windows.Data.KeyedCollection.RefreshKeyDictionary()
at Telerik.Windows.Data.KeyedCollection.IndexOf(Object value)
at Telerik.Windows.Data.QueryableCollectionView.InternalIndexOf(Object item)
at Telerik.Windows.Data.QueryableCollectionView.IndexOf(Object item)
at Telerik.Windows.Data.Selection.ItemSelectionHandler.ScheduleForDeselectionAllNonExistentItems()
at Telerik.Windows.Data.Selection.ItemSelectionHandler.DeselectAllNonExistentItems()
at Telerik.Windows.Data.Selection.ItemSelectionHandler.HandleItemsReset()
at Telerik.Windows.Data.Selection.ItemSelectionHandler.HandleItemsChanged(NotifyCollectionChangedEventArgs itemsChangedArguments)
at Telerik.Windows.Controls.GridView.Selection.CompositeSelectionHandler.OnOwnerItemsCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
at Telerik.Windows.Controls.GridView.Selection.CompositeSelectionHandler.<>c__DisplayClassa.<OnOwnerItemsCollectionChangedDispatch>b__8()
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)
2016-04-29 09:41:11,398 [1] ERROR Error - Application crashed | [InvalidOperationException] System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at System.Collections.Generic.List`1.Enumerator.MoveNext()
at Telerik.Windows.Data.KeyedCollection.RefreshKeyDictionary()
at Telerik.Windows.Data.KeyedCollection.IndexOf(Object value)
at Telerik.Windows.Data.QueryableCollectionView.InternalIndexOf(Object item)
at Telerik.Windows.Data.QueryableCollectionView.IndexOf(Object item)
at Telerik.Windows.Data.Selection.ItemSelectionHandler.ScheduleForDeselectionAllNonExistentItems()
at Telerik.Windows.Data.Selection.ItemSelectionHandler.DeselectAllNonExistentItems()
at Telerik.Windows.Data.Selection.ItemSelectionHandler.HandleItemsReset()
at Telerik.Windows.Data.Selection.ItemSelectionHandler.HandleItemsChanged(NotifyCollectionChangedEventArgs itemsChangedArguments)
at Telerik.Windows.Controls.GridView.Selection.CompositeSelectionHandler.OnOwnerItemsCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
at Telerik.Windows.Controls.GridView.Selection.CompositeSelectionHandler.<>c__DisplayClassa.<OnOwnerItemsCollectionChangedDispatch>b__8()
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)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext 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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(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 System.Windows.Application.Run()
at SevenSwords.Gui.App.Main()
This crash occurs randomly per 3 or 4 hours, the only clue I could find from log is gridview, hope can get help from your guys!
Thanks!