Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 587
  • Last Modified:

Create HyperLink to ASP.NET page located in another solution

I need to link to a Web page in another solution. If the code for the current web page is in Solution Web_UI and I need to call a file in Solution Web_XX, how to I express that in the NavigateUrl?  (obviously "Web_XX.Edit.aspx" dosen't work).

 <asp:HyperLink ID="HyperLink8" runat="server" NavigateUrl="Web_XX.Edit.aspx"
                ToolTip="Allow the user to edit an existing order"
                Target="_blank">Entry Form</asp:HyperLink>
1 Solution
You can't - you could only reference it once it had been published to a website, or actually running under IIS, in which case you would have to use the full path and filename for the page you are trying to access
Agreed ... you'd need to change the Navigate URL to the full path... for example:
<asp:HyperLink ID="hl" runat="server" NavigateUrl="http://www.SomePage.com/Web_XX.Edit.aspx" />

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now