Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referring to pages in separate projects?
Message
From
10/11/2009 08:31:10
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
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:
01433980
Views:
31
>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.

Yes, you are right it will depend on how they are published to IIS. You should be able to set your default document for any folder as Default.aspx and then a navigation to that folder will give the default document. With two different projects are they going to be published to different URL's or just in different folders?
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform