View Single Post
  #1 (permalink)  
Old January 5th, 2007, 07:56 AM
harsh.kintu harsh.kintu is offline
Registered User
Join Date: Jan 2007
Location: Surat, Gujarat, India.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to harsh.kintu
Default Problem in nested master pages.


friends i am littlebit new in .net 2.0 and i have a problem.
please, help me.

i am using nested master pages in my project.
one is :
Front.master - > inner.master - > index.aspx
second is :
InnerFront.master - > inner.master - > aboutme.aspx

here, i have to call Page_PreInit method of inner.master, so it will select the master page according to requested URL.
if it is index.aspx then it will select Front.master
else it will select InnerFront.master.

i am unable to call PreInit method from Page(ex. : index.aspx)

Harsh Pandit
kintu designs