Hello all,
I'm using Telerik in WPF application and there are some pdf files that are not shown, the specificity of the files is that they are scanned .
Please can any one has this pb before?
Thank
I'm trying to apply command from ViewModel to events like DragDrop.DragOver.
<telerik:RadListBox>
<telerik:EventToCommandBehavior.EventBindings>
<telerik:EventBinding EventName="DragDrop.DragOver" Command="{Binding CommandCmd}"/>
</telerik:EventToCommandBehavior.EventBindings>
</telerik:RadListBox>
Hi
I attached a simple program that import a html file (with format and images) and export it.
The exported file is very different from the original, without format and without images.
Thank you
Luigi
We are trying to add the translation for the QuickAccessToolBar ribbon, but altough I have added the Identifier in our Resources. The entries remains in english.
if I select Show below the Ribbon, then some translation are applied others not:
What are we missing?
We using Telerik Version: 2022.2.815.45
We have added the identifier defined in this link in our resources:
WPF RibbonView - Localization - Telerik UI for WPF
Hello,
we have a RadGridView which we define in a .xaml file. To this grid we add a few dynamic columns via a Behavior. Our Problem now is, that the columns we defined in the .xaml-file can be filtered normaly, but the dynamicaly added columns are missing the filter icon in the column header. We tried adding a new Instance of the FilterControl which shows the filter icon, but the FilterControl does not do anything and is missing the Search Textboxes.
Can you guide us advice on what we need to do to get the filter working for those columns?
Here is the code of the Behavior we use to add the dynamic columns:
public class RadGridViewAddCustomFieldDefinitionColumnsBehavior : RadGridViewAddFieldDefinitionColumnsBehavior<CustomFieldDefinition>
{
protected override void AddFieldsColumns(
IEnumerable<CustomFieldDefinition> fieldDefinitions,
GridViewDataControl radGridView,
RadGridViewAddFieldDefinitionColumnsBehavior<CustomFieldDefinition> radGridViewAddFieldColumnsBehavior)
{
var corporationIDToNameConverter = new CorporationIDToNameConverter();
var contactIDToNameConverter = new ContactIDToNameConverter();
foreach (var customFieldDefinition in fieldDefinitions)
{
var column = new GridViewDataColumn
{
Header = customFieldDefinition.PropertyName,
UniqueName = customFieldDefinition.PropertyName,
DataMemberBinding = new Binding("CustomFields")
{
Converter = new ValueConverterChain
{
optionalDictionaryValueConverter,
},
ConverterParameter = new ValueConverterChainParameters
{
customFieldDefinition.ID,
},
},
};
switch (customFieldDefinition.FieldType)
{
case FieldType.Corporation:
SetColumnValueConverter(column, customFieldDefinition, corporationIDToNameConverter);
break;
case FieldType.Contact:
SetColumnValueConverter(column, customFieldDefinition, contactIDToNameConverter);
break;
}
CurrentFieldDefinitionColumns.Add(column);
radGridView.Columns.Add(column);
}
}
protected override void SetColumnValueConverter(
GridViewDataColumn column,
CustomFieldDefinition fieldDefinition,
IValueConverter valueConverter)
{
var converterChain = (ValueConverterChain)column.DataMemberBinding.Converter;
var valueConverterChainParameters = (ValueConverterChainParameters)column.DataMemberBinding.ConverterParameter;
converterChain.Add(valueConverter);
valueConverterChainParameters.Add(fieldDefinition.Values);
}
}
Kind regards
Benny
Hello,
please I need help to display the data of this type List<List<string>> in the component RadGridView.
Attached is a work in progress that I've started and I'm stuck.
Thanks for your help
I have the following code:
<telerik:GridViewDataColumn DataMemberBinding="{Binding CreatedBy.Name}" Header="Name"/>
<telerik:GridViewDataColumn DataMemberBinding="{Binding EventObject.TextData}" Header="User Text"/>
public UserType CreatedBy { get; set; }
public object EventObject { get; set; }
in another class:
public string TextData { get; set; }
In the first column, there is a filter icon, and it filters correctly. However, in the second column, there is no filter icon. Could you explain why this might be and how to resolve the issue?