Telerik Forums
UI for WPF Forum
5 answers
282 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
136 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
155 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
139 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
223 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
246 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
2 answers
132 views
Hi

I have gridview bind to List<Employee> in WPF and i have datatemplate with textbox inside gridviewrow.

-- Textbox has LostFocus Event.

-- How to access Employee entity attached to gridviewrow in LostFocus Event Handler in code behind.

-- Please provide a small code snippet for that.

Thank You.
Rama
Gautam
Top achievements
Rank 1
 answered on 20 Aug 2018
1 answer
137 views
Which version Pivot grid started with ?
Stefan
Telerik team
 answered on 20 Aug 2018
1 answer
164 views

Excuse me, 
I'm trying to use Milestone WPF player (which makes use of VideoOsPlayer) and I got an exception while removing a bounded item to the TileView itemsource.
I've created a sample project thinking the iussue would be on VideoOs player but they answered me 

Thank you for the sample. It allowed us to reproduce the issue, but unfortunately the behavior we observe is quite strange.
What appears to happen is that the DataContext on the controls we have inside the ImageViewerWpfControl are set to null by something outside our code. Our code has no code for setting these to null and no public properties allowing others to do so, so apparently Telerik is running through the children of the control and setting these?

We tried reproducing using normal WPF controls, but could not.
This is not behavior we expect/support and thus the code has not been designed for it.
One thing we found out is that if you set IsVirtualizing="False" on the Telerik control it will not cause the problem, so even though this is not optimal it is at least a workaround.
Maybe you can reach out to Telerik to ask them about this behavior?

Here you can find the whole thread with the link of the demo project

What's really strange is that setting IsVirtualizing="False" it apperently works...can you please check on your side?

I've used 2018.2.620.45 control version

Thanks in advance

 

 

Martin Ivanov
Telerik team
 answered on 20 Aug 2018
0 answers
99 views

Hello Telerik,

I have an expander inside a user control, which is inside of a raddocking's left pane. What I have done is that, I let the expander to decide the width of the docking's left side. But the problem is that as soon as I change the width of the docking manually (I drag the docking's corner to change its width), the mechanism stops, that is, the expander can not change the width of the docking anymore!

I would like to know why and how I can fix it. Any ideas?

Best Regards

kourosh

Kourosh
Top achievements
Rank 1
 asked on 20 Aug 2018
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?