Home All Groups Group Topic Archive Search About

MasterPage - ContentPlaceHolder - How to navigate to the ContentPlaceHolder "Child Page"

Author
22 Mar 2006 8:32 PM
Greg
How do I programmatically load an .aspx page into the contentplaceholder?
Similar to what would happen in the "navigateURL" property when clicking on
a hyperlink on the master page. . .

ASP .NET 2.0


Thanks,
Greg

Author
23 Mar 2006 10:17 AM
Ward Bekker
Hi Greg,

You mean treating it like an IFrame? You might misunderstand the use of
masterpages. Just create a childpage that links to your masterpage and
place your content in the contentcontrol. From the masterpage you can
then add an hyperlink that refers to your childpage.

--
Ward Bekker
"Asp.Net Discussions for the Professional Developer"
http://www.dotnettaxi.com

"Free .Net 2.0 C# to/from VB.Net Code Converter"
http://www.dotnettaxi.com/Tools/Converter.aspx