![]() |
|
|
|||||||
![]() |
ASP Net - MasterPage - ContentPlaceHolder - How to navigate to the ContentPlaceHolder "Child Page" |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
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 Greg |
|
|
|
|
#2 |
|
Posts: n/a
|
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. "Greg" wrote: > > 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 > > > =?Utf-8?B?Y2xpY2tvbg==?= |
|
|
|
#3 |
|
Posts: n/a
|
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. . . . . "clickon" <> wrote in message news:3450C01C-50E2-45CD-B892-... >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. > > "Greg" wrote: > >> >> 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 >> >> >> Greg Ramsey |
|
|
|
#4 |
|
Posts: n/a
|
When you say you want to dynamically populate the the child nodes of the
treeview control, exactly how dynamic do you need it to be. I believe the TreeViewControl can be bound to any XML data source not just a SiteMapDataSource. Also this guy has written an SQL Site Map Data Providor http://msdn.microsoft.com/msdnmag/is...02/WickedCode/ "Greg Ramsey" wrote: > 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. . . . . > > > > > > "clickon" <> wrote in message > news:3450C01C-50E2-45CD-B892-... > >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. > > > > "Greg" wrote: > > > >> > >> 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 > >> > >> > >> > > > =?Utf-8?B?Y2xpY2tvbg==?= |
|
|
|
#5 |
|
Posts: n/a
|
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 *** Sent via Developersdex http://www.developersdex.com *** dassyms |
|
![]() |
| Thread Tools | Search this Thread |
|
|