473,769 Members | 2,170 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SiteMap and Treeview issue

16 New Member
Good Morning,

I have two site map: "common.sitemap , loginuser.sitem ap", two master page:" common.master, loginuser.maste r",

in common.master, there is a Navigation control: TreeView
TreeView--- Sitemapdatasour ce---common.sitemap

in Loginuser.maste r, there is another Navigation control: TreeView

TreeView---sitemapdatasour ce---loginuser.sitem ap

when user does not login, show common.master page
After user login , show loginuser.maste r page.

My problems :

how can I set Sitemapdatasour ce to bind different siteMap? Because I alway get two treeView with same sitemap.

If I use Membership Class to set user login function, How can set up redirect page ?

Thanks
Apr 12 '08 #1
0 1312

Sign in to post your reply or Sign up for a free account.

Similar topics

6
1728
by: Alan Silver | last post by:
Hello, I want to show a treeview display of the contents of a sitemap file on another web site, chosen according to the currently logged on user. I know at run time the path to the sitemap file, but this cannot be determined at design time as it depends who logs in. Can I do this? I can't see how without writing my own provider, which seems like a lot of work for such a simple request?
0
1051
by: mfr | last post by:
My website uses a TreeView control, linked to the web.sitemap for navigation. I'm also using cookieless Sessions. Even though I'm storing relative paths in my Sitemap, the tree view is converting these to absolute paths. Therefore, everytime the user clicks on the tree, an absolute path is generated causing a new session to be started. I've got around this for now by handling the TreeView's DataBound event and converting each node's...
2
1640
by: Andy Sutorius via DotNetMonster.com | last post by:
I have a current website divided into 2 sections. Each section needs it's own sitemap and treeview. Is it possible to have 2 different sitemaps in a website? Everything that I have read says you create a web.sitemap file and stick it in your root and connect it to the treeview. I don't see anything about needing 2 web.sitemap files and 2 trees. Thanks for your help. -- Message posted via DotNetMonster.com
1
1411
by: Jules | last post by:
For a project I'm developing a custom ASP.NET 2.0 website. The case: - Forms authentication - Cookieless forms authentication and sessionstates is enabled via cookieless="AutoDetect". - On the MasterPage a TreeView-menu is linked to the Web.sitemap. The issue: When I browse this website with a browser that allows cookies,
3
2263
by: Ray Booysen | last post by:
Hi all I have a treeview bound to a sitemap. Once the user is logged in, I'm wanting the menu to expand to include additional items from a database while retaining the items in the sitemap. Is this possible. For example. My menu has an item called "Books" defined in the sitemap. Once the user logs in, I want sub menu-items to be created under books with all
0
1414
by: Demetri | last post by:
Hello, I have built a web application with authentication modeled after the following video by Scott Guthrie: http://download.microsoft.com/download/8/3/6/836dd5f8-fa92-499f-8219-0d326f13bf18/hilo_masterpages-nav_FINAL.wmv So I have a site map, a treeview control on a page that binds to the sitemap. I only want certain items on there to be available for certain roles.
1
2122
by: Tarun Mistry | last post by:
Hi guys, I want to create a sitemap (lets call it a map to avoid confusion with .NET sitemaps) for my website, as in, a single page that lists all of the other pages on my web site. e.g. http://mysite.com/sitemap/ I have used a sitemap to order my site (within a Web.sitemap file), is it possible to generate some sort of treeview of my site with desriptions based on this file? I dont want to use a treeview control as it looks too much...
1
2020
by: Robert Dufour | last post by:
In Vs2005 VB.net. How do you localize the title and the description of the pages in the web.sitemap file? For instance in the simple sitemap below <?xml version="1.0" encoding="utf-8" ?> <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="Default.aspx" title="Login" description="Login" >
0
1259
by: =?Utf-8?B?TWlrZQ==?= | last post by:
I am using a sitemap (ASP.net 2.0) along with a treeview control to create the navigation for my website. I want to be able to append to url in the site map a sessionID that I use to store member information. Example: Sitemap in web.config contains "home.aspx". When the treeview is rendered, I want the hyperlink to be "home.aspx?sessionID=8484". The sessionID is available in the codebehind and is unique for each user.
0
9579
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
9416
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
10199
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...
1
9981
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
9850
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8862
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...
0
5293
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...
1
3948
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
2810
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.