Telerik Forums
UI for WPF Forum
1 answer
40 views
We use a Telerik via NuGet packages.  All of our developers have followed Telerik's instructions to build by putting our license files in our personal folders here.

%appdata%/telerik 

This all works just fine.

However our nightly build is performed by a service account.  Where do I put the telerik-license.txt file for that?  I do not want to add it to the project.   

Is there some global folder -- available to ALL users -- that the Telerik build process can copy it from?  Something not  local to the current user like %appdata%?
Martin Ivanov
Telerik team
 answered on 05 Jun 2025
1 answer
34 views

Hi,

I encountered the same issue as this - https://www.telerik.com/forums/radopenfolderdialog-is-super-slow

May I ask if there is any solution to date?

Regards

Martin Ivanov
Telerik team
 answered on 29 May 2025
0 answers
21 views

I want to customize GroupDescription to meet our needs. Here is the `EquipmentGroupDescription` class: public class EquipmentGroupDescription : GroupDescription { public override object GroupNameFromItem(object item, int level, CultureInfo culture) { var experiment = item as Experiment; if (experiment == null) return null; return experiment.EquipmentID; } } The `Experiment` class inherits from `Appointment`: public class Experiment : Appointment { public string ID { get; set; } public string Name { get; set; } public string EquipmentName { get; set; } public Guid EquipmentID { get; set; } } I need to group `Experiment` by `EquipmentID` and `DateTime`. Here is the XAML: <telerik:RadScheduleView x:Name="scheduler" ActiveViewDefinitionIndex="1" FirstVisibleTime="12:00" GroupDescriptionsSource="{Binding CustomGroupDescriptions}" AppointmentsSource="{Binding Experiments}"> <telerik:RadScheduleView.GroupHeaderContentTemplate> <DataTemplate> <TextBlock Text="{Binding}" Foreground="White" FontWeight="Bold"/> </DataTemplate> </telerik:RadScheduleView.GroupHeaderContentTemplate> <telerik:RadScheduleView.AppointmentItemContentTemplate> <DataTemplate> <StackPanel> <TextBlock Text="{Binding Appointment.Name}" FontWeight="Bold" Foreground="White"/> <TextBlock Text="{Binding Appointment.EquipmentName}" Foreground="#DDD"/> </StackPanel> </DataTemplate> </telerik:RadScheduleView.AppointmentItemContentTemplate> <telerik:RadScheduleView.ViewDefinitions> <telerik:DayViewDefinition /> <telerik:WeekViewDefinition /> <telerik:MonthViewDefinition /> <telerik:TimelineViewDefinition DayStartTime="08:00" /> </telerik:RadScheduleView.ViewDefinitions> </telerik:RadScheduleView> ``` In the ViewModel,

private readonly Guid pivot1 = Guid.NewGuid();
private readonly Guid pivot2 = Guid.NewGuid();

 

var items = LoadAppointmentsSource();
Experiments = items.ToObservableCollection();
CustomGroupDescriptions = new ObservableCollection<EquipmentGroupDescription>
    {
        new EquipmentGroupDescription()
    };

 

private IEnumerable<Experiment> LoadAppointmentsSource()
{
    var items = new List<Experiment>
    {
        new Experiment()
        {
            Subject="1",
            Name="K Experiment 1",
            EquipmentID=pivot1,
            EquipmentName="Pivot",
            Start=DateTime.Today.AddDays(1).AddHours(12),
            End=DateTime.Today.AddDays(1).AddHours(13)
        },
        new Experiment()
        {
            Subject="2",
            Name="K Experiment 2",
            EquipmentID=pivot2,
            EquipmentName="Pivot",
            Start=DateTime.Today.AddDays(1).AddHours(12),
            End=DateTime.Today.AddDays(1).AddHours(13)
        },
    };
    var firstDate = items.Min(new Func<Experiment, DateTime>(p => p.Start.Date));

    var firstDay = CultureInfo.CurrentCulture.DateTimeFormat.FirstDayOfWeek;
    var dayOfWeekNumber = (int)DateTime.Today.DayOfWeek == 0 ? 7 : (int)DateTime.Today.DayOfWeek;
    var firstDayOfCurrentWeek = DateTime.Today.Subtract(TimeSpan.FromDays(dayOfWeekNumber - (int)firstDay));

    var offset = firstDayOfCurrentWeek - firstDate;

    foreach (var item in items)
    {
        item.Start += offset;
        item.End += offset;
    }

    return items;
}

private ObservableCollection<Experiment> experiments;

public ObservableCollection<Experiment> Experiments
{
    get { return experiments; }
    set
    {
        experiments = value;
        OnPropertyChanged();
    }
}

private ObservableCollection<EquipmentGroupDescription> customGroupDescriptions;

public ObservableCollection<EquipmentGroupDescription> CustomGroupDescriptions
{
    get { return customGroupDescriptions; }
    set
    {
        customGroupDescriptions = value;
        OnPropertyChanged();
    }
}

the Telerik version used is 2022.3.912.310. During debugging, I found that `GroupDescriptionsSource`

contains two objects: `EquipmentGroupDescription` and `DatetimeGroupDescription`.

However, `EquipmentGroupDescription` has 0 items in `GroupNames`, and its `GroupNameFromItem`

method is never called.

Jeffrey
Top achievements
Rank 1
Iron
 updated question on 29 May 2025
0 answers
25 views

I currently have an RadAutoCompelteBox similar to this:

        <telerik:RadAutoCompleteBox  x:Name="MyGrid"
                                 KeyDown="OnSearchBoxKeyDown"
                                 SearchTextChanged="OnSearchTextChanged"
                                 ItemsSource="{Binding Source={StaticResource ViewModel}}, Path=Data.MyData"
                                 SelectionMode="Single"
                                 DisplayMemberPath="Display"
                                 TextSearchPath="MyNumber"
                                 SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
                                 SearchText="{Binding SearchText, Mode=TwoWay}"
                                 TextSearchMode="Contains"
                                 DropDownItemTemplate="{StaticResource MyDropDownTemplate}">
            <telerik:RadAutoComplete.FilteringBehavior>
                <telerik:AsyncFilteringBehavior/>
            </telerik:RadAutoComplete.FilteringBehavior>
        </telerik:RadAutoCompleteBox>

What is happening is this.
View the view loads we load the selected item has it has a value. (Say "123456").

When the user clicks on the autocompeltebox the whole selection highlights. (That's fine)
User then clicks it a second time and the cursor is then at the end of the 6 in my example.
User then clicks backspace and the entire selection clears out. 

At that point why would it not just remove the 6?


        private void OnSearchTextChanged(object sender, EventArgs e)
        {
            // Try to capture this and do what I want.
        }

I've tried to use this method to achieve what I want to happen, however the EventArgs is always empty.

How can I accomplish this? (I want the backspace to clear one character at a time)

I will note that we have other AutoCompleteBoxes that work as intended the only difference between those ones and this one is that the ones that work have all the data loaded up front in the ItemsSource.
This one we are searching the DB for the data as the user types.

James
Top achievements
Rank 1
 updated question on 27 May 2025
1 answer
27 views

I just found a 15 year old post about RadComboBox filtering and virtualization not working

I cant understand why this hasn't been fixed yet ? 

GridView supports filtering and virtualization, so it's not like you dont know how to fix it.

 

You ESPECIALLY need virtualization AND filtering when you have 1000+ elements in your ComboBox like i do, 

we have a list of 3000 companies that i want to use in a selector...

it's only after completly abandonding RadComboBox and using the RadAutocompleterBox that i was able to achieve what i wanted - kind of. 

 

Could you PLEASE prioritize this missing feature ?

Martin Ivanov
Telerik team
 answered on 26 May 2025
1 answer
30 views
I currently have a function grid similar to:



<telerik:RadGridView Grid.Row="2" Grid.ColumnSpan="2" x:Name="MyGridView"
                     ItemsSource="{Binding MyItems}"
                     RowIndicatorVisibility="Collapsed"
                     ShowColumnFooters="True"
                     ShowGroupPanel="False"
                     IsReadOnly="True"
                     HorizontalContentAlignment="Stretch"
                     VerticalAlignment="Top">
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding MonthDisplay}" Header="Month" Width="65">
            <telerik:GridViewDataColumn.Footer>
                <TextBlock Text="Totals:"/>
            </telerik:GridViewDataColumn.Footer>
        </telerik:GridViewDataColumn>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Column1Data}" Header="Column 1" Width="*" MinWidth="40" MaxWidth="95" DataFormatString="#,###0.##" TextAlignment="Right" FooterTextAlignment="Right">
            <telerik:GridViewDataColumn.AggregateFunctions>
                <telerik:SumFunction/>
            </telerik:GridViewDataColumn.AggregateFunctions>
        </telerik:GridViewDataColumn>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Column2Data}" Header="Column 2" Width="*" MinWidth="40" MaxWidth="95" DataFormatString="#,###0.##" TextAlignment="Right" FooterTextAlignment="Right">
            <telerik:GridViewDataColumn.AggregateFunctions>
                <telerik:SumFunction/>
            </telerik:GridViewDataColumn.AggregateFunctions>
        </telerik:GridViewDataColumn>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Column3Data}" Header="Column 3" Width="*" MinWidth="40" MaxWidth="95" DataFormatString="#,###0.##" TextAlignment="Right" FooterTextAlignment="Right">
            <telerik:GridViewDataColumn.AggregateFunctions>
                <telerik:SumFunction/>
            </telerik:GridViewDataColumn.AggregateFunctions>
        </telerik:GridViewDataColumn>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Column4Data}" Header="Column 4" Width="*" MinWidth="40" MaxWidth="95" DataFormatString="#,###0.##" TextAlignment="Right" FooterTextAlignment="Right">
            <telerik:GridViewDataColumn.AggregateFunctions>
                <telerik:SumFunction/>
            </telerik:GridViewDataColumn.AggregateFunctions>
        </telerik:GridViewDataColumn>
    </telerik:RadGridView.Columns>
</telerik:RadGridView>

So the grid would show results like:


Month	Column1	Column2	Column3	Column4
Jan	1	2	3	4
Feb	1	2	3	4
March	1	2	3	4
Totals:	3	6	9	12


What I now want to do is add another footer row so that the grid would look like:

Month	Column1	Column2	Column3	Column4
Jan	1	2	3	4
Feb	1	2	3	4
March	1	2	3	4
Totals:	3	6	9	12
Average:1	2	3	4
Is it possible to add a 2nd footer row and  if so how can I accomplish that?
Martin Ivanov
Telerik team
 answered on 26 May 2025
1 answer
42 views
Hello!

I have exactly this problem reported on this post: https://www.telerik.com/forums/selecteditem-reset-when-unloading but using RadListBox.

Do you know of any solutions other than setting DataContext explicitly? This workaround worked on some controls but not on others.
Martin Ivanov
Telerik team
 answered on 26 May 2025
2 answers
44 views

I am using the RadTimeSpanPicker to choose a duration, and I'd like to style the Clear and Close buttons to match the Run New Objective button.  How can I access the button styles?

Thanks,

Chuck

Chuck
Top achievements
Rank 1
Iron
 answered on 22 May 2025
2 answers
77 views
We build using the Telerik UI for WPF NuGet Packages from your NuGet server.  Since I updated all our Telerik NuGet package references from a 2024 version to the most current 2025 version, I am now receiving licensing messages during my build process.  A lot of licensing messages.  They tend to look like this:


17>[Telerik and Kendo UI Licensing]
17>      Telerik and Kendo UI License Key found at: C:\Users\joe\AppData\Roaming\Telerik\telerik-license.txt (UserDirectory)
17>      License issued at 2025-02-25 to j*******@g*******.com.
17>[Telerik and Kendo UI Licensing]

And they are all over the place.

Please tell me that there is a way that I can silence these messages

They make it more difficult to locate the build output lines that I am truly interested in.  I don't need this information but if it must be output I don't need it this many times.
Martin Ivanov
Telerik team
 answered on 22 May 2025
0 answers
18 views

Hi,

  I have rad grid view with Grouping along with Select checkbox (GridviewCheckboxcolum). I need below help

  1. I need to know how we can achieve Select all functionality on Grid as well ex: If i select check box column in header it has to select all the rad Gridview groups as well
  2. I also need to know how can achieve group filtering as well
  3. How we can achieve sorting with Group Names?

Thanks in advance

 

 

Jaypalsinh
Top achievements
Rank 1
 asked on 22 May 2025
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
Slider
Expander
TileList
PersistenceFramework
DataPager
TimeBar
Styling
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
CardView
DataBar
WebCam
FilePathPicker
Licensing
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?