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: 1/16/2008 8:56:23 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 22 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
aammiz
Asp.Net User
multiple site maps1/16/2008 8:56:23 AM

0/0

can i have multiple site maps for multiple tree view.

Since node has one root node and it shows everything under there. therefore at time it is not possible to keep everything under one root node. for example

 

    Asp.net

        masterpage

        webparts

        navigation controls  

 

      1)    Now if i want to have a node for "client site programming"   it doesnt go under asp.net, therefore I would like to have another treeview and write another sitemap. so how would i do that. Or maybe I want to have 10. What if i am plaing to have menu going horizental on the top of the page and they are 15 of them. So for each I would like to have sitemaps.(am i write if i do that or am i heading wrong direction when i said using 15 menu and for each i having 15 site maps)

 

2) Also do confirm if I am talking good programming when i am talking about the multiple site maps and multiple treeview

3) One more, is it a common practice, or it is out of blue? 

 


 

 


 

 


learning.. : )
lotuzwine
Asp.Net User
Re: multiple site maps1/16/2008 12:50:30 PM

0/0

you can create another sitemap file with another filename, then to use it you need to configure the following:

1 - Add a new provider for the sitemap in the webconfig that will reference the new sitemap file

2 - Set the Provider property of the <asp:SiteMapDataSource> controls to the name of the provider you created

hope this helps

Rinze
Asp.Net User
Re: multiple site maps1/16/2008 1:05:29 PM

0/0

Hi aammiz,

it is possible to have multiple sitemaps for multiple treeviews. A treeview is bound to the sitemap using a datasource. This datasource in turn uses a so called provider to retrieve the nodes. In your web.config you can configure any number of sitemapproviders, each pointing to a different sitemap. I wouldn't say this is a common practise though.

You have to think of your sitemap, as well, a sitemap for your entire website. You want to provide your visitors with a solid navigatinal structure. You define the layout of your website and create a sitemap for this structure. If you want a treeview to contain a different set of nodes, you can use the datasource attrbiutes or the treeview attributes, to select the correct nodes. (expanddepth, startfromcurrentnode, staticdisplaylevels).

Then, if this for some reason soes not meet your requirements, you can manipulate the nodes added to your treeview (or other navigational controls) by creating your own databind even handler (OnMenuItemDataBound for the menucontrol).

Another way to get more control, is writing a custom sitemapprovider. This gives you full control over the nodes in your sitemap that are being added to your navigational control using a datasource.

To answer your question more directly: I don't think it's a good practise to have multiple sitemap, the exception being fragmenting your sitemap in the case of childprojects, where the childprojects provide their own navigational structure. Using multiple treeviews is possible, but often not necessary. The nodes displayed in the treeview can be controlled by the attributes set on the treeview control, so you can just add a treeview to your masterpage, and make it render differently for each page based on your attributes, and if necessary, custom sitemap provider.

 


Hope this helps !
Rinze

---------
please select 'mark as answer' if this post helped you!
aammiz
Asp.Net User
Re: multiple site maps1/16/2008 8:03:31 PM

0/0

 Thank you very much for your detailed answer.  So your suggestion would be very helpful to work with the treeview and it reminds me the .net library in MSDN.

However, if I am working with the menu,   Menu like pull down menu and if i have several of them?  I guess again I am thinking wrong , maybe it good to have only one menu just like the main page off asp.net . Where on the top left corner there is just a single menu. But it is common to have multiple menus.  So what is best to work with in a situation where there are manu menus spread horizently and rendering vertically.


learning.. : )
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional ASP.NET 2.0 Databases Authors: Thiru Thangarathinam, Pages: 504, Published: 2007
SEO - Search Engine Optimization Bible: Search Engine Optimization Bible Authors: Jerri L. Ledford, Pages: 389, Published: 2007
Pro ASP.NET 2.0 in VB 2005: special edition. Authors: Laurence Moroney, Matthew MacDonald, Pages: 1360, Published: 2006
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Frontiers of WWW Research and Development--APWeb 2006: 8th Asia-Pacific Web Conference, Harbin, China, January 16-18, 2006 : Proceedings Authors: Xiaofang Zhou, Jianzhong Li, Heng Tao Shen, Masaru Kitsuregawa, Yanchun Zhang, Pages: 1223, Published: 2006
Sams Teach Yourself Network Troubleshooting in 24 Hours Authors: Jonathan Feldman, Pages: 528, Published: 2002
Beginning ASP.NET 2.0 in VB 2005: From Novice to Professional Authors: Matthew MacDonald, Pages: 1063, Published: 2006
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
Ideology, Power, and Prehistory Authors: Daniel Miller, Christopher Y. Tilley, Theoretical Archaeology Group (England). Conference, Pages: 157, Published: 1984

Web:
How to: Configure Multiple Site Maps and Site-Map Providers By default, ASP.NET site navigation works with an XML file that is named Web. sitemap that describes the hierarchy of the Web site.
How to: Configure Multiple Site Maps - ASP.NET Forums Re: How to: Configure Multiple Site Maps. 12-21-2006, 8:51 PM. Contact ... Re: How to: Configure Multiple Site Maps. 12-22-2006, 12:43 AM ...
Implementing multiple sitemaps Oct 25, 2007 ... This article explains how to control the display of nodes for different user, while using treeviews and sitemaps.
Configuring Multiple Sitemaps in .NET « Tech Dec 7, 2007 ... For using multiple sitemaps you need to configure the sitemap in the web.config file. We will learn this through an example. ...
Multiple Sitemaps on a single Domain Feb 28, 2008 ... Google makes it easier for webmasters to place Sitemaps for multiple hosts on a single host and then letting them know by including the ...
Official Google Webmaster Central Blog: Multiple Sitemaps in the ... Oct 9, 2006 ... We've gotten a few questions about whether you can put multiple Sitemaps in the same directory. Yes, you can! ...
Can I submit multiple Sitemaps at once? - Webmaster Help Center If you anticipate your Sitemap growing beyond 50000 URLs or 10MB, you should consider creating multiple Sitemap files. If you do provide multiple Sitemaps, ...
Worldwide map search, route finder and travel directions - powered ... get even more mileage from our maps with a new business finder, an updated route ... site tours. viewing Bird's Eye images, getting directions and finding ...
sitemaps.org - Protocol If you do provide multiple Sitemaps, you should then list each Sitemap file in a Sitemap index file. Sitemap index files may not list more than 1000 ...
Multiple sitemaps - Wrensoft Forums for Zoom Search Multiple sitemaps Zoom Search Engine V5. ... Can the sitemap process be told to create multiple sitemaps, and then only of certain ...

Videos:
XSitePro - Lesson 10: PowerPack Features In this penultimate lesson you are introduced to a collection of features created especially for power users. Don't worry if you are an inexperienced...
Okaydave Portfolio: Wachovia Brand Strategy and Website Redesign An attempt to make Wachovia's interactive experience similar to that of their local branches. From Dave Werner's 2006 Graduate Portfolio.
朝比奈みくるの大冒険 map 3 & 4 Asahina Mikuru no dai bôken 4th test video. This time it includes level 3 and level 4. Both are more or less completed (might add some stuff to make ...
Dreamweaver: Publishing Every great project in Dreamweaver deserves to be shared. Learn how to publish your site.
Pokemon Hack: Pokemon Purple Version (map screenshots) Ok, so these are some of the maps out of my hack. Please note that I am going to edit these, due to multiple errors, and the fact that they just look...
Multi-Input Touch Screen Interaction Technology http://www.FreeScienceLectures.com The usual touch screens usually allow just a single touch interaction. This new technology is designed to be usab...
Multi-Input Touch Screen Interaction Technology http://www.FreeScienceLectures.com The usual touch screens usually allow just a single touch interaction. This new technology is designed to be usab...
Reborn Multi Theft Auto Map Marathon Movie that shows you what maps you can play at our server, reborn public. With nice music on the back ground and funny segments it is a cool movie to...
(Xango) **FORBIDDEN TRUTH** Behind Millions! http://www.CreatorstoWealth.com Charlie Deleon Guerrero Xango (Xango) "Xango" Xango at http://www.CreatorstoWealth.com Skype me: Charliedg88 for supp...
Axel x Roxas ~ Globes and Maps I love this song. It's one of my favorites, and I always thought it suited Axel and Roxas, for some odd reason. Since the only music I can really do ...




Search This Site:










managing users to several databases thru asp

copytab performance issue

newpageindex error

find property function

porting msde database

filestream asp.net 2.0

authentication against root but users added to named application

extending datagrid with new/insert button

iframe in code behind

html <tags> in discussion threads???

how to use datetimepicker in webpage?

textbox, with calendarcontrol extender, validate date not before 2002

internet connection - vs 2005 beta 2

executescalar

ambiguous referenece

request querystring web service

sorting and paging event is firing twice, why?

roles?

urgent: composite control listbox viewstate problem

add-in modules for portal

xhtml ibuyspy modification!

gaining access to a panel from a command sub

web.config file

please help with membership problem. thanks

don't use global internet solutions as web hoster

how to build a website that contains multiple sub-project?

javascript documentation

which is better "code behind and aspx"

date

rss internal feed beginners question

 
All Times Are GMT