I am getting page with the help of page creteria. and Now I want to get the parentpage of that page.
Can I get the parent page of perticuler page.
Yes. Try page(assuming to be pagedata type) page.ParentLink which returns a parent page reference. Using the parent page reference
you can get the page. Use GetPage(pagelink) method to get it.
Hope it helps!!!!
Thanks ..I got it.....:)