CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 12/13/2006 9:00:51 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 13 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
jpa7227
Asp.Net User
TreeViews and Different <Content> Pages.12/13/2006 9:00:51 PM

0/0

I have a Master Page setup divided into three sections: a Menu Bar (not a control, just a <div> with links), a Search/Features ContentPlaceHolder and a Main ContentPlaceHolder.

Depending on what link the user clicks in the Menu Bar, I populate different controls into each ContentPlaceHolder.  One of the 'views' has a TreeView control in the Search/Features area which when having a node clicked, displays a specific view or page in the Main area.  The root nodes are essentially grouping descriptions that need to have a configuration page associated with them -- the layout is the same for each configuration, just the content in the page is slightly different.  Then, the child nodes will have a different layout from said configuration page, but will be the same for all child nodes regardless of grouping description.  So, I have two general page layouts that I would like to dynamically populate when clicked.  The problem is I can't get them to display in the other <Content> area. 

I've tried setting up the NavigateURL to the .aspx layout page and the target to the name of the ContentPlaceHolder.  It doesn't work, naturally, and I would think that this makes sense.  So, how can I change the contents of one <Content> page from another?  Do I need to go searching through the Master Page's controls?

jpa7227
Asp.Net User
Re: TreeViews and Different <Content> Pages.12/14/2006 3:39:51 PM

0/0

I have the feeling I chose a misleading Subject.  Basically, I want to dynamically load a page in one <Content> from another <Content>.  A sitemap won't necessarily suffice here as it's not feasible for me to create 100s or 1000s of different pages for each item.

I think this is possible, but I am not sure how I get <Content>-to-<Content> access, if that's really what I am doing anyways.  (I think it is.)

jpa7227
Asp.Net User
Re: TreeViews and Different <Content> Pages.12/14/2006 5:44:33 PM

0/0

To continue this trend of talking to myself..

If I set the NavigateURL and Target properties of my root nodes (the group description and configuration nodes).  The MainContent portion displays said page, but it opens a new window.  So, at this point, I want to eliminate that effect as well as be able to populate the MainContent portion with data based on the Node clicked (ie. if SelectedNode.Value == "this category", then here is what the page displays).

I believe this gets me back to accessing one <Content> from another <Content>, or more specifically, accessing the controls.

This is possible, yes?

jpa7227
Asp.Net User
Re: TreeViews and Different <Content> Pages.12/14/2006 5:45:34 PM

0/0

To continue this trend of talking to myself..

If I set the NavigateURL and Target properties of my root nodes (the group description and configuration nodes).  The MainContent portion displays said page, but it opens a new window.  So, at this point, I want to eliminate that effect as well as be able to populate the MainContent portion with data based on the Node clicked (ie. if SelectedNode.Value == "this category", then here is what the page displays).

I believe this gets me back to accessing one <Content> page from another <Content>page, or more specifically, accessing the controls.

This is possible, yes?

4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional Authors: Matthew MacDonald, Pages: 954, Published: 2007
Beginning ASP.NET 3.5 in VB 9.0: From Novice to Professional Authors: Matthew MacDonald, Pages: 1149, Published: 2007
Professional ASP.NET 2.0 Databases Authors: Thiru Thangarathinam, Pages: 504, Published: 2007
Professional ASP.NET 2.0 XML Authors: Thiru Thangarathinam, Pages: 566, Published: 2005
Expert C# 2005 Business Objects Authors: Rockford Lhotka, Pages: 668, Published: 2006
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Expert VB 2005 Business Objects Authors: Rockford Lhotka, Pages: 670, Published: 2006
Beginning ASP.NET 2.0 in VB 2005: From Novice to Professional Authors: Matthew MacDonald, Pages: 1063, Published: 2006
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
Beginning ASP.NET 2.0 Authors: Chris Hart, John Kauffman, Chris Ullman, David Sussman, Pages: 759, Published: 2005

Web:
How using update panel with multiple content pages and single ... In this content pages, multiple control i am using in every content pages. In my master page i put treeview . while i click one link in one content page its ...
Dr.Bob Examines... #99: ASP.NET 2.0 Master-Content Pages NET Master Pages to your project, so you can have entire collections of content pages belonging to one master page (and several different master pages to ...
Access Master Page Control at Content Page Actually I am adding my Treenode at my content pages based on some condition not at master page while treeview reside at Master Page. ...
About the TreeView WebControl In downlevel browsers, the page content sent by the TreeView ASP.NET server controls is HTML 3.2, whereas, in uplevel browsers the HTML, pages also use ...
Planning:Treeview skin - clc-wiki Treeview parent nodes can exist in any namespace, with primary content .... that tries to avoid accessing content pages with different state querystrings in ...
ASP.NET 2.0 MasterPage reloading problem - ASP.NET Forums On my masterpage is treeview that is tied to the Sitemap which basically constains links to various pages. The content page reloads find but ...
ASP.NET v2.0 V: Master pages and navigation :: DotNetJohn Nov 14, 2007 ... Master pages provide a template for all content pages of your web site .... The two primary navigation controls are the Treeview and Menu, ...
Flash treeview software by APNSoft and others You can display different content in the selected and in the normal node. ... View all Flash animations from web pages, including Flash game sites, ...
TreeView: JavaScript DHTML Tree Menu Typically, Web pages with a Treeview consist of two (or more) separate areas. .... way to identify the different TreeViews for the PRESERVESTATE mechanism. ...
Scott on Writing To address this question, I wrote up an article discussing different techniques: Passing Information Between Content and Master Pages. ...




Search This Site:










server.htmlencode

error message at the end of module installation

vs2008 no debug after vista sp1!

trying to learn new tricks

site examples

any specific examples on how internet (non-domain) users can be authenticated through activedirectorymembershipprovider and authorized via ad groups using the windowstokenroleprovider?

any reason why prompt?

masterpage renaming controls

help in roles and mebership

custom webpart catalog implemented in a web custom control

"static" keyword purpose?

peverify 1.1 peverify 2.0 different results

can't dnn be installed on my host by me?

webcontrols show text only

userhostaddress vs userhostname

check and remove certain characters from string value(?)

help in dropdownlist

generic e-mail required to be sent to supervisor

script type banners in dnn

passwordrecovery with custom membershipprovider not working

freetextbox under medium trust

windows authentication problem

dnn2b1 and text/html module

mulitiple fields from a dropdownlist

creating sub-category in propertygrid ??

a complete newbie..i need to learn..

anything similar to .ini files in asp:net?

to the core team: can we make the official website in china?

picture upload (url to database - picture on server)

asp.net impersonation question delaing with workgroup

 
All Times Are GMT