Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

About Sitemapdatasource

Good Morning,

I have two site map: "common.sitemap, loginuser.sitemap", two master page:" common.master, loginuser.master",

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

in Loginuser.master, there is another Navigation control: TreeView

TreeView--sitemapdatasource--loginuser.sitemap

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

My problems :

how can I set Sitemapdatasource 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
[748 byte] By [whygh] at [2007-11-11 8:49:00]