Telerik Forums
UI for WinForms Forum
1 answer
11 views

I have a RadPageView in Strip mode with 18 tabs on it.

When the form is created I set the tabs to two rows, with 9 on each row, using this approach:

As the form is resized, I recalculate and set the width of the tabs (RadPageViewPage.ItemSize) so that they will continue to fit.

When I resize the form by dragging this works - the tabs resize and I can see all 9 on each row.

However, when I minimize/maximize the form the tabs are not resized (although I can see that the sizes are set correctly). If I hide and then reshow the application (by clicking on the icon in the taskbar) then I see the sizes are again set (to the same value) and this time they are redrawn, so show correctly.

Maximized (new width set but tabs aren't redrawn):


Hide then show (no other changes - the widths are set but to the same values as in the above image):

Similarly...

Minimize (new width set but tabs aren't redrawn, so they overflow to the right):



Hide then show (no other changes - the widths are set but to the same values as in the above image):



I have tried calling Refresh() on the RadPageView control and the RadPageViewStripElement, but to no avail.

So, is there any way to force the tabs to be redrawn when I set the new width?

Or is there an alternative solution?

Nadya | Tech Support Engineer
Telerik team
 answered on 24 Apr 2025
1 answer
20 views
We have a screen with two RadPageViews side by side. We need to allow page items to be reordered within each page view AND to allow page items to be dragged between the two page views.

We have implemented the dragging between the two page views using this approach: https://www.telerik.com/forums/dragdrop-between-radpageviews

However, when we set the ItemDragMode to facilitate the reordering it has no effect. https://docs.telerik.com/devtools/winforms/controls/pageview/drag-and-drop/radpageviewdragdropservice

Is it possible to get these two behaviours to work at the same time?
Dinko | Tech Support Engineer
Telerik team
 answered on 27 Feb 2025
3 answers
70 views

Hi, I am customizing the theme VisualStudio2022Light. I have changed the purple color to the teal. However, I am not able to change the background and selected row in the theme.

 

When I run my application, it is still in purple.

I found a similar issue where I couldn't find where I can change the close button during click in the RadForm.

Henri
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 01 Aug 2024
1 answer
47 views

Hi,

When I "left click" on a header of a page, the page is changed before I release the mouse click.

Also, when right clicking it's selecting/unselecting a page, it looks strange.

Before I override many things, how would you do to change this behavior in a clean way? We won't deactivate right-click because we do have context menu to save the opening tab on new view show.

Thanks a lot in advance!

Simon

 

 

Nadya | Tech Support Engineer
Telerik team
 answered on 16 Jul 2024
14 answers
519 views
I have a RadPageView (DetailTabControl).  I want to change the strip item's back color to red under some condition.  Then I might need to change it back.  I figured out how to change it to red.  Restoring the prior values does not restore the tab as I expected.  The back color (which I caught before setting to Red, ARGB(255, 191, 219, 255)) is for that of the PageView, not the PageViewPage.  Please see attached images.

public class Globals
{
public static Color DefaultTabColor = Color.FromArgb(255, 191, 219, 255);
}
...
private void CancelTab(int offset)
{
     DetailTabControl.Pages[offset].Item.DrawFill = true;
     DetailTabControl.Pages[offset].Item.NumberOfColors = 1;
     DetailTabControl.Pages[offset].Item.BackColor = Color.Red;   
}
private void UncancelTab(int offset)
{
     DetailTabControl.Pages[offset].Item.BackColor = Globals.DefaultTabColor;
     DetailTabControl.Pages[offset].Item.NumberOfColors = 2;
     DetailTabControl.Pages[offset].Item.DrawFill = false;
}

Álvaro
Top achievements
Rank 1
Iron
Iron
 answered on 02 Jul 2024
1 answer
67 views

Hi Telerik,

 

I'm using C# and and RadPageView NavigationBar component for my WinForms application.

I think I'll give a background story first.

I implement a RadPageView with NavigationBar, and also implement a search bar between the hamburger menu and the RadPageView items

The item's is populated from a class

 

The "search menu" is used to filter the displayed menu 



And when I clear the search menu's filter, the RadPageViewItems is re-loaded with the previous class data. But, it takes a long time due to a lot of records (FYI, i have ~1000 menus that equivalent to ~1000 RadPageViewItems)



Is it possible to improve the load speed? Like, maybe, any mechanism that stores the fully loaded menu as a local-storage in RadPageView's function/module that I should call when the search menu is cleared after it has been filled?

Thanks in advance!

Dinko | Tech Support Engineer
Telerik team
 answered on 07 Jun 2024
1 answer
159 views

Hi, 

I have a control that is opened as a floating HostWindow. This control is composed of a RadPageView and a RadPanel and all these elements have the margins and paddings set to 0. Also, BorderStyle properties are set to None but I still see the borders there (see image attached).

There is any way to remove these borders?

 

Nadya | Tech Support Engineer
Telerik team
 answered on 05 Feb 2024
1 answer
108 views

Hello!

RadPageView has a setting called "ItemSpacing" that adjusts the gap between RadPageViewPage controls.

Is there any way to get a similar result for RadDock?

 

Cheers!

C

 

Nadya | Tech Support Engineer
Telerik team
 answered on 24 Nov 2023
1 answer
120 views

Hi,

 

I'm trying to use a PageView as a container for Grids (to eventually function as filters). ViewMode is Explorer bar as I want each page to open individually. I want each page to adjust it's height to the full height of the grid (above the grid I'm planning to include a TextBox for filtering but that's for later). Only the PageView's scrollbar should appear (when needed) not the grid's. I've been combining design settings (ie. Content Size Mode to AutoSizeToBestFit) and code for days and this combination behaves unexpectedly (dare I say it almost randomly). I've attached the source form if someone can help me out.

A few other things (see picture):

- The first time I expand one of the pages it appears gray and empty, without label, bug? (red)

- How do I get rid of the header? (marked yellow)

- Is it possible to include an icon/button aligned to the right of each Filter (to be used for clearing the selection)? (blue dots)

Jure

Dinko | Tech Support Engineer
Telerik team
 answered on 11 Jul 2023
1 answer
279 views

Hello,

I have a RadPageView control with Windows 8 theme and strip view mode.

When I disable the control, the color of the strip behind the tabs changes to a dark gray. I do not want it to change, but to stay in control color.

If I use the EnabledChange event and change the ItemContainer.BackColor of the StripElement it still shows the dark gray first.

 

I have seen that this is possible for example in Fluent theme, but want to use Windows 8 theme for my application.

I would love to use an easy way (SetThemeValueOverride) if possible. But I also haven't found a fitting property in the theme's style repositories and groups


 

Dinko | Tech Support Engineer
Telerik team
 answered on 10 Jul 2023
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
DateTimePicker
CollapsiblePanel
Conversational UI, Chat
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?