Telerik Forums
UI for WPF Forum
1 answer
8 views
Hi Telerik,
I have 30+ columns in my RadGridView and using CellTemplate and CellEditTemplate for most of the columns.
I want to reorder a column in runtime. When I click and drag a column header to extreme right or left, the horizontal scroll bar in the RadGridView is not scrolling automatically.
Is it a default behavior? Or do we have any property to enable this feature.
Please let us know ASAP.

Thank you.

Regards,
Muhammad Azhar Shah.
Martin Ivanov
Telerik team
 answered on 22 Nov 2023
1 answer
10 views

Hello, telerik,

I tried to upgrade my old WPF apps from 2021 R3 to 2023 R3, which was based on .NET 5.0.

When running the upgrade wizrad, it says that no Telerik project found,though there are 45 projects.

OTOH my old WPF apps which has been made on .net 4.6 upgraded to 2023 R3 without problem.

So, I opened C:\Program Files (x86)\Progress\Telerik UI for WPF R3 2023\binaries folder,

but there are every .net version dll folders except .NET 5.0.

Is .NET 5.0 not supported any more or something I forget to read  ?

 

thanks.

Kang


Stenly
Telerik team
 answered on 20 Nov 2023
1 answer
10 views

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

Dimitar
Telerik team
 answered on 20 Nov 2023
5 answers
132 views
Hi,
Is it posible to modify RadDiagramConnection to draw lines with 45, 90, 135, 180 ... degrees. Something like in Paint when I want to draw line, with shift button(showed in .gif). Gif from paint show what I want to do in RadDiagram using RadDiagramConnection
Robby
Top achievements
Rank 1
 updated answer on 16 Nov 2023
1 answer
15 views

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>
But such code will not work. How to do this?
Dinko
Telerik team
 answered on 16 Nov 2023
1 answer
11 views

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

Vladislav
Telerik team
 updated answer on 16 Nov 2023
1 answer
15 views
I am using filtering with a custom DataProvider for my Virtual Grid.   Users use the popup dialog to set filter conditions.  It works well. 

I understand how to retrieve the filter descriptors from one grid and to apply them to another.  But how may I persist them?

I want to save to a text file a set of filters from VirtualGrid A.   Then, later on, I wan to  set VirtualGrid B columns to to use those same filters purely from that persisted text? 


I can see that ColumnFilterDescriptor.ToString() will give me what looks like a full  persistable filter expression.  At least it looks like a meaningful expression.  But I canntot see a method to go the other way
Dimitar
Telerik team
 answered on 14 Nov 2023
0 answers
12 views

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

 

Alessandro
Top achievements
Rank 1
 updated question on 13 Nov 2023
1 answer
24 views

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

Martin Ivanov
Telerik team
 answered on 13 Nov 2023
0 answers
18 views
I have a class (ItemTree Parent) bound to a RadPropertyGrid. The class also contains a List of it's own type (List<ItemTree> Children). Is it possible to apply the same PropertyDefinitions for both the parent and children?
Will
Top achievements
Rank 1
Iron
 asked on 10 Nov 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 3
Iron
Iron
Iron
Jie
Top achievements
Rank 2
Iron
Iron
Iron
Janko
Top achievements
Rank 1
Iron
Iron
Mahesh
Top achievements
Rank 1
Iron
Eli
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 3
Iron
Iron
Iron
Jie
Top achievements
Rank 2
Iron
Iron
Iron
Janko
Top achievements
Rank 1
Iron
Iron
Mahesh
Top achievements
Rank 1
Iron
Eli
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?