CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 8/15/2006 3:22:50 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 19 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
m_olia
Asp.Net User
Dynamically inserting nodes into sitemap8/15/2006 3:22:50 PM

0/0

Hi there ;

let me describe it :

1)i have a menu, which i don't know the elements, and to get nodes' information i need to connect to  sql db.but i don't see any souloution for it. By the way i have already studied that msdn article about static urls and dynamic ones, and how to edit querystrings in a frum example.

 

2)should there be only one root node for the sitemap?i mean, in my case i have several news contexts which are in the same level, and that level is root.

 

thanks in advance

lostlander
Asp.Net User
Re: Dynamically inserting nodes into sitemap8/16/2006 7:49:57 AM

0/0

1, Typically, you've got to implement a Sql sitemap provider of your own.

Here is an example :

The SQL Site Map Provider You've Been Waiting For

http://msdn.microsoft.com/msdnmag/issues/06/02/WickedCode/

2, You can set the root node to be only a text field( without any URL) or the page itself. like:

Root

      New1

      New2

      New3

Of course, maybe you wanna Hide the root node?! If so just set the datasource's property "ShowStartingNode" to FALSE.

But, in the situation of  SiteMapPath, you'd better follow this:

http://www.wintellect.com/Weblogs/CommentView,guid,588c7e5f-2db5-4a45-a55a-497f6266e7b6.aspx

Hope it helps! ^_^

Regards!

m_olia
Asp.Net User
Re: Dynamically inserting nodes into sitemap8/16/2006 8:25:34 PM

0/0

thank you, for answering .

well, i checked the urls, very handy, but as i studied, i figured out that i don't need such complicated SqlProvider.

thanks for that 'hiding root', but i wonder, how i can use that hiding root, for an XmlDataSource, cause i found it the best tool for my application.

 

thanks indeed

m_olia
Asp.Net User
Re: Dynamically inserting nodes into sitemap8/17/2006 2:49:42 PM

0/0

I got the answer by some googling, that is i place an XPath expression in my XmlDataSource for the menu.

Meaning that if i have :

<

navigator>

<

siteMapNode url="temp1.aspx" title="temp1" />

<siteMapNode url="temp2.aspx" title="temp2" />

</navigator>

 

i use:    navigator/siteMapNode  , for XPath ,  to get rid of the root(navigator).

thanks for the help

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


Free Download:

Books:
Pro C# 2008 and the .NET 3.5 Platform Authors: Andrew Troelsen, Pages: 1370, Published: 2007
Sams Teach Yourself Dreamweaver UltraDev 4 in 21 Days Authors: John Ray, Pages: 767, Published: 2000
Pro ASP.NET 3.5 in C# 2008 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1498, Published: 2007
Web Project Survival Guide: Real World Tips for Bringing Projects in on Time, on Budget' Authors: Stan Shinn, Pages: 208, Published: 2004
Professional XML Development with Apache Tools: Xerces, Xalan, FOP, Cocoon, Axis, Xindice Authors: Theodore W. Leung, Pages: 519, Published: 2003
Dreamweaver UltraDev 4: Dynamic Web Development Authors: James L. Mohler, Matthew E. Mooney, Pages: 319, Published: 2002
Dreamweaver 8 For Dummies: style pages with CSS, add multimedia elements and more Authors: Janine Warner, Pages: 425, Published: 2005
Dreamweaver MX: PHP Web Development Authors: Gareth Downes-Powell, Tim Green, Downes-Powell, Bruno Mairlot, Pages: 360, Published: 2002
Dreamweaver in a Nutshell: A Desktop Quick Reference Authors: Heather Williamson, Bruce A. Epstein, Pages: 470, Published: 2002

Web:
Dynamically inserting nodes into sitemap - ASP.NET Forums 2)should there be only one root node for the sitemap?i mean, in my case i have several news contexts which are in the same level, ...
Dotnet-Friends.com | Inserting a new Node to the Google SiteMap ... Inserting a new Node to the Google SiteMap Dynamically. Written by omerkamal on Dec 29, 2006 How to insert a new node in to existing Google Map XML file ...
Enhanced XMLSiteMapProvider with support for dynamic nodes ... Aug 14, 2008 ... These would then be injected into the sitemap when it is created. The beauty here was that you could add dynamic nodes to our sitemap, ...
Dynamic navigation elements for Web sites Dynamic navigation elements. You can use the Web Site Navigation drawer in the Palette to add ... Inserting a navigation trail · Inserting a site map ...
regular Javascript v. AJAX for dynamic content insertion — Three ... Should I have a separate page, containing the form fields written in plain HTML, that I dynamically insert into the form page via an AJAX call? ...
Adding dynamic nodes to ASP.NET site maps at runtime by deriving ... Mar 23, 2007 ... Read the sitemap file into an XmlDocument . Dynamically add new elements ..... I would suggest inserting a placeholder link in the sitemap, ...
Insert Doctype Node Dynamically - .NET XML Insert Doctype Node Dynamically. Get answers to your questions in our . ... Now you might use this to insert an arbitrary line into the ...
JavaScript World :: Sitemap JavaScript & Ajax :: Chapter 13: Making Your Pages Dynamic :: Putting the Current Date into a Web Page · JavaScript & Ajax :: Chapter 13: Making Your Pages ...
(WO/2008/031647) SYSTEM AND METHOD FOR DYNAMIC CONTEXT-SENSITIVE ... inserting (250) the subtree (31-35) of dynamic content nodes into a memory tree of content nodes representing content elements of a web application, ...
Dynamic HTML Editor 4.1 - Dynamic HTML Editor is a WYSIWYG WEB ... Mar 18, 2008 ... You can import pre-made HTML pages into Dynamic HTML Editor in a ... dynamic WEB pages and provides an option to insert code elements if ...




Search This Site:










dynamic themes

masterpages & treeview navigation

sitemap custom attribute use

tree view node colors

dynamically adding html to navigation code

sitemap provider for menu control

menus in asp.net(vb)

app themes request

css not applied in any pages with a theme

loading a master page and a user control

treeview only showing startingnode with custom sitemapprovider, but menu works correctly!

css master page/content

sitemap: find currentnode's parentnode - which is just under rootnode

masterpage problem.image in masterpage not shows in childpages

theme gallery

sharing themes across multiple sites/web projects

horizontal tabbed menu?

themes aint workin' here ..!

cannot add border to menu items using cssclass

menucontrol selected property

preserving form control selections when navigating from and back to page

background image on the master page

treeview & sitemapdatasource

problems with aspxlab menu builder

creating infinite level hierarchical sitemap

changing appearance of sitemap powered menu control

find value of root node when child node is selected

can a masterpage and a content page have different css's

skinid not working on my custom web controls

weird error--code 0, expected ')'

  Privacy | Contact Us
All Times Are GMT