Approved
Last Updated: 06 May 2019 08:10 by ADMIN
ADMIN
Stefan
Created on: 23 Nov 2010 09:04
Category: PageView
Type: Feature Request
16
ADD. Functionality for resizing the tabs of RadPageView pages.
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);
6 comments
ADMIN
Dess | Tech Support Engineer, Sr.
Posted on: 06 May 2019 08:10
Hello, David,     

I have prepared a sample project demonstrating how to specify the MinSize property of the tab:

public RadForm1()
{
    InitializeComponent();
 
    foreach (RadPageViewPage page in this.radPageView1.Pages)
    {
        page.Item.MinSize = new Size(300, 50);
    }
}

The specified size is respected on my end with the latest version:



Could you please specify the exact steps how to reproduce the problem?

As to the ViewMode, note that it expects one of the values in the PageViewMode enum. However, if you need to hide the page tabs in order to prevent the user from navigating the pages, you can use the following code snippet:

this.radPageView1.ViewMode = PageViewMode.Strip;
RadPageViewStripElement stripElement = this.radPageView1.ViewElement as RadPageViewStripElement;
stripElement.ItemContainer.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

I hope this information helps.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Attached Files:
David
Posted on: 03 May 2019 17:11

Is there any way to set the view mode to None so that there is no user interface to select a page at runtime? That is what I am really trying to achieve here.

Thank You, David

David
Posted on: 03 May 2019 17:07

Thank you but this isn't working for me either. The tab sizes remain the same as they are in Design time.

RadPageViewDeal.ItemSizeMode = PageViewItemSizeMode.EqualSize

        For Each page As RadPageViewPage In RadPageViewDeal.Pages

            page.Item.MinSize = New Size(10, 10)

        Next page

 

 

ADMIN
Dimitar
Posted on: 02 May 2019 08:11
Hello David,

I have cheeked this and indeed it is not working with the latest version. I have updated the issue status and our developers will look into it. I have updated Telerik Points as well.

As a workaround you can set the MinSize of the each item:
For Each page As RadPageViewPage In radPageView1.Pages
   page.Item.MinSize = New Size(300, 50)
Next page

Should you have any other questions do not hesitate to ask.
 
Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
David
Posted on: 02 May 2019 00:13

This isn't working for me:

RadPageViewDeal.ItemSizeMode = PageViewItemSizeMode.EqualSize

RadPageViewDeal.ItemSize = New Size(100, 20)

 

The tabs remain the same size they are in design time.

Thanks

ADMIN
Ralitsa
Posted on: 19 Mar 2014 11:27
Add the ItemSize property of the RadPageView which gets or sets the size of the items when ItemSizeMode of RadPageView is PageViewItemSizeMode.EqualSize mode. 
Add the ItemSize property of the RadPageViewPage which gets or sets the size of the item of RadPageView when the mode is PageViewItemSizeMode.Individual.