Completed
Last Updated: 20 Oct 2014 14:18 by ADMIN
Workaround:
public Form1()
{
    InitializeComponent();
    this.radPageView1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
}

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

    protected override RadPageViewElement CreateUI()
    {
        switch (this.ViewMode)
        {
            case PageViewMode.Strip:
                return new CustomRadPageViewStripElement();
            
            default:
                return base.CreateUI();
        }
    }
}

public class CustomRadPageViewStripElement : RadPageViewStripElement 
{
    public CustomRadPageViewStripElement()
    {
    }

    protected override Type ThemeEffectiveType     
    { 
        get    
        { 
            return typeof(RadPageViewStripElement);     
        }
    }

    protected override bool IsNextKey(Keys key)
    {
        if (this.RightToLeft)
        {
            if (key == Keys.Left)
            {
                return true;
            }
            else
            {
                return false;
            }
        }

        return base.IsNextKey(key);
    }

    protected override bool IsPreviousKey(Keys key)
    {
        if (this.RightToLeft)
        {
            if (key == Keys.Right)
            {
                return true;
            }
            else
            {
                return false;
            }
        }
        return base.IsPreviousKey(key);
    }
}
Declined
Last Updated: 24 Jun 2015 12:19 by ADMIN
To reproduce:
- Implement the example from this page http://www.telerik.com/help/winforms/pageview-how-to-editing-page-tabs.html.
- Set the page text to empty string and click on another page.


Workaround:
subscribe to the editor's element RadPropertyChanging event:
void element_RadPropertyChanging(object sender, RadPropertyChangingEventArgs args)
{
    if (args.Property == RadElement.ContainsFocusProperty)
    {
        if (!(bool)args.NewValue)
        {
            args.Cancel = true;
        }
    }
}
Approved
Last Updated: 30 Mar 2016 09:37 by ADMIN
To reproduce:
- Add RadPageView with a two pages to a blank form, each page should contain a RadGridView.
- Populate the gids with some data.
- Start a gotomeeting and show your screen.
- Launch the application or start debugging.
- Add a column to the first tab page (not sure if the location or placement matters)
- Click the tab header for the second tab page to try to navigate to it
-  Nothing will happen.

Workaround:
- Change focus to another application.
-  The test app will now update.


Completed
Last Updated: 23 Dec 2010 08:45 by ADMIN
RadPageView does not show the individual tabs close buttons when they are enabled in the form constructor.
Completed
Last Updated: 29 Jul 2010 07:13 by ADMIN
ADMIN
Created by: Stefan
Comments: 0
Category: PageView
Type: Bug Report
0
In order to reprocude:
- Add RadPageView
- Add RadPageVIewPage (or two)
- Add couple controls to the bottom right corner or the page (aligned with the and of the page)
- Set those controls Anchoring property to Bottom, Right

Start and the controls are in a different position then the they were located.
Completed
Last Updated: 23 Nov 2011 01:48 by ADMIN
Additionally, using the EnsureItemVisible of the ViewElement in Form.Load or Form.Shown does not bring the item into view also.

To reproduce:
1. Create a form with page view (size 250,250).
2. Add 10 pages and keep the last one selected
3. On Form.Load or Form.Shown set the selected page to the first page => the page is selected but the last tab is visible instead of the first one.
Completed
Last Updated: 28 Feb 2014 10:35 by ADMIN
ADMIN
Created by: Georgi I. Georgiev
Comments: 0
Category: PageView
Type: Bug Report
0
To reproduce: Add a page to RadPageView with ViewMode set to ExplorerBar. Add controls so that the scrollbar appears.Set AutoScroll to true. Now if you tab through the controls you will see visual glitches and incorrect behavior.
Completed
Last Updated: 28 Jul 2011 07:32 by ADMIN
Currently it is not possible to scroll to the active page when expanding or selecting it in explorer view.
Completed
Last Updated: 28 Jul 2014 11:43 by ADMIN
1. Add RadPageView to a form
2. In the code behind, after InitializeComponent set the ViewMode to ExplorerBar
3. Subscribe to the ItemCreating event of the control
4. Create three RadPageViewPages and add them to the control
5. Run the application
Approved
Last Updated: 11 Jul 2016 12:03 by ADMIN
To reproduce: 

for (int i = 0; i < 20; i++)
{
    this.radPageView1.Pages.Add(new RadPageViewPage("Page" + i));
}

this.radPageView1.ViewMode = PageViewMode.Backstage;

Only a few of the pages are visible and the user is not allowed to scroll to see the rest of them.

Workaround: 
1. Make use of the strip buttons:

            RadPageViewBackstageElement el = this.radPageView1.ViewElement as RadPageViewBackstageElement;
            el.ItemContainer.ButtonsPanel.Visibility = ElementVisibility.Visible; 

2. Place the control in RadScrollablePanel

 RadScrollablePanel scrollablePanel = new RadScrollablePanel();
            scrollablePanel.Dock =  DockStyle.Fill;
            this.Controls.Add(scrollablePanel);

            RadPageView pageView = new RadPageView();
            pageView.ViewMode = PageViewMode.Backstage;
            scrollablePanel.Controls.Add(pageView);

            for (int i = 0; i < 50; i++)
            {
                pageView.Pages.Add(new RadPageViewPage("Page " + i.ToString()));
            }

            
            pageView.Size = new System.Drawing.Size(1000,2500);
Approved
Last Updated: 15 Aug 2017 10:02 by Todor
Completed
Last Updated: 10 Sep 2015 09:39 by ADMIN
Hello,
PageView with Windows8 Theme, ViewMode Stack, Stack Position Left
Tabs are drawn incorrectly, see attachment.
can i work around this issue?
Thanks
Completed
Last Updated: 11 Nov 2015 11:08 by ADMIN
To reproduce: 
1. Drag and drop RadPageView on the form
2. Select the control and open a smart tag 
3. You will see that the 'Dock in parent container' option is not added 
Completed
Last Updated: 15 Aug 2016 09:44 by ADMIN
To reproduce:
- Add a RadPageView with several pages to a form.
- View the tabs by setting the SelectedTab property.
- Create a form instance and show it with the ShowDialog method.
- Select the second tab.
- Reopen the form and select a tab after the second. You will notice that the content is not changed.
 
Workaround:
Create a new instance each time when the form is shown.

Approved
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: 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);
                    }
                }
            }
        }
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.