Click here to Skip to main content
15,917,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
VB
Try
          Dim type As Type = BuildManager.GetCompiledType("~/" & pagePath)
      Dim pageView As System.Web.UI.Page = DirectCast(Activator.CreateInstance(type), System.Web.UI.Page)
          pageView.Title = " page loaded ..."
          'pageView.
          '.ProcessRequest(HttpContext.Current)
          DirectCast(pageView, IHttpHandler).ProcessRequest(HttpContext.Current)

      Catch ex As Exception

      End Try

i need to load the base page first and then the dynamic page because i have controls which i have to place at the top of the page after parsing the dynamic page please assit

Thanks..

Posted
Updated 21-Jan-15 15:52pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900