Telerik Forums
UI for WPF Forum
3 answers
226 views

Hello,

I am insterested on change the RadDateTimePicker.

1. When set the control to change the minutes/seconds, the default control template shows all the possible options in buttons, a little bit annoying for the user.

The request: like Android, the user wants three numbers (hour, minute, seconds) that he can move up/down. Instead of scrolling we can use up/down arrows.

2. Add a button in the control to change 12/24 format and visibilty property for this button.

Questions:

1. Which approach do you suggest?

Override all the TimeControl template? or update tue default style ?

2. Which properties should I bind in case that I override the TimePicker to create a new template with three up down controls where each control will handle hours/minutes/seconds ?

3. Do you have any control that can set the number value with up down like Android (see attached picture)

4. For point 2, how can I add a control that will be set the date time format off the original RadTimePicker? 

I am not sure that creating a new custom control which contains the new control and telerik control will be the best approach. I want to add the control to the original one in the style.

5. Which property should be set to show 24 format. In the example you are showing a property that doesn't update the time correctly.

6. Do you have advanced examples with many styles and changes on Control Template ?

All the examples on the site are quiet simple, maybe did you get from users new examples.

 

Thanks,

This forum is so helpful.

 

Masha
Telerik team
 answered on 24 Nov 2022
0 answers
160 views

Hello,

I have a RadGridView with a model that may have some errors. In case of error, the row border is red and the row background is transparent. In this case, when having many rows with errors, the user can't know which row is selected because the blue background which indicates that the row is selected, dissapears on error.

How can I fix the Error Template to show also the error red border and the IsSelected blue background?

alex
Top achievements
Rank 2
Bronze
Iron
Iron
 asked on 24 Nov 2022
1 answer
211 views

Hello Telerik Team,

I want to access the Click event or MouseLeftButtonDown event for each Filter icon of the RadGridView Columns.

Please give us a sample application to do that.

Stenly
Telerik team
 answered on 23 Nov 2022
1 answer
112 views

Hello,

I have a RadGridView with 5,000 rows and 20 columns with virtualization enabled. I have the grid on the left side of the main window (fixed position).

I added a button.

When the user clicks the button, it will open a new window and the grid should move to the new window.

Somemehow the performance is too slow. 

As mentioned I an using virtualization, regular window, no styles and it tooks like 2-3 seconds to open the window.  The cells'  values may change but not too much. I tried to call the Show() method first and give to the window fixed width and height, also for the RadGridView but when I do the following:

window.Content = radGridView

It takes a while to skip that line. 

Do you have any advice? and/or a sample application with a similar behavior that doesn't have this performance issue? I can use it to compare with my code.

 

alex
Top achievements
Rank 2
Bronze
Iron
Iron
 updated answer on 23 Nov 2022
1 answer
111 views

HI:

I was using ICollectionView to syncronize dataform with dataGrid. Im testing RadEntityFrameworkCoreDataSource and works perfectly without the need to implement ICollectionView . (I assume it does internally). Could you give me and advise about wish one is better?

Stenly
Telerik team
 answered on 22 Nov 2022
1 answer
335 views

Just need confirmation since we are upgrading several tools to Telerik UI for WinForms R3 2022. I downloaded R3 2022 and noticed there's Bin40, Bin48, Bin50, Bin60, Bin 70 and BinNetCore. I am using .Net Framework 4.8 and created a Telerik Winform app with references to TelerikWinFormsApp17\lib\RCWF\2022.3.1109.48\Telerik.WinControls.dll.

I'm assuming I only care about the Bin48 folder, correct? We store them in a common place rather than using NuGet so I'm wanting to make sure I'm using the correct Bin folder.

Thank you,

Russ

Dilyan Traykov
Telerik team
 answered on 21 Nov 2022
1 answer
238 views

Hi,

I am having a problem where I am using a dropdownbutton with some custom controls inside the dropdowncontent area.

Whenever I click an item, the dropdowncontent stays open.  I have tried setting "IsOpen" to false but it is having no effect.

Here is my code, xaml

<telerik:RadDropDownButton x:Name="_toolsDDB" AutoOpenDelay="0:0:0.0" DropDownButtonPosition="Right" Grid.Row="1"
                       IsBackgroundVisible="False" PopupAnimation="Fade" KeepOpen="False"
                        DropDownIndicatorVisibility="Collapsed" IsOpen="{Binding ToolsIsOpen, Mode=TwoWay}"
                         telerik:RadToolTipService.Placement="Top" Margin="5" DropDownPlacement="Right"
                         telerik:RadToolTipService.ToolTipContent="{Binding GlobalStrings.ToolsStr}">

Viewmodel

        public void FunctionClickedCommandHandler(object obj)
        {
            if (_selectedFunction != null)
            {
                _selectedFunction.Command.Execute(null);

                MouseButtonEventArgs args = obj as MouseButtonEventArgs;
                if (obj != null)
                {
                    RadListBox lb = args.Source as RadListBox;
                    if (lb != null)
                        lb.SelectedIndex = -1;

                }

                ToolsIsOpen = false;
            }
        }

I tried binding to "IsOpen" because for some items clicked I need the dropdown to stay open for others I need it to close as soon as an item is clicked.  Right now, I'm just trying to get it to close with the code above.

Here is a quick video showing whats happening

  Video

Thanks for any help.

Stenly
Telerik team
 answered on 21 Nov 2022
1 answer
136 views

Hi:

I'm confused about the best approach to create a crud with Telerik and EntityFramewok 7.0. In some of your samples, I found the use of ICollectionView, but in others QueryableEntityCollectionView and in the mvm sample of RadEntityFrameworkCoreDataSource documentation I was expecting RadEntityFrameworkCoreDataSource, but instead, it uses QueryableEntityCollectionView. Could you help me to understand the differences and advantages of each approach?

Martin Ivanov
Telerik team
 answered on 18 Nov 2022
1 answer
155 views

HI:

I have this query:

 _clientes = new QueryableCollectionView(clientes.Include(c => c.PkCiudadNavigation).ToList()); and I what to change it RadEntityFrameworkCoreDataSource , how Can I Specify this include with RadEntityFrameworkCoreDataSource 

Thanks for your help

Martin Ivanov
Telerik team
 answered on 18 Nov 2022
3 answers
167 views

Hi,

using Visual Studio 2022 (latest version) is it a normal process for the upgrade project wizard, to close visual studio and try to re-open it in admin mode? When does the upgrade happen? Before it closes VS or after when trying to reopen the project? 

The issue is that, in a professional / corporate setup, I may not have admin right on my machine. My user account may be link to a user only privileges and probably tied to some Windows account license agreement use for Windows office tools (Office365, Visual Studio....). 

If I have an admin account for my machine, most likely it'll be a different account (username/password), and most likely it will not be tied to any Windows tools type licensing.

The issue here is by forcing the use of admin access for VS, we are not able to start / validate the license of Visual Studio and it results on being stuck on the validation page of Visual studio. At this point, there is nothing to do than closing VS and the project isn't updated.

The previous Telerik WPF Wizard in Visual Studio 2019 were, in my experience, a lot better than the current extensions in VS 2022. I had a lot more control over the packages used in my project and the upgrade process was seamless. 

How to upgrade a project in VS2022 without using Admin mode? What would be a manual way to do it?

 

Thank you for your help

 

Nikolay Mishev
Telerik team
 updated answer on 18 Nov 2022
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
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
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
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?