Telerik Forums
UI for WPF Forum
1 answer
213 views

I am developing a WPF (MVVM) application for weather forecasts/hindcasts using a RadMap (Bing maps underneath). I am overlaying the weather images using a VirtualizationLayer and all looks good. What I would like to do next is have a further layer with animated arrows depicting the strength/direction of the wind. Along with the weather tile images, I can also source raw data that will give me this info for a specific location. I came across a website that gives a decent example of what I am trying to achieve: https://www.windy.com/?38.307,-128.364,4 There appears to be some web component that is providing this animation. Would this be possible with a Telerik component?

regards,

Grant

 

Martin Ivanov
Telerik team
 answered on 26 Nov 2018
7 answers
490 views
Hi,
   The SDK Tooltip example (Telerik xaml-sdk-master\ChartView\WPF\Tooltip) works fine. But if I change the series from bar to line,
the tooltip will not show again.

Only change one line:
   <telerik:BarSeries CategoryBinding="Quarter" ValueBinding="Profit" />
to:
   <telerik:LineSeries CategoryBinding="Quarter" ValueBinding="Profit" />

So, how can I show simple tooltip on LineSeries or ScatterLineSeries? 

Thanks.
Martin Ivanov
Telerik team
 answered on 23 Nov 2018
5 answers
435 views

Currently, I'm trying to use Drag/Drop in my application however none of the events in relation to this are firing. Is this a known issue? If so, are there workarounds?

I've also tried to use ItemDoubleClick even which is also not getting fired. 

Please do let me know. 

TIA

Martin Ivanov
Telerik team
 answered on 23 Nov 2018
1 answer
208 views

I am going to use the footer to sum all values. 

<telerik:GridViewDataColumn.AggregateFunctions>
    <telerik:SumFunction ResultFormatString="{}{0:C2}"/>
</telerik:GridViewDataColumn.AggregateFunctions>

There are many columns, one of them I want to set the foreground color as Red.(Not all columns, just one important column)

First question: How to do it?

Second question: I saw the bottom border line of the footer is  gone. Why?

Thanks

Vladimir Stoyanov
Telerik team
 answered on 23 Nov 2018
2 answers
123 views

Hi everyone!

I use a Version 2015.1.401.40 GridView to show entries with a bool value. I want to show only entries with the bool value 'false', but keep the possibility to look at the other entries too.

So I created a Behavior for the GridView:

private RadGridView Grid
    {
      get => AssociatedObject as RadGridView;
    }
 
    protected override void OnAttached()
    {
      base.OnAttached();
      Grid.DistinctValuesLoading += Grid_DistinctValuesLoading;
      Grid.FilterOperatorsLoading += Grid_FilterOperatorsLoading;
    }
 
    private void Grid_DistinctValuesLoading(object sender, GridViewDistinctValuesLoadingEventArgs e)
    {
      e.ItemsSource = new List<bool>() { true, false };
    }
 
    private void Grid_FilterOperatorsLoading(object sender, FilterOperatorsLoadingEventArgs e)
    {
      IColumnFilterDescriptor okFilter = Grid.Columns["IsStandinSetupOK"].ColumnFilterDescriptor;
      okFilter.SuspendNotifications();
      okFilter.DistinctFilter.AddDistinctValue(false);
      okFilter.ResumeNotifications();
    }

 

And as expected only entries with the IsStandinSetupOK value 'false' are shown. But that filter is not indicated by the Icon, and the filter menu looks like there is no filter active (see screenshot). Even clicking 'Clear Filter' does nothing, to remove the filter I have to activate either the true or false filter first, THEN click 'Clear Filter'.

The GridView is filled with entries only after the filter was applied.

Any idea what I did wrong?

Best regards,

Stefan

Martin Ivanov
Telerik team
 answered on 23 Nov 2018
3 answers
215 views

Hi,

 

I have a problem showing the right editor für the properties for items inside a collection.

For RadPropertyGrid.Item I set a collaction.

The items of the collection has some EditorAttribtes set.

But at the ProbpertyGrid the Attribute is ignored.

Is there anything I can do to get this working?

 

    private void Grd_OnSelectedCellsChanged(object sender, GridViewSelectedCellsChangedEventArgs e)
    {
        PropGrid.Item = new List<Test> {new Test {Name = "N1", Number = 1}, new Test {Name = "N2", Number = 1}};
 
    }
 
 
 
public class Test
{
    public string Name { get; set; }
    [Telerik.Windows.Controls.Data.PropertyGrid.Editor(typeof(TextBlock), EditorStyle.Modal)]
    public int Number { get; set; }
}
Dinko | Tech Support Engineer
Telerik team
 answered on 22 Nov 2018
4 answers
201 views

Hi,

 

Is there a way that I can configure the selection for the TileList, so that, the user can select multiple tiles but only one tile per group?

Like the behavior of a RadioButton, for example?

 

Thanks in advance.

fernando.miranda.a400
Top achievements
Rank 1
 answered on 22 Nov 2018
8 answers
511 views

Hi,

I've been dealing with this problem for days without being able to find a solution. Here is the thing, if I put a Telerik control, say RadTabControl, in a UserControl ("UserControl A"), I can edit it with the VS designer without any problem. If I put UserControl A into another UserControl ("UserControl B"), I can see and edit UserControl B as long as I keep the designer window open. If I close the designer window and open it again, the designer would not load, and throws an exception complaining that it cannot create an instance of UserControl B. The exception hierarchy looks like this:

Exception: Cannot create an instance of "UserControl B"

 - TargetInvocationException: Exception has been thrown by the target of an invocation.

 -- XamlParseException: 'Provide value on 'System.Windows.StaticResourceExtension' threw an exception.' Line number '19' and line position '20'.

 --- Exception: Cannot find resource named 'Telerik.Windows.Controls.RadTabItem'. Resource names are case sensitive.

 

Please help me! Thanks in advance.

Dinko | Tech Support Engineer
Telerik team
 answered on 22 Nov 2018
6 answers
451 views

Hello

 

how can I set custom color to the HeaderBackground property of the RadLayoutControl (LayoutControlExpanderGroup)?

I tried similar way for setting implicit styles mechanism like setting the HeaderBackground of RadLayoutControl, but this not work:

<Style TargetType="telerik:RadLayoutControl" BasedOn="{StaticResource RadLayoutControlStyle}">
    <Setter Property="HeaderBackground" Value="Yellow" />
</Style>

 

It can not be difficult, but I do not find anything in the documentation.

Thanks for any help.

Birgit

Dinko | Tech Support Engineer
Telerik team
 answered on 22 Nov 2018
3 answers
197 views

Hi, right now I'm using the WPF GridView, and have the filter row turned on. I've turned off the filtering panel and instead selected a default filter for the user to make it simple. But my problem is that if a user has their cursor in the first filtering textbox and they hit the "tab" button, it selects the next filtering cell, rather than the next filtering textbox. They're essentially having to press tab twice to move from filter textbox to filter textbox.

 

I saw the "TabStopMode="Skip"" but that seems to only apply to the actual cells of the gridview, not the filter row. So how do I prevent having to double tab in the filter row?

Vladimir Stoyanov
Telerik team
 answered on 22 Nov 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?