RadMultiPage
A control which contains RadPageView controls. Only one page view can be visible at a time.
RadMultiPage is usually used with RadTabStrip to create paged data entry forms. Use the MultiPageID property to associate a RadMultiPage control with RadTabStrip.
You can find information on the Server-side API of RadMultiPage at .
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[EmbeddedSkin("MultiPage", typeof(RadMultiPage))]
[RequiredScript(typeof(jQueryPlugins))]
[ClientScriptResource("Telerik.Web.UI.RadMultiPage", "Telerik.Web.UI.TabStrip.MultiPage.RadMultiPageScripts.js")]
[ToolboxBitmap(typeof(RadMultiPage), "Toolbox.Icons.MultiPage.png")]
[TelerikToolboxCategory("Navigation")]
public class RadMultiPage : RadWebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl
Inheritance: objectControlWebControlRadWebControlRadMultiPage
Implements:
Inherited Members
Constructors
public RadMultiPage()
Properties
The CssClass property will now be used instead of the former Skin and will be modified in AddAttributesToRender()
protected override string CssClassFormatString { get; }
Overrides:
When set to true enables support for WAI-ARIA
public bool EnableAriaSupport { get; set; }
Gets a RadPageViewCollection that represents the RadMultiPage controls int the current RadMultiPage instance.
[Browsable(false)]
public RadPageViewCollection PageViews { get; }
Gets or sets a value indicating whether to render only the currently selected RadMultiPage.
public bool RenderSelectedPageOnly { get; set; }
True if only the current RadMultiPage should be rendered; otherwise false.
The default value is false which means all pageviews will be rendered.
Use the RenderSelectedPageOnly to make the RadMultiPage control render only the selected RadMultiPage. This can save output size because by default all pageviews are rendered. If RenderSelectedPageOnly is set to
trueRadMultiPage will make a request to the server in order to change the selected pageview.
Gets or sets the visibility and position of scroll bars in the RadMultiPage control.
public MultiPageScrollBars ScrollBars { get; set; }
One of the MultiPageScrollBars values. The default value is None.
Use this property to customize the visibility and position of scroll bars. By default any overflowing content is visible.
Gets or sets the index of the selected RadMultiPage.
public int SelectedIndex { get; set; }
The index of the currently selected RadMultiPage. The default value is -1, which means that no RadMultiPage is selected.
Gets the selected pageview.
[Browsable(false)]
public RadPageView SelectedPageView { get; }
Returns the pageview which is currently selected. If no pageview is selected
(the SelectedIndex property is -1) the SelectedPageView
property will return null (Nothing in VB.NET).
protected override HtmlTextWriterTag TagKey { get; }
Overrides:
Methods
protected override ControlCollection CreateControlCollection()
Overrides:
Finds a RadPageView with the specified ID.
public RadPageView FindPageViewByID(string id)
The ID of the RadPageView
Returns:A RadPageView with the specified ID. Null (Nothing) is returned if there is no RadPageView with the specified ID.
Executed when post data is loaded from the request
protected override bool LoadPostData(string postDataKey, NameValueCollection postCollection)
Overrides:
protected virtual void OnPageViewCreated(RadMultiPageEventArgs eventArgs)
Events
Occurs when page views are added programmatically to the RadMultiPage control. It also occurs after postback when the RadMultiPage control recreates its page views from ViewState.
public event RadMultiPageEventHandler PageViewCreated
Use this event when you need to create page views from code behind. Controls added dynamically should be created in the PageViewCreated event handler.