Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referring to pages in separate projects?
Message
 
 
To
09/11/2009 22:23:39
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01433940
Message ID:
01433941
Views:
37
>I have a Visual Studio solution which has two Asp.Net Web Forms projects. Each project has a page called Default.aspx, as well as other pages too. So, how would I address a link on a page in Project1 so that it would point to a page in Project 2?
>
>For example, here is a link in Project 1 that points to a page in the same project, but how would I make a call point to a page in Project 2? How would I format the NavigateURL link?
>
>
><asp:HyperLink id="linkPartsList" NavigateUrl="~/PartsList.aspx" runat="server" class="menulink">Parts List</asp:HyperLink>
>
>
>I suppose the issue here is how the app is published to IIS server, right? I can't dump everything into the same folder, since some pages have the same name.

In the ASP.NET project I worked on there were Default.aspx in different subfolders and here is how they were referenced in the SiteMap
<siteMapNode url="default.aspx" title="Home" description="The Main Admin Page">
    <siteMapNode title="Administration" description="Manage users, view form data & web stats" roles="FCAdmin">
    <siteMapNode url="AddUsers/default.aspx" title="Manage User Accounts" description ="Manage Back-End Users" />
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform