New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

RadPageView Object

The RadPageView object is returned by the getPageView() method of the RadPageView collection.

The following table lists the most important methods:

NameParametersReturn TypeDescription
selectnonenoneSelects the PageView.
unselectnonenoneDeselects the PageView.
get_selectednoneBooleanReturns true if the PageView is selected.
set_selectedBooleannoneSelects/deselects the PageView.
get_multiPagenoneRadMultiPageGets the MultiPage containing the PageView.
get_indexnoneIntegerReturns the index of the PageView.
get_elementnoneDOMGets the DOM element for the PageView.
get_idnoneIntegerGets the ID of the PageView. See Example 1.
shownonenoneShows the PageView.
hidenonenoneHides the PageView.
get_contentUrlnonenoneGets the URL of the page that is opened in the PageView.
set_contentUrlStringnoneSets the URL of the page that is opened in the PageView.

Example 1. Get the IDs of all PageViews in a RadMultiPage

JavaScript
var multiPage = $find("<%=RadMultiPage1.ClientID %>");
for(var i = 0; i < multiPage.get_pageViews().get_count(); i++) {
	alert(multiPage.get_pageViews().getPageView(i).get_id());
}   	
Not finding the help you need?
Contact Support