Hi ,
I am trying to do something very simple but seems that this does not work .
Basically I have a few different RadPageViewPages in a RadPageView control
each page has about 9 buttons
what I want to be able to do is when user clicks on a particular page this should auto scroll to make the contents of the page visible when expanded .i.e ideally scroll to a point where the contents become visible
currently what seem to happen is when you click on the page to expand it depending on the position of the page the contents are not always visible the user has to manually drag the scrollbar to see its content which is obviously hiding down at the bottom .
I tried adding the following code to the project but it does not seem to work
I have added Screen-prints of what it does and what is expected
Cheers
Khizar
I am trying to do something very simple but seems that this does not work .
Basically I have a few different RadPageViewPages in a RadPageView control
each page has about 9 buttons
what I want to be able to do is when user clicks on a particular page this should auto scroll to make the contents of the page visible when expanded .i.e ideally scroll to a point where the contents become visible
currently what seem to happen is when you click on the page to expand it depending on the position of the page the contents are not always visible the user has to manually drag the scrollbar to see its content which is obviously hiding down at the bottom .
I tried adding the following code to the project but it does not seem to work
void radPageView1_SelectedPageChanged(object sender, EventArgs e)
{
RadPageView apageview = (RadPageView)sender;
RadPageViewPage apage = (RadPageViewPage)apageview.SelectedPage;
apageview.ScrollControlIntoView(apage);
}
I have added Screen-prints of what it does and what is expected
Cheers
Khizar