8 Answers, 1 is accepted
0
Accepted

Richard Slade
Top achievements
Rank 2
answered on 27 Jan 2011, 12:11 PM
Hi Meraj,
The way to select a page is using the SelectedPage property
Hope that helps
Richard
The way to select a page is using the SelectedPage property
RadPageViewPage1.Text =
"My Page 1"
RadPageViewPage2.Text =
"My Page 2"
RadPageViewPage3.Text =
"My Page 3"
RadPageViewPage4.Text =
"My Page 4"
Me
.RadPageView1.ViewMode = PageViewMode.Strip
Me
.RadPageView1.SelectedPage = RadPageViewPage3
Hope that helps
Richard
0

Richard Slade
Top achievements
Rank 2
answered on 28 Jan 2011, 02:06 PM
Hello Meraj,
Please remember to mark as answer if this helped. If you need more information, just let me know
Thanks
Richard
Please remember to mark as answer if this helped. If you need more information, just let me know
Thanks
Richard
0

meraj
Top achievements
Rank 1
answered on 29 Jan 2011, 03:10 PM
Thanx for your help its working fine,But I want to know about index property of PageView view mode Strip
0

Richard Slade
Top achievements
Rank 2
answered on 29 Jan 2011, 03:57 PM
Hello Meraj,
As far as I'm aware, there is no index property that you can reference. The RadPageView simply contains a RadPageViewPageCollection. You would need to itterate through the pages to get an "index", finding the page that you want.
Regards,
Richard
As far as I'm aware, there is no index property that you can reference. The RadPageView simply contains a RadPageViewPageCollection. You would need to itterate through the pages to get an "index", finding the page that you want.
Regards,
Richard
0
Accepted

Richard Slade
Top achievements
Rank 2
answered on 29 Jan 2011, 03:59 PM
Meraj,
I should have mentioned though, like other collections, you have access to indexof, E.g.
Which will give you the index of RadPageViewPage2
Richard
I should have mentioned though, like other collections, you have access to indexof, E.g.
Me
.RadPageView1.Pages.IndexOf(
Me
.RadPageViewPage2)
Which will give you the index of RadPageViewPage2
Richard
0

meraj
Top achievements
Rank 1
answered on 30 Jan 2011, 07:49 AM
Thanx for help Richard.
0

subbarayan
Top achievements
Rank 1
answered on 04 Feb 2011, 11:36 AM
hi
I want to set visibility false/collapsed of a page when another page is set to select in radpageview. help me.
I want to set visibility false/collapsed of a page when another page is set to select in radpageview. help me.
0
Accepted

Richard Slade
Top achievements
Rank 2
answered on 04 Feb 2011, 12:14 PM
Hello,
You could do this via the PropertyChanged event of the RadPageViewPage.
For exmaple. Set set RadPageViewPage2 to collapsed when you select RadPageViewPage1
Hope that helps
Richard
You could do this via the PropertyChanged event of the RadPageViewPage.
For exmaple. Set set RadPageViewPage2 to collapsed when you select RadPageViewPage1
AddHandler
RadPageViewPage1.Item.PropertyChanged,
AddressOf
PageViewPage1_PropertyChanged
Private
Sub
PageViewPage1_PropertyChanged(
ByVal
sender
As
Object
,
ByVal
e
As
PropertyChangedEventArgs)
If
e.PropertyName.ToUpperInvariant() =
"ISSELECTED"
Then
Me
.RadPageViewPage2.Item.Visibility = ElementVisibility.Collapsed
End
If
End
Sub
Hope that helps
Richard