Unplanned
Last Updated: 06 Sep 2024 08:53 by Karthik
Unplanned
Last Updated: 31 Jul 2024 13:35 by ADMIN

I have created a RadForm in a sample winforms project and dropped a RadPageView control on the form. Then created three pages and dropped a user control on the page 1 and page 2. Now when I navigate to page 3 from page and page 2 then Visual Studio gets not responding and crashes later.

I am recently downloaded the trial version of Telerik Winforms(2024.2.514) and found this issue with User controls. Previous versions also have same issue.

Recording of the issue as well as sample project is attached.

Unplanned
Last Updated: 07 Jun 2024 12:53 by ADMIN
In this case, the editing functionality of the control is allowed. When we try to reorder the pages tabs runtime, the editing operation is triggered on the drag page item. 
Unplanned
Last Updated: 20 May 2024 14:22 by ADMIN

(this.radPageView1.ViewElement as RadPageViewStripElement).AllowEdit = true;
(this.radPageView1.ViewElement as RadPageViewStripElement).NewItemVisibility = StripViewNewItemVisibility.End;

 

 

Unplanned
Last Updated: 17 Apr 2024 14:31 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 3
Category: PageView
Type: Bug Report
4
To reproduce: please refer to the attached sample project and gif file. The purpose is to select the last added page. However, the multi-line tabs are not ordered correctly at all compared to the TabControl.
Completed
Last Updated: 13 Mar 2024 08:49 by ADMIN
Release 2024.1.312
Created by: Bert
Comments: 1
Category: PageView
Type: Bug Report
1

A possible workaround here is to make the panel parent of the buttons visible.

RadPageViewStripElement element = this.radPageView1.ViewElement as RadPageViewStripElement;
element.ItemContainer.ButtonsPanel.DrawFill = true;
element.ItemContainer.ButtonsPanel.NumberOfColors = 1;

Declined
Last Updated: 26 Jan 2022 10:57 by ADMIN
How to reproduce: check the attached project:

Workaround: when the form is opened in the designer make sure that all pages are made visible at least ones so the controls are initialized, before attempting to access collection editors via properties window

Completed
Last Updated: 03 Aug 2021 13:39 by ADMIN
Release R3 2021
Declined
Last Updated: 30 Nov 2020 14:54 by ADMIN
Created by: Jan
Comments: 1
Category: PageView
Type: Feature Request
0
It would be great if there was also a None (ViewMode) for PageView. That means no tabs and only the container. This is especially useful if you use PageView for Single Page WinForms. Up to now I use to hide the tabs with CodeBehind.
Declined
Last Updated: 03 Nov 2020 11:52 by ADMIN

The layout on a monitor with 100%:

After moving the form to a monitor with higher than 100% DPI scaling, e.g. 175% or greater:

Once you switch to the first page which contains exactly the same UserControl, the layout is not correct:

 

Completed
Last Updated: 07 Jul 2020 08:23 by ADMIN
Release R3 2020 (LIB 2020.2.713)

How to reproduce: 

public Form1()
{
    InitializeComponent();

    this.radPageView1.ItemSizeMode = Telerik.WinControls.UI.PageViewItemSizeMode.EqualSize;
    this.radPageView1.ItemSize = new Size(50, 20);
}

Completed
Last Updated: 23 Jun 2020 13:32 by ADMIN
Release Q1 2014 SP1
ADMIN
Created by: Stefan
Comments: 7
Category: PageView
Type: Feature Request
16
Add functionality for resizing the tabs of RadPageView pages (resizing the RadPageViewPageItem).

Resolution : This functionality can be achieved with the MinSize/MaxSize properties. For example:

radPageViewPage1.Item.MinSize = new Size(150, 30);
Completed
Last Updated: 12 Jun 2020 16:05 by ADMIN
Release R2 2020 SP1

I attached a video and the code I used. I am trying to remove and add pageviews. (I would hide them it i knew how)

When I add the pageview back in while the hamburger menu is closed it somewhat expands the tabs. I would like it to leave it closed

Unplanned
Last Updated: 28 Oct 2019 09:40 by ADMIN

When you have RadPageView within a RadDock only the selected page is visible and its content is shown. When you select another page it is blank.

Workaround:

For Each page As RadPageViewPage In Me.rpvMain.Pages
    If Not page.Visible Then
        page.Visible = True
        page.Visible = False
    End If
Next
Unplanned
Last Updated: 27 Sep 2019 10:19 by ADMIN
To reproduce:
- Open attached project and add a lot of pages. 
- Close all pages 
- The GDI object count increases. 

Workaround:
GC.Collect();
GC.WaitForPendingFinalizers();
GC.WaitForFullGCApproach();
GC.WaitForFullGCComplete();
GC.Collect();
Completed
Last Updated: 26 Mar 2019 11:26 by Dimitar
Please refer to the attached sample project which behavior is illustrated in the gif file. When you load the form, the title of the selected page is not displayed. However, if you select a new page, it is updated accordingly.
Completed
Last Updated: 03 Dec 2018 08:33 by Dimitar
To reproduce: add a RadPageView in NavigationView and set the following property:


        Dim view As RadPageViewNavigationViewElement = TryCast(Me.RadPageView1.ViewElement, RadPageViewNavigationViewElement)

        view.CollapsedPaneWidth = 300 

The expected result is that the navigation view default's width is set to 300 when loading. However, it is adjusted when you expand and collapse the hamburger.
Completed
Last Updated: 12 Oct 2018 09:29 by Dimitar
When you set the RightToLeft property to Yes, you will obtain incorrect layout. Please refer to the attached gif file.
Completed
Last Updated: 09 Oct 2018 07:49 by Dimitar
Completed
Last Updated: 28 Sep 2018 07:56 by Dimitar
Workaround:


        public class CustomPageView : RadPageView
        {
            public override string ThemeClassName  
            { 
                get 
                { 
                    return typeof(RadPageView).FullName;  
                }
            }

            protected override RadPageViewElement CreateUI()
            {
                if (this.ViewMode == PageViewMode.NavigationView)
                {
                    return new CustomRadPageViewNavigationViewElement();
                }
                return base.CreateUI();
            }
        }

        public class CustomRadPageViewNavigationViewElement : RadPageViewNavigationViewElement
        {
            protected override Type ThemeEffectiveType     
            { 
                get    
                { 
                    return typeof(RadPageViewNavigationViewElement);     
                }
            }

            public override void Expand()
            {
                if (!this.IsCollapsed)
                {
                    return;
                }

                FieldInfo pi = typeof(RadPageViewNavigationViewElement).GetField("isCollapsed", BindingFlags.NonPublic | BindingFlags.Instance);
                pi.SetValue(this, false); 
                this.ItemContainer.Visibility = ElementVisibility.Visible;

                NavigationViewDisplayModes mode = this.GetEffectiveDisplayMode(this.Size.Width);

                if (mode == NavigationViewDisplayModes.Expanded)
                {
                    
                    this.ItemContainer.MinSize = new Size(this.ExpandedPaneWidth, 0);
                }
                else
                {
                    this.PopupStack.Children.Insert(0, this.HamburgerButton);

                    if (!this.PopupStack.Children.Contains(this.ItemContainer))
                    {
                        this.PopupStack.Children.Add(this.ItemContainer);
                    }

                    this.HamburgerButton.Alignment = this.RightToLeft ? ContentAlignment.TopRight : ContentAlignment.TopLeft;
                    this.HamburgerButton.StretchHorizontally = true;
                    this.ItemContainer.ItemLayout.SetValue(RadPageViewStripElement.StripAlignmentProperty, StripViewAlignment.Right);
                    this.ItemContainer.ResetValue(RadElement.MinSizeProperty, ValueResetFlags.Animation);
                    this.ItemContainer.MinSize = new Size(this.ExpandedPaneWidth, 0);
                    this.ItemContainer.MaxSize = Size.Empty;

                    foreach (RadPageViewItem item in this.Items)
                    {
                        item.DrawText = true;
                    }

                    if (this.Popup.ElementTree.RootElement.ElementState != ElementState.Loaded)
                    {
                        Size size = new Size(this.ExpandedPaneWidth, (int)this.DesiredSize.Height);
                        this.Popup.LoadElementTree(size);
                    }

                    ApplyThemeToPopup(this.ElementTree, this.Popup);

                    this.Popup.Size = new Size(this.ExpandedPaneWidth, (int)this.DesiredSize.Height);
                    this.Popup.DropDownAnimationDirection = this.RightToLeft ? RadDirection.Left : RadDirection.Right;
                    this.Popup.HorizontalPopupAlignment = this.RightToLeft ? HorizontalPopupAlignment.RightToRight : HorizontalPopupAlignment.LeftToLeft;
                    this.Popup.VerticalPopupAlignment = VerticalPopupAlignment.TopToBottom;
                    this.Popup.RootElement.BackColor = this.BackColor;

                    this.Popup.Show(this.PointToScreen(this.RightToLeft ? new Point(this.Bounds.Right, this.Bounds.Top) : new Point(this.Bounds.Left, this.Bounds.Top)));
                }
            }

            public override void Collapse()
            {
                if (this.IsCollapsed)
                {
                    return;
                }
                FieldInfo pi = typeof(RadPageViewNavigationViewElement).GetField("isCollapsed", BindingFlags.NonPublic | BindingFlags.Instance);
                pi.SetValue(this, true); 

                foreach (RadPageViewItem item in this.Items)
                {
                    item.DrawText = false;
                }

                NavigationViewDisplayModes mode = this.GetEffectiveDisplayMode(this.Size.Width);             

                if (mode == NavigationViewDisplayModes.Expanded)
                {
                    this.ItemContainer.MinSize = new Size(this.CollapsedPaneWidth, 0);
                }
                else
                {
                    FieldInfo fi = typeof(RadPageViewNavigationViewElement).GetField("programmaticallyClosingPopup", BindingFlags.NonPublic | BindingFlags.Instance);
                    fi.SetValue(this, true); 
                    this.Popup.ClosePopup(RadPopupCloseReason.Mouse);
                    this.HamburgerButton.StretchHorizontally = false;
                    fi = typeof(RadPageViewNavigationViewElement).GetField("programmaticallyClosingPopup", BindingFlags.NonPublic | BindingFlags.Instance);
                    fi.SetValue(this, false); 

                    if (mode == NavigationViewDisplayModes.Compact)
                    {
                        this.ItemContainer.MinSize = new Size(this.CollapsedPaneWidth, 0);
                        this.ItemContainer.MaxSize = new Size(this.CollapsedPaneWidth, 0);

                        if (!this.Children.Contains(this.ItemContainer))
                        {
                            this.Popup.RootElement.ResetValue(RadItem.BackColorProperty, ValueResetFlags.Local);
                            this.Children.Insert(0, this.ItemContainer);
                        }
                    }

                    if (!this.Children.Contains(this.HamburgerButton))
                    {
                        this.HamburgerButton.ResetValue(AlignmentProperty, ValueResetFlags.Local);
                        this.Children.Add(this.HamburgerButton);
                    }
                }
            }
        }
1 2 3 4 5 6