473,946 Members | 21,823 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SiteMap Example with Inline ASPX?


I have a .NET 2.0 web site that is made up of .aspx pages that are
done in the Clasic-ASP-looking "inline method".

I need to add a SiteMap Control to the pages in the site, and need to
see an example of how to do so, since there is no codebehind or
compiled thing to use.

Thanks.

Jul 19 '07 #1
3 3009
Check out:
http://quickstarts.asp.net/QuickStar....aspx#controls

--
David Wier
MVP/ASPInsider
http://aspnet101.com
http://iWritePro.com

"lucius" <lu****@newsgro up.nospamwrote in message
news:bt******** *************** *********@4ax.c om...
>
I have a .NET 2.0 web site that is made up of .aspx pages that are
done in the Clasic-ASP-looking "inline method".

I need to add a SiteMap Control to the pages in the site, and need to
see an example of how to do so, since there is no codebehind or
compiled thing to use.

Thanks.

Jul 19 '07 #2
With a web.sitemap file?

Drag a sitemappath on the page.
Drag a SiteMapDataSour ce on the page.
Configure the SiteMapPath to point to the SiteMapDataSour ce

chaching!

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)

*************** *************** *************** ***
Think outside the box!
*************** *************** *************** ***
"lucius" <lu****@newsgro up.nospamwrote in message
news:bt******** *************** *********@4ax.c om...
>
I have a .NET 2.0 web site that is made up of .aspx pages that are
done in the Clasic-ASP-looking "inline method".

I need to add a SiteMap Control to the pages in the site, and need to
see an example of how to do so, since there is no codebehind or
compiled thing to use.

Thanks.

Jul 20 '07 #3
Hi Lucius,

I'm not sure what do you mean "no codebehind", do you mean doing this all
with declarative code but no C# or VB.NET code? Then as David pointed out,
the example on ASP.NET 2.0 Getting Started should help you on this.

Please let me know if we've misunderstood anything.
Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 20 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2048
by: -D- | last post by:
I'm taking my first stab at using xml, so please bear with my novice questions and understanding of xml. I'm trying to create an xml file that holds all my website navigation. If I understand correctly, I can use xslt to create different menus from the xml file. What I'm trying to accomplish is to create a top menu bar, left navigation menu bar and sub header navigation bar. Then place the transformed xslt menus into user controls...
1
1188
by: Tina | last post by:
The following sitemap works fine on my dev box.... <?xml version="1.0" encoding="utf-8" ?> <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="/TinaProject/DotNetDevelopment.aspx" title="Home Page" description=""> <siteMapNode title="Propaganda" description="Tinas Project .Net Development"> <siteMapNode url="/TinaProject/Advantages.aspx" title="Why choose DBA?" description="" /> </siteMapNode>
0
1545
by: MS Development | last post by:
Hello Newgroup, I'm new to ASP.NET and its nice navigation features. I have now some problems with them which I hope can anyone solve. So here we go: The generel idea is I have a page like e. g. eBay. On the eBay site you have a "My eBay" Link in the top menu navigation. If you click on this link you enter the member section where you can manage all your details. The member section is further divided into sub sections like "Personal...
4
5791
by: shapper | last post by:
Hello, I have 2 questions about Asp.Net 2.0 web.sitemap: 1. Where can I find the list of all siteMapNode attributes? I looked eveywhere and couldn't find it. 2. I created a Web.sitemap and somehowI am getting an error:
4
3302
by: shapper | last post by:
Hello, I am trying to convert an Asp.Net 2.0 XML sitemap file to a Google's sitemap file. I am posting the formats of both files. 1. How can I do the conversion? 2. And can I use an .ashx Asp.Net file that when the .ashx file is
5
15095
by: Tim Mackey | last post by:
hi, i have put my web.sitemap in /App_Data so i can edit it programatically via a web admin page, inheriting the modify permissions from the App_Data folder etc. i was hoping the provider would simply persist any changes i made, but it doesn't happen. e.g. selected.ParentNode.ChildNodes.Remove(selected); throws a NotSupportedException "Collection is read-only"
2
2431
by: =?Utf-8?B?SmFtZXMgUGFnZQ==?= | last post by:
Does anyone know a way to allow duplicate URL's in a sitemap? Here's my problem: I'm designing (almost done) an online store with the following navigational structure: Home / Department / product listing / product detail. Each department and product listing have unique pages but the product detail
0
1126
by: Andy B | last post by:
I am using the default XML provider for the sitemap. I need the sitemap to display in different lists seperated based on node. Here is an example sitemap that I have. in web.sitemap (the list of main site nodes, I have this: <siteMapNode Title="Navigation"> <SiteMapNode SiteMapFile="~/EternityRecords.sitemap" /> <siteMapNode siteMapFile="~/InHim.sitemap" /> </siteMapNode>
0
1573
by: Dave Mathew | last post by:
I'm in the process of building some navigation for a website. I would like to use the capabilities of the sitemap in asp.net but have ran into some styling/usability issues in the past using just the default controls that consume the sitemap. I'd like to know of there is a correct/recommended way of doing the following: 1.. Build a horizontal navigation bar with a set of top level navigation 2. When a child page is selected the parent...
0
9981
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11566
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
11153
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11338
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9886
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8253
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6331
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4533
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3541
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.