Unplanned
Last Updated: 21 Nov 2016 13:01 by ADMIN
To reproduce: use the following code snippet:

public RadForm1()
{
    InitializeComponent();

    this.radPageView1.Pages.Add(new RadPageViewPage("My page"));
    RadPageViewStripElement stripElement = this.radPageView1.ViewElement as RadPageViewStripElement;
    stripElement.StripButtons = StripViewButtons.ItemList;

    this.radPageView1.ItemListMenuDisplaying += radPageView1_ItemListMenuDisplaying;
}

private void radPageView1_ItemListMenuDisplaying(object sender, RadPageViewMenuDisplayingEventArgs e)
{
    e.Items.Clear();
    RadMenuItem item = new RadMenuItem("aaa");
    e.Items.Add(item);
}


Click the overflow button to open the drop down and select the item. When you open the overflow popup again you will notice that the item is duplicated although you clear the items in the ItemListMenuDisplaying event.

Workaround: dispose the item when it is clicked

private void radPageView1_ItemListMenuDisplaying(object sender, RadPageViewMenuDisplayingEventArgs e)
{
    e.Items.Clear();
    RadMenuItem item = new RadMenuItem("aaa");
    item.Click += item_Click;
    e.Items.Add(item);
}

private void item_Click(object sender, EventArgs e)
{
    RadMenuItem item = sender as RadMenuItem;
    if (item != null)
    {
        item.Click -= item_Click;
        item.Dispose();
    }
}
Declined
Last Updated: 25 Aug 2016 11:25 by ADMIN
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.

Declined
Last Updated: 20 Jul 2016 09:12 by ADMIN
ADMIN
Created by: Boryana
Comments: 4
Category: PageView
Type: Feature Request
18
This feature request refers to RadPageView in Strip ViewMode, which supports a multi-line StripElement. Thus StripItems will appear in different lines.
Unplanned
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);
Completed
Last Updated: 28 Jun 2016 10:18 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: PageView
Type: Bug Report
1
To reproduce:

1. Add a RadPageView with several pages.
2. Disabled some of the pages.
3. When running the application, try to navigate through pages with the arrow keys. You will notice that the disabled pages are also selected.

Workaround: 

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

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

public class CustomViewElement : RadPageViewStripElement
{
    protected override Type ThemeEffectiveType     
    { 
        get    
        { 
            return typeof(RadPageViewStripElement);     
        }
    }

    protected override bool CanSelectItem(RadPageViewItem item)
    {
        bool result= base.CanSelectItem(item);
        return result && item.Enabled;
    }
}
Unplanned
Last Updated: 07 Apr 2016 13:55 by ADMIN
Under specific circumstances and in Windows 2008 Server environment the RadTabStrip internally used in RadDock does not get a proper size.

Workaround:
bool performLayout = false;
  
protected override void OnSizeChanged(EventArgs e)
{
    base.OnSizeChanged(e);
  
    if (this.WindowState == FormWindowState.Minimized)
    {
        this.performLayout = true;
    }
  
    else if (this.performLayout)
    {
        //reset padding to force bounds update
        this.Padding = new Padding(1);
        this.Padding = Padding.Empty;
        this.performLayout = false;
    }
}

Basically, you need to override the OnSizeChanged method of the main form and first set and then reset its Padding when the it goes from Minimized to another state. This will trigger that internal layout mechanisms of our controls and you will get the RadGridView shown as expected.
Unplanned
Last Updated: 30 Mar 2016 09:38 by ADMIN
To reproduce:
- Add PageView to a form and set its Dock property to fill.
- Add single page and set its AutoScroll property to true.
- Add some controls and make sure that a scrollbar will appear.
- Start the application and scroll to the bottom.
- Maximize the form. You will notice that the scrollbar position is wrong.

 Workaround:
protected override void WndProc(ref Message m)
{
    if (m.Msg == 0x0112) 
    {
        if (m.WParam == new IntPtr(0xF030)) 
        {           
            this.radPageView1.SelectedPage.AutoScrollPosition = this.radPageView1.AutoScrollPosition;
        }
    }
    base.WndProc(ref m);
}
Unplanned
Last Updated: 30 Mar 2016 09:38 by ADMIN
Workaround:
            RadPageViewExplorerBarElement exElement = radPageView2.ViewElement as RadPageViewExplorerBarElement;
            exElement.ItemSize = new Size(200, 100);
            
Unplanned
Last Updated: 30 Mar 2016 09:38 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: PageView
Type: Bug Report
0
To reproduce: 
1.Add a RadPageView with several pages. 
2.Set the ViewElement.AllowEdit property to true.
3.Use the following code:

public Form1()
{
    InitializeComponent();

    radPageView1.ViewElement.AllowEdit = true;
    radPageView1.ViewElement.EditorInitialized += ViewElement_EditorInitialized;
}

private void ViewElement_EditorInitialized(object sender, RadPageViewEditorEventArgs e)
{
    radPageView1.ViewElement.ActiveEditor.Validating -= ActiveEditor_Validating;
    radPageView1.ViewElement.ActiveEditor.Validating += ActiveEditor_Validating;

    radPageView1.ViewElement.ActiveEditor.Validated -= ActiveEditor_Validated;   
    radPageView1.ViewElement.ActiveEditor.Validated += ActiveEditor_Validated;    

    radPageView1.ViewElement.ActiveEditor.ValidationError -= ActiveEditor_ValidationError;
    radPageView1.ViewElement.ActiveEditor.ValidationError += ActiveEditor_ValidationError;
}


private void ActiveEditor_Validating(object sender, CancelEventArgs e)
{
    RadPageViewElement.PageViewItemTextEditor editor =
        sender as RadPageViewElement.PageViewItemTextEditor;
    
    if (editor != null && radPageView1.ViewElement.ActiveEditor.Value == string.Empty)
    {
        e.Cancel = true;
    }
}

private void ActiveEditor_ValidationError(object sender, ValidationErrorEventArgs e)
{
    RadMessageBox.Show("Page label can't be empty!", "Error", MessageBoxButtons.OK, RadMessageIcon.Error);
}

private void ActiveEditor_Validated(object sender, EventArgs e)
{
    RadMessageBox.Show("Page label has been successfully updated!", "Information", MessageBoxButtons.OK, RadMessageIcon.Info);
}


If you change a tab title and do not press Enter, but click outside the pageview, the respective events for validation are not fired.

Workaround:
private void ViewElement_EditorInitialized(object sender, RadPageViewEditorEventArgs e)
{
    RadPageViewElement.PageViewItemTextEditor textEditor = e.ActiveEditor as RadPageViewElement.PageViewItemTextEditor;
    RadPageViewElement.PageViewItemTextEditorElement element = textEditor.EditorElement as RadPageViewElement.PageViewItemTextEditorElement;
   element.PropertyChanged += element_PropertyChanged;
}

private void element_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
    RadPageViewElement.PageViewItemTextEditorElement element = sender as RadPageViewElement.PageViewItemTextEditorElement;
    if (e.PropertyName == "ContainsFocus"&& !element.ContainsFocus)
    {
        radPageView1.ViewElement.ActiveEditor.Validate();
    }
}
Unplanned
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.


Unplanned
Last Updated: 30 Mar 2016 09:35 by Jesse Dyck
It appears that when the contents of the RadPageViewPage is changed its height stays the same. fig1 shows the height before content is modified fig2 shows the height after content is modified(pressing ‘Next’ button), fig3 shows the height after one of the RadPageViewPage tabs is clicked, clicking 'Next' after that keeps the same height. It appears that if a tab is clicked the RadPageView resizes itself. So how can I make the RadPageView resize itself to its content programmatically.

Workaround: increase and decrease the Width of RadPageView to force the layout.
                rpv.Width += 1;
                rpv.Width -= 1;
Unplanned
Last Updated: 30 Mar 2016 09:35 by ADMIN
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: 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
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;
        }
    }
}
Completed
Last Updated: 22 May 2015 10:54 by ADMIN
1. Place a RadPageView in ExplorerBar view mode on a from.
2. Add page and place any RadControl in the page content panel.
3. Close (Collapse) the page.
4. Save and close the form.
5. Open the form and open(expand) the page and you will see that the control will be stretched more than when you saved the form.
Completed
Last Updated: 11 May 2015 10:27 by ADMIN
To reproduce:
- Add RadPageView change the view  to ExplorerBar and add some pages with controls.
- Start the application expand all pages and scroll.

Workaround:
class MyPageView : RadPageView
{
    protected override RadPageViewElement CreateUI()
    {
        if (this.ViewMode == PageViewMode.ExplorerBar)
        {
            return new MyExplorerBarElement();
        }
        return base.CreateUI();
    }
   
}

class MyExplorerBarElement : RadPageViewExplorerBarElement
{
    protected override bool IsChildElementExternal(Telerik.WinControls.RadElement element)
    {
        return !(element is RadPageViewElementBase) && base.IsChildElementExternal(element);
    }
    protected override Type ThemeEffectiveType
    {
        get
        {
            return typeof(RadPageViewExplorerBarElement);
        }
    }
}