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

G

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
 
G

Guest

I don't think it is possible from your description you seem to be thinking of
master pages back to front. You can however programatically change the
master page that a content page is using. If you want to change the content
page and keep the master page the same this is simply two different aspx
pages that both use the same master page and you just link to them in the
normal way.
 
G

Greg Ramsey

Thanks for the info. That's what I was afraid of. I think I'm in a
catch-22.. . . any suggestions you have would be greatly appreciated. I'm
using a treeview on my master page, and depending on the selected node, I
want to display data into the contentplaceholder. Some of the "base" nodes
of the treeview are static, and I can enter a "navigateurl" into those at
design time. Unfortunately, once I enter a navigateurl property for the
node, the SelectedNodeChanged event doesn't fire, so I'm not able to
"dynamically" populate the children of that node. . . . . .. defining the
entire tree at inital load time of the masterpage would be a bit of a
challenge, and would definitely take a considerable amount of time for the
page to load. ..

I'll have to be more creative. . . . .
 
D

dassyms

Hi i am also facing a similar to the above pblm.
i wanna populatea dynamic tree view control, with checkboxes added in
child / grand child nodes.
How can i implement databind using sql server 2005 dbase.
am having a group as a root under this group dff. depts
each dept.mnts has child deptmnts etc.
any help is apreciated



Das Dexterity
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,810
Latest member
Kassie0918

Latest Threads

Top