RadPageView has ten pages. Each page contains TableLayoutPanel (2 columns and 10 rows) and in each cell there is RadControl (textBox, checkbox etc). The result is that when pages are being changed, RadPageView show slow performance. Same scenario with standard controls works well. Further investigations on the case show this: "I had the same issue and I found other workaround. In my case I had TableLayoutPanel with RadSplittButton in each cell and each RadSplitButon was set as Dock = Fill. If I set AutoSize = false for RadSplitButton then the performance was ok and everything looks ok too."
Steps to reproduce: 1. Add a form with RadPageView on it 2. Add RadPageViewPage 3. In the designer file there will be the following line: // TODO: Code generation for '' failed because of Exception 'Invalid Primitive Type: System.IntPtr. Consider using CodeObjectCreateExpression.'.
The Image property of any RadPageViewPage cannot be set from the Visual Style Builder. The only way to set the image is through code.
Let's say that you have a RadForm with a RadPageView in it. This pageview has several pages in it. In one of the pages there are a RadGroupBox with a RadLabel in it and a RadLabel directly placed on the page. At design-time the groupbox and the labels have the backcolor of the page. At runtime, these controls get the color of the RadForm. However, the behavior should be one and the same.
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.
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); } } }
When you dynamically remove a page from RadPageView when it is in ExplorerBarView, its header remains on your form.
Steps to reproduce: 1. Drag a page view to a form and add two pages to it. 2. Add a button on the first page. 3. Drag a button to the form and in its Click event handler add code to change the selected page of the page view to the second one. 4. Add an event handler for the Enter event of the button on the first page. Run the project and when you click the button to change the page you will see that the button on the first page gets the focus.
- create RadPageView in ExplorerBar mode with just one page - subscribe to the PageExpanded/PageCollapsed events and print the value of the IsContentVisible property in each event handler. The result is that when the event is fired the property is not set.
Steps to reproduce: 1. Add a RadPageView to a form and add a page 2. Add some controls to the page. 3. Open the RadPageView smart tag and click Remove Page 4. Select from Visual Studio Edit->Undo and you will see that the page will be restored but the controls on it will not be restored properly. If one removes the page using the keyboard Delete key the undo functionality of VS works correctly.
RadPageView localization can be set only before the Application.Run line, otherwise it does not take effect
RadPageView - In BackstageView the tool tip of item close button is showing if you set ShowItemCloseButton property to true. Work Around: set ShowItemCloseButton property to false.
If you run your project in debug mode and try to select a page in the desginer, the designer of RadPageView gets broken.
HandleCreated should fire for all pages in RadPageView
When RadPageView is in Backstage mode, one can only navigate between the tabs in the same group using the arrow keys.
The common for the other RadPageView modes approach for creating custom items does not work for ExplorerBar mode.
The issue appears when the SelectedPageChanging event is cancelled and a MessageBox is shown in the event handler.
FIX. RadPageView - setting the Font of the control or element in OutlookMode does not work The complex structure of the control does not allow applying a font to all inner elements in all views through a single line of code. Here is how to handle the different cases: 1. In Strip view mode set the Font property of the control (RadPageView1.Font) 2. In all other views set the Font property of the ViewElement (RadPageView1.ViewElement.Font). Note that font will be applied only to the items. To set the font of the header and the footer use the following properties: RadPageView1.ViewElement.Header.Font and RadPageView1.ViewElement.Footer.Font.
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;