Hi everyone
I have a web project in VS.Net and C#. My web site has a ASP Menu and it uses a SiteMap File.
in My site map i have some address Like : Home,Gallery,About us and ...
but I want to add a Link in menu that refer to another web site for example:
<siteMapNode url="http://www.MyWebSite2.com/Test.aspx" title="WebSite2"/>
when i try to add this address i don't see "WebSite2" in menu.
And when i write this code (without "Http://") :
<siteMapNode url="www.MyWebSite2.com/Test.aspx" title="WebSite2"/>
i can see WebSite2 but when i click on it i go to this page:
http://localhost:5025/www.mywebsite2.com/test.aspx
Meanwhile, I Have to say I,ve used securityTrimmingEnabled="true" in web config because my web site has some different users like Admin,Student and ... and i don't want every one can see all url in menu.
How can i add a Web address in my menu that is not in my web site directory?
Thanks