473,799 Members | 3,061 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help needed with .NET navigation controls

I have an website named Website1 with subfolders Admin and User within
it that contain web pages.I am generating a tree view for the website
that should allow me to have child nodes that redirect me to public
websites such as "www.yahoo. com" or "www.google.com ". I created a
sitemap which looks as follows

<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microso ft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="/Home.aspx" title="Root" description="Ro ot">
<siteMapNode url="/Admin/EditUser.aspx" title="Edit User"
description="Ed it User" />
<siteMapNode url="/User/LoginFrom.aspx" title="LoginFro m"
description="Lo ginFrom" />
<siteMapNode url="www.google .com" title="Google"
description="Go ogle" />
<siteMapNode url="www.yahoo. com" title="Yahoo"
description="Ya hoo" />
</siteMapNode>
</siteMap>

But when the tree view get rendered,and i click on the child node
"Yahoo", it redirects me to the following link
"http://localhost/Website1/www.yahoo.com" instead of "www.yahoo. com" as
mentioned in the sitemap which is wrong.
Why does the treeview control append the virtual path of my website
i.e(http://localhost/Website1/)to each url i mention in the sitemap
when rendering the nodes????
How can i prevent it from doing so????

Dec 21 '06 #1
0 791

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

Similar topics

6
3063
by: Robert P. Stearns | last post by:
I have been trying to convert the following simple table into CSS. <table> <tr><th colspan=2>Header Area</th></tr> <tr><th>Navigation Area</th><th>Information Area</th></tr> <tr><th colspan=2>Footer Area</th></tr> </table> |=========================| | Header Area |
0
1042
by: Robert Weatherford | last post by:
My company is looking for several beta testers for a new VS .NET add-in product. It adds FrontPage-compatible features to VS like shared borders (layout), controls (navigation, substitution, hitcount, search, form submission, etc.), hyperlink management, and a GUI navigation editor tool window. You can create an "enhanced" ASP.NET web site from a template, or one based on an existing FrontPage web. A built-in converter can create ASP.NET...
1
1343
by: thomson | last post by:
Hi all, i have enabled Smart Navigation in the Page attribute, My Webform has several Webform controls, all applied with style sheets from an external file. Problem --------- When a postback event is occured due to a dropdownlist, all my styles applied to the entire form is dissappeared, this occured only after enabling the Smart Navigation,
4
4623
by: jon f kaminsky | last post by:
Hi- I've seen this problem discussed a jillion times but I cannot seem to implement any advice that makes it work. I am porting a large project from VB6 to .NET. The issue is using the combo box bound to a table as a lookup, drawing values from another table to populate the available selections. This all worked fine in VB6. I have distilled the problem down to a simple form drawing data from the Northwind database for a representative...
2
1990
by: Steve K | last post by:
I got a bit of a problem I like some help on. I'm designing an online training module for people that work in food processing plants. This is my target audience. These workers have little or no computer knowledge at all! And they also have outdated, old browsers, slow modems, old computers, etc. So I need to keep this as simple as possible and as browser compatible as possible. The client wants a navigation bar at the bottom of each...
3
1065
by: ljh | last post by:
Just learning......so please be gentle.... This is the idea (wrong as it may be)....... I'd like to code an app that has a treeview for a navigation element that opens panels (to it's right) based on which element in the treeview is selected. (Think Outlook - but single panes to the right instead of the usual double pane.) Thing is.....I want to be able to easily upgrade my "panels" when the user
2
2038
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...
0
271
by: Peter Newman | last post by:
vb.net 2003 Sql 2005 Ive been banging my head against a brick wall for the last day trying to figure out what im doing wrong I have a Dataset and a Form with text boxes that are bound to the dataset. If i edit a record how do i trap for the Dataset.HasChanges and update the datsbase as im doing it when i move from one record to the next. this causes untold greif. what i want to do is when clicking the btnNext get anychanges and give...
0
2434
by: tasmontique | last post by:
I hope someone can help me. I have an error that I can not seem to figure out. All I need is an unbound dropdownlist to navigate to urls withing the website. I have gotten as far as to populate field but I am stuck at this point. I am new to asp.net and this is my first website. Below is my code please help. Content controls have to be top-level controls in a content page or a nested master page that references a master page. ...
0
2848
by: richard12345 | last post by:
Hi Guys I have problem with site I am building. The sidebar with menu and other thinks is overlapping footer. The footer move with the content and but it dos it dos not move with the sidebar. Here is the website: holtz-realty And also the html file and css file. Anny help will by mostly appreciated. I did try everything I can think of. HTML:
0
9688
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10268
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
10247
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,...
1
7571
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
6809
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5593
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4146
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2941
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.