Telerik Forums
UI for WPF Forum
7 answers
215 views
How can I display a BarSeries with a linear axis on the horizontal?

My application needs to display columns along an x axis that is fixed from 0 to 100.
Andrew
Top achievements
Rank 1
 answered on 23 Aug 2018
12 answers
2.8K+ views
I would like to create a listbox that contains checkboxes similar to this, but for WPF:

http://demos.telerik.com/aspnet-ajax/listbox/examples/functionality/checkboxes/defaultcs.aspx

Notice in this demo that you can still 'select' a single row - independent of the checkboxes.  I need to preserve that functionality.  I just want to add checkboxes next to each item that can be checked (one or more).  I also need to know how to get the checked items.

Thank you,
James DiEdwardo
Dilyan Traykov
Telerik team
 answered on 23 Aug 2018
2 answers
114 views

Hi! I have RadGridView with HierarchyChildTemplate. I use Fluent no xaml theme.

Width of expander ("Plus/Minus") button smaller than it's column and all cells seems shifted left relatively headers at same width. This width is difference between expander and it's column width.

See picture attached.

How to redefine expander's width?

Stefan
Telerik team
 answered on 23 Aug 2018
10 answers
213 views

Telerik Support,

I hate to just post an exception stack trace without being able to provide many more details, but unfortunately I'm not getting any helpful information out of the stack trace to help me track this down.

System.ArgumentOutOfRangeException: Index must be within the bounds of the List.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.Collections.Generic.List`1.Insert(Int32 index, T item)
   at Telerik.Windows.Data.KeyedCollection.Insert(Int32 index, Object value)
   at Telerik.Windows.Data.QueryableCollectionView.ProcessSynchronousCollectionChanged(NotifyCollectionChangedEventArgs args)
   at Telerik.Windows.Data.QueryableCollectionView.ProcessCollectionChanged(NotifyCollectionChangedEventArgs args)
   at Telerik.Windows.Data.QueryableCollectionView.OnSourceCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
   at Telerik.Windows.Data.QueryableCollectionView.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.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at COMPANYNAME.Data.APSSObservableItemCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.SetItem(Int32 index, T item)
   at System.Collections.ObjectModel.Collection`1.set_Item(Int32 index, T value)
   at PRODUCTNAME.AsyncReturns.<>c__DisplayClass37_0.<INTERNALMETHOD>b__0()
   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)     
intellitechcorporation
Top achievements
Rank 1
 answered on 22 Aug 2018
5 answers
235 views
I've previously asked if Telerik RadMap could add support for WMTS (https://feedback.telerik.com/Project/143/Feedback/Details/202414-map-add-support-for-wmts-map-source) but unfortunately this has not yet been scheduled for development. We now have an important customer that requires that we display maps from a WMTS source using map projection EPSG:4326

I have implemented a custom tile source (following instructions here: https://docs.telerik.com/devtools/wpf/controls/radmap/how-to/howto-custom-provider) and managed to get it to render a WMTS service successfully, provided that service supports EPSG:3857 (or EPSG:900913 aka GoogleMapsCompatible) and I use the Telerik MercatorProjection (which I think supports Web Mercator, not true Mercator projection).

When I try to use a tile source that uses EPSG:4326 which uses true Mercator projection (I think) the tiles don't appear in the correct place (although zooming in, does correctly show increasing levels of details). A typical characteristic of a 4326 tile source is that it is wider than it is high e.g. the number of tile matrix rows at any zoom level is half as many as there are columns.

The article describing how to create a custom provider talks about using "the actual projection used by the provider". I've tried to create a custom projection which would allow EPSG:4326 data to be displayed however it's not clear to me how to write a custom projection. EPSG:4326 is essentially a mercator projection so I've tried overriding Telerik's MarcatorProjection and modifying some properties (e.g. scale, offset) but without much success.

It might be possible for me to figure out the url for a zoom/x/y combination if I could understand how the MultiScaleTileSource determined which tiles to request for any given geographic area, or if I could somehow override the algorithm it uses to determine which tiles to request. Can you tell me anything about the mapping between geographic area to the tiles to request (zoom/x/y combination)?

Do you have any ideas on how I might proceed with this task? Any other pointers or suggestions would be gratefully received!

My company does have a license for DevCraft Ultimate - if I can use this in any way to get more detailed help/support please let me know.

Thanks
Pete
Martin Ivanov
Telerik team
 answered on 22 Aug 2018
2 answers
106 views

1) Populate GridView with an aggregate observable collection. (Content of this aggregation is correct / what I want, confirmed at every step.)

2) Expand one or more of properly displayed group headers.

3) Collapse same group(s).

Result:

Items that I have manipulated* remain present in the list below both groups. (Somehow not being grouped under the only two possible groups. (The descriptor is not hard coded, and should create new groups at runtime if data was different.)

 

* These customized items are modified before the GridView gets them, and not while the grid view is active. Modification includes recreating the item received from another observable collection by intercepting the modification callback. However, both the complete destruction approach and replace approach result in the same issue. (In the aggregate collection.)

 

Could this issue be related to a poorly implemented Equals, GetHashCode, or CompareTo function? I am trying to use Telerik raw instead of doing over engineered complicated things, as attempts I've made in the past result in very bad performance.

 

Thanks,

Stefan
Telerik team
 answered on 22 Aug 2018
5 answers
131 views
Hello,
I’m shifting from WinForms UI to Telerik WPF UI and I can’t find any control like WinForms Binding Navigator. After looking into documentation I found CollectionNavigator control but that’s not what I was looking for.
As per this Telerik blog (https://www.telerik.com/blogs/a-binding-navigator-in-the-xaml-world) I tried creating a WinForms like Navigator. But unfortunately it is throwing null reference exception in design time every time we try to re-build it. I have downloaded code from blog only and trying to run it. Please see the screenshot attached.

Would you please let me know if there is any control like this in Telerik WPF or if there is any solution for the code in the blog.
Thanks,
Kishan
Kishan
Top achievements
Rank 1
 answered on 22 Aug 2018
2 answers
102 views

Hello,

When using 3 RadRibbonButton of Medium size in the Fluent theme, they are displayed in 2 rows: the first row contains 2 buttons and the second one the last button.

With the Office2013, up to three medium buttons are displayed in a column.

I've tried to add RadCollapsiblePanel.SmallButtonsPerColumn="3" on the RadRibbonView definition, but it doesn't change anything.

I there a possibility to have 3 rows for the buttons in this theme?

Stefan
Telerik team
 answered on 21 Aug 2018
3 answers
183 views

I have a RadGridView with RowDetailsVisibilityMode set to "VisibleWhenSelected" and SelectionMode as "Extended". It works great when single row is selected. But when multiple rows are selected, the row details of each row will all be shown which makes the grid looks in a jumble. Is it possible to not show row detail when multiple row are selected but keep show row detail when single row is selected?

I'm using 2014.1.411.45 and MVVM. Thanks.

Stefan
Telerik team
 answered on 21 Aug 2018
1 answer
207 views

I am trying to customize the RadTimeline Control Template, however, when I simply Edit Template -> Edit a Copy the style that is created has an error without any modification.  How can I fix this? I think it could be an assembly issue, if so how can I link to the correct assembly? Thanks.

Dinko | Tech Support Engineer
Telerik team
 answered on 21 Aug 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?