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.
Let's say that you have RadPageView in ExplorerBar mode and the Content Size mode is set to AutoSizeToBestFit. Dock two buttons in the content area to top. Run the app and you will see that the bottom of the second button is cut in some themes. This is because these themes has a border set to the content area. The border is taken into consideration by the layout and the content is cut even throught there is space for it. This happens with Windows7, Office2010Black and other themes.
Workaround: set text manually on ToolTipTextNeeded event. private void Form1_Load(object sender, EventArgs e) { this.radPageView1.ToolTipTextNeeded += new Telerik.WinControls.ToolTipTextNeededEventHandler(radPageView1_ToolTipTextNeeded); } void radPageView1_ToolTipTextNeeded(object sender, Telerik.WinControls.ToolTipTextNeededEventArgs e) { RadPageViewStripItem item = sender as RadPageViewStripItem; if (item != null) { e.ToolTipText = item.Text; } }
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.'.
When RadPageView is in Backstage mode, one can only navigate between the tabs in the same group using the arrow keys.
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.
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.
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.
- 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.
The Image property of any RadPageViewPage cannot be set from the Visual Style Builder. The only way to set the image is through code.
1. Create a new project with RadPageView. 2. Add two buttons. 3. On first button click add 100 pages. 4. On second button click remove these pages by calling the Clear method of the Pages collection. 5. Run the project and press these buttons several times.
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.
FIX. RadPageView in ExplorerBar mode- the page items are getting hidden when page with auto size content is expanded.
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
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.
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.
HandleCreated should fire for all pages in RadPageView
When you try to programmatically select a page in the Form_Load of the Form that holds RadPageView, the page becomes selected, but the content that is shown for the page is not correct.
If you have a RadPageView in Strip mode with the DropDown button for the overflow menu and you double-click that button, you get a menu which lists the PageView items twice.
FIX. RadPageView - setting a Backcolor to a RadPageViewPage does not affect it until the designer is refreshed