
I have a RadCartesianChart with a DateTimeContinuousAxis.
Is it possible to specify a zoom level based on a timespan?
So that I only see 10 minutes of the chart - even when adding more data. And off course being able to pan through the rest of the chart.
/Flemming Rosenbrandt
Hi,
I have the following RadGridView where its ItemsSource which is bound to a collection that its item is inherited from DynamicObject.
As shown in the screenshot, how can i prevent the column name with "." being truncated in TryGetMember() method?
<telerik:RadGridView Grid.Row="1" Margin="4" GroupRenderMode="Flat" ShowGroupPanel="False" RowIndicatorVisibility="Collapsed" CanUserFreezeColumns="False" ItemsSource="{Binding TestResultRecords, Mode=OneWay}" AutoGenerateColumns="True" IsReadOnly="True" CanUserReorderColumns ="False" CanUserInsertRows="False" CanUserDeleteRows="False" behavior:MyScrollIntoViewAsyncBehavior.IsEnabled="{Binding IsScrollToView, Mode=OneWay}"> <telerik:RadGridView.SortDescriptors> <telerik:SortDescriptor Member="{x:Static res:UIStringTable.DutCnt}" SortDirection="Ascending" /> </telerik:RadGridView.SortDescriptors></telerik:RadGridView>
TestResultRecords = new ObservableCollection<VolatileDynamicColRecord>();m_TestRecord = new VolatileDynamicColRecord();m_TestRecord["Sweep Voltage1-@2.5mA(V)"] = 1234m_TestRecord["Sweep Voltage1-@2.8mA(V)"] = 5678m_TestRecord["Sweep Voltage1-Item3(V)"] = 2.74353TestResultRecords.Add(m_TestRecord);
public class VolatileDynamicColRecord : DynamicObject, INotifyPropertyChanged { private readonly IDictionary<string, object> m_Data; public VolatileDynamicColRecord() { m_Data = new Dictionary<string, object>(); } public VolatileDynamicColRecord(IDictionary<string, object> source) { m_Data = source; } public override IEnumerable<string> GetDynamicMemberNames() { return m_Data.Keys; } public IEnumerable<object> GetDynamicMemberValues() { return m_Data.Values; } public override bool TryGetMember(GetMemberBinder binder, out object result) { // Note: when column name contains ".", the text after "." will be truncated. result = this[binder.Name]; return result != null ? true : false; } public override bool TrySetMember(SetMemberBinder binder, object value) { if (this[binder.Name] == null) { return false; } this[binder.Name] = value; return true; } public object this[string columnName] { get { if (m_Data.ContainsKey(columnName)) { return m_Data[columnName]; } return null; } set { if (!m_Data.ContainsKey(columnName)) { m_Data.Add(columnName, value); OnPropertyChanged(columnName); } else { if (m_Data[columnName] != value) { m_Data[columnName] = value; OnPropertyChanged(columnName); } } } } private void OnPropertyChanged(string propertyName) { if (PropertyChanged != null) { PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } #region INotifyPropertyChanged Members public event PropertyChangedEventHandler PropertyChanged; #endregion

Hi to all,
I don't understand wich property I have to set a not-editable combobox.
I've attached view in readonly-mode also. I hope it is clarifier.
I tryed with trigger and set IsReadOnly property, but ComboBox is still editable (I can't edit, but I can selected by dropdown)
01.<Style x:Key="FieldLongComboBoxStyle" TargetType="telerik:RadComboBox" BasedOn="{StaticResource RadComboBoxStyle}">02. <Setter Property="Margin" Value="5"/>03. <Setter Property="IsEditable" Value="True"/>04. <Setter Property="ClearSelectionButtonVisibility" Value="Visible"/>05. <Setter Property="ClearSelectionButtonContent" Value="Cancella selezione"/>06. <Setter Property="TextSearchMode" Value="StartsWith"/>07. <Setter Property="EmptyText" Value="Valore non selezionato"/>08. <Setter Property="Width" Value="200"/>09. <Setter Property="HorizontalAlignment" Value="Left"/>10. <Style.Triggers>11. <DataTrigger Binding="{Binding CantUpdateModel}" Value="True">12. <Setter Property="IsReadOnly" Value="True"/>13. </DataTrigger>14. <DataTrigger Binding="{Binding CantUpdateModel}" Value="False">15. <Setter Property="IsReadOnly" Value="False"/>16. </DataTrigger>17. </Style.Triggers>18. </Style>Hi to all,
I created a RadWindow that contains WebBrowser control.
Simply, I execute Navigate method in Loaded event of RadWindow
It navigates to local url http://mylocalserver:8090/blablabla
When I open the window it appers empy, but if view HTML source is full, moreover, if I try to printer preview appers all content of webpage.
Are there problems between RadWindow control and WebBrowser?
PS: I tryed to exec InvalidateLayout method of RadWindow, but without resolve.
<telerik:RadWindow x:Class="Brema.Client.Helpers.BlogViewer" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" Header="Aiuto in linea" Height="640" Width="480" WindowStartupLocation="CenterScreen" Style="{StaticResource RadWindowStyle}"> <Grid> <WebBrowser x:Name="MainWebBrowser" /> </Grid></telerik:RadWindow>Hello,
I am refering to this documentation http://docs.telerik.com/devtools/wpf/api/html/P_Telerik_Windows_Controls_RadComboBox_TextInputString.htm
I want to get the InputString. I have updated the dll to version 2016.3.914 but still I could not find the property in XAML.
Could someone tell me what have I done wrong?
Hello,
when in edit mode with a row validation error it is still possible to perform Drag&Drop operations. They are not visible while performing the Drop, but the rows will be sorted just after clearing the row validation error.
Greeting
Raul
I have the following property in my ViewModel:
public double? MinimalValue{ get { return this._minimalValue; } set { this.SetProperty(ref this._minimalValue, value); }}In XAML I try to bind RadNumericUpDown.Value property to abovementioned property in the following way:
<telerik:RadNumericUpDown Grid.Row="0" Grid.Column="1" Height="30" Margin="0 30 10 0" IsEditable="True" Value="{Binding MinimalValue, Mode=TwoWay}"/>But the following error occurs: 'Value' local property is applied only to the types that are derivative from 'RadRangeBase'. So can I bind RadNumericUpDown.Value property to the property in my ViewModel or not?