Telerik Forums
UI for WPF Forum
1 answer
193 views

In our app.xaml.cs we have been using this.MainWindow = new MyMainWindow().

We are trying to switch to a RadTabbedWindow, but RadTabbedWindow is not a Window, it is a UserControl.  What would be a way to use this and keep the this.MainWIndow?

WPF TabbedWindow - Getting Started - Telerik UI for WPF

Dilyan Traykov
Telerik team
 answered on 24 Nov 2022
0 answers
196 views

Hello,

In our application, we need to add header to each pages when exporting the grid(RadGridView) into the workbook using ExportToWorkBook
I tried to use the option mentioned in "https://docs.telerik.com/devtools/document-processing/libraries/radspreadprocessing/features/headers-and-footers#headerfootersection" to fix this, but it is not work as expected.

Please see the attached image of our requirement and provide information on how to achieve this ?

Thanks in advance.



Monica
Top achievements
Rank 1
 asked on 24 Nov 2022
3 answers
263 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
184 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
221 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
131 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
122 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
359 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
276 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
153 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
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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?