We are binding data collections to a ChartView. The data collections contain measurements taken over a period of time. Those time periods (currently) are four hours, one day, one week and one month.
When the user chooses a different time period, we refresh the collection and change some of the chart properties to make more sense (LabelFormat, LabelInterval). But because the number of measurements can vary the LabelInterval may end up causing the last gridpoint to not have a label. (I have attached screenshots of a sample showing month, week, day, and four hour renderings.
Is there any way to force the last label to show no matter how many datapoints there are?
<telerik:RadCartesianChart x:Name="radChart" Margin="0,0,0,0" Height="340"> <telerik:RadCartesianChart.HorizontalAxis> <telerik:DateTimeContinuousAxis LabelInterval="{Binding ChartSettingsViewModel.LabelInterval}" LabelFormat="{Binding ChartSettingsViewModel.LabelFormat}" PlotMode="OnTicksPadded" > </telerik:DateTimeContinuousAxis> </telerik:RadCartesianChart.HorizontalAxis> <telerik:RadCartesianChart.VerticalAxis> <telerik:LinearAxis Title="{Binding SeriesTitle}"> </telerik:LinearAxis> </telerik:RadCartesianChart.VerticalAxis> <telerik:RadCartesianChart.Grid> <telerik:CartesianChartGrid MajorLinesVisibility="Y" MajorYLineDashArray="3,4" StripLinesVisibility="Y" /> </telerik:RadCartesianChart.Grid> <telerik:RadCartesianChart.Series> <chartView:LineSeries ItemsSource="{Binding Measurements}" Stroke="{Binding LineColor}"> <chartView:LineSeries.ValueBinding> <telerik:PropertyNameDataPointBinding PropertyName="Value"/> </chartView:LineSeries.ValueBinding> <chartView:LineSeries.CategoryBinding> <telerik:PropertyNameDataPointBinding PropertyName="LocalDateTime"/> </chartView:LineSeries.CategoryBinding> </chartView:LineSeries> </telerik:RadCartesianChart.Series></telerik:RadCartesianChart>
Hi,
I'm using the RadImageEditorUI control and when i click on the resize tool (or CanvasResizeTool) appears settings panel and indicates the size that the image will have. I do not know where that value comes from, but it does not fit the actual size of the image when I save it to a local file. I Use the same format / parameter to load the image and to save it to disk (tiff extension). I can think of two solutions: correct the value, or hide it (along with his label). And I tried to do the second option since it seems simpler, but I have not found the form. Could you help me?
Thank you
<telerik:RadImageEditorUI.ImageToolsSections>
<telerik:ImageToolsSection telerik:LocalizationManager.ResourceKey="ImageEditor_Transform">
<telerik:ImageToolItem ImageKey="Resize" telerik:LocalizationManager.ResourceKey="ImageEditor_Resize"
Command="commands:ImageEditorRoutedCommands.ExecuteTool">
<telerik:ImageToolItem.CommandParameter>
<tools:ResizeTool x:Name="resizeTool"/>
</telerik:ImageToolItem.CommandParameter>
</telerik:ImageToolItem>
<telerik:ImageToolItem ImageKey="Resize" telerik:LocalizationManager.ResourceKey="ImageEditor_CanvasResize"
Command="commands:ImageEditorRoutedCommands.ExecuteTool">
<telerik:ImageToolItem.CommandParameter>
<tools:CanvasResizeTool />
</telerik:ImageToolItem.CommandParameter>
</telerik:ImageToolItem>
</telerik:ImageToolsSection>
</telerik:RadImageEditorUI.ImageToolsSections>
</telerik:RadImageEditorUI>
Hello,
I only want to display the first page of a PDF document. In addition, the vertical scrollbar should be permanently invisible. Is that possible?
Hello,
I have 3 columns in my grid and need data validations in the first column.
I'm currently trying to achieve this through IDataErrorInfo.
I'm trying to trigger validation for all cells in the column when any one of the cells is updated or any row is added/deleted.
So far i could not see any generic method to make this work.
From this https://www.telerik.com/forums/trigger-grid-view-validation there is no way to do this?
Any help is appreciated.

Hi.
I will remove X close button from RadDocking , I tried different suggestion from web but the button still here. Can you please help me with this.

I'm using version 2018.1.122.45 of RadGridView. I'm trying to remove the validation red border for the row.
I've tried everything possible by coping the entire fluent theme and changing everything to no success. It seems this border is in the adorner layer.
Can you please provide me some direction on how to remove this border please?
Greeting,
I am currently working on an MVVM application using a Radgridview to present information to the user. The data I have to present is in the form of a table (2D array) that I load from .CSV file. Since the number of column changes depending on the loaded file, I use a DataTable and then bind it to my RadGridView with AutoGeneratingColumn. Up to there everything works fine. The problem I have is that there is 2 columns in the DataTable that are always present and that I want to bind to a preexisting column inside the grid. As you can see in the following code snippet, my 2 columns are called IsUsed (a boolean) and Status (also a bool)
<telerik:GridViewCheckBoxColumn Name="colTest" AutoSelectOnEdit="True" DataMemberBinding="{Binding IsUsed, Mode=TwoWay}" EditTriggers="CellClick"> <telerik:GridViewCheckBoxColumn.EditorStyle> <Style BasedOn="{StaticResource GridViewCheckBoxStyle}" TargetType="telerik:GridViewCheckBox"> <Setter Property="Background" Value="{Binding Status, Converter={StaticResource BooltoColorConverter}}" /> </Style> </telerik:GridViewCheckBoxColumn.EditorStyle> </telerik:GridViewCheckBoxColumn>
Currently the columns are auto generated and the predefined binding does not work. Is there a way to do this binding? I tried intercepting the AutoGenerating event but I don't know what to do from there.
Thank you and have a great day!
I'm not able to use german date format to filter my grid.
I've got a project that is set to german culture using
var Culture = new CultureInfo("de-DE");//Culture.DateTimeFormat = DateTimeFormatInfo.CurrentInfo; // No effect on datetime parsing
Thread.CurrentThread.CurrentCulture = Culture;Thread.CurrentThread.CurrentUICulture = Culture;This is done in App.cs. Interestingly enough these options alone don't change the language of the grid, I have to add the following to my window:
this.Language = XmlLanguage.GetLanguage(CultureInfo.CurrentCulture.IetfLanguageTag);
So now the grid's in german and I'm trying to filter the Column "DateTime". After adding the data I'm using this code:
MyGrid.FilterDescriptors.Add(new Telerik.Windows.Data.FilterDescriptor("DateTime", Windows.Data.FilterOperator.IsEqualTo, "31.01.2018"));
Which throws an exception because obviously the Date "31.01.2018" can not be parsed.
Funny: Switching the month and day (without changing periods to slashes) works:
MyGrid.FilterDescriptors.Add(new Telerik.Windows.Data.FilterDescriptor("DateTime", Windows.Data.FilterOperator.IsEqualTo, "01.31.2018"));

Adding a datatemplate to a listbox seems to break the automatic "startswith" search. I was hoping that overriding ToString() might help, but it doesn't seem to.
Can anybody point me in the right direction?
Thanks
class ItemVM
{
public StyleDefinition Style { get; set; }
public string TagText { get; set; }
public override string ToString()
{
return Style.Description;
}
}
<telerik:RadListBox
SelectionMode="Single"
TextSearchMode="StartsWith">
<telerik:RadListBox.ItemTemplate>
<DataTemplate>
<DockPanel>
<TextBlock Text="{Binding Style.DisplayName}" />
<TextBlock Text="{Binding TagText}" HorizontalAlignment="Right"/>
</DockPanel>
</DataTemplate>
</telerik:RadListBox.ItemTemplate>
</telerik:RadListBox>